If an alignment is a power of two, we can avoid integer division,
and it is very likely to happen.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 225 Build 225: arc lint + arc unit
Event Timeline
Comment Actions
Not sure I really like this one for two reasons.
- I profiled llvm/lld to death and this pretty much never shows up in a profile.
- I think after inlining instcombine/instsimplify should handle this case.
Comment Actions
In other words, I propose abandoning this one and opening an llvm bug to get this fixed (if you still care).
Comment Actions
No problem at all.
I opened https://llvm.org/bugs/show_bug.cgi?id=31368 to keep track of the missing transform