Related to PR50172.
Protects us against regressions after we will start doing cttz(zext(x)) -> zext(cttz(x)) transformation in the middle-end.
Paths
| Differential D101662
[X86] Promote 16-bit CTTZ_ZERO_UNDEF to 32-bit variant ClosedPublic Authored by xbolva00 on Apr 30 2021, 1:43 PM.
Details Summary Related to PR50172. Protects us against regressions after we will start doing cttz(zext(x)) -> zext(cttz(x)) transformation in the middle-end.
Diff Detail
Event Timeline
xbolva00 marked an inline comment as done. This revision is now accepted and ready to land.Apr 30 2021, 3:25 PM This revision was landed with ongoing or failed builds.Apr 30 2021, 3:42 PM Closed by commit rG2af95a527580: [X86] Promote 16-bit CTTZ_ZERO_UNDEF to 32-bit variant (authored by xbolva00). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 342028 llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/clz.ll
|
Make this an else instead of repeating the BMI check?