| Issue |
178246
|
| Summary |
[X86] checkSignTestSetCCCombine - handle SIGN_EXTEND_INREG / SHL patterns inside CMP(X,0) cases
|
| Labels |
good first issue,
backend:X86
|
| Assignees |
|
| Reporter |
RKSimon
|
Mentioned here https://github.com/llvm/llvm-project/pull/164946/changes#r2664612865 in the `is_negsubnormal_f80` test case
When expanding signbit tests to a regular TEST(X,C) eq/ne pattern, we currently we only peek through `CMP(SRA(X,Y),0) -> X` patterns.
But both SIGN_EXTEND_INREG(X) and SHL(X,Constant) patterns can be expanded as well with a suitable bitmask.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs