We try to do this optimization if we can determine that testing for the truncated bits with an eq/ne predicate results in the same thing as testing the lower bits.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This is a pretty niche optimization, mostly to mitigate some regressions with a later patch, so it's AArch64 specific right now.
Nit: ICmpInst has a helper for this