https://github.com/llvm/llvm-project/issues/55272 reported an error which appears to be one regression:
The troubled instruction was introduced for both P7 and A2 as below link shows:
https://github.com/llvm/llvm-project/commit/31d2956510b8484373fe244547b4f811430a28ff
However it seems below commit missed the A2 part and introduced the regression:
https://github.com/llvm/llvm-project/commit/fb4e44c4e7daaaa1d2776e76d43566b0db264f30
Referring to below page, it seems A2 should have FeatureISA2_06 in its feature list:
https://en.wikipedia.org/wiki/IBM_A2
Thus I'm proposing this fix. Please help comment, thanks!