There is a case where we save an and instruction because the shift
is the entire bitwidth. So take that into account when accounting the
number of instruction with/without the transform.
Details
Details
- Reviewers
majnemer spatel nikic craig.topper
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Its more precise at the very least. You think we are better of with the select in this case?
I'm fine dropping this if you think the even-fold isn't actually to our benefit.