When the 3rd argument to these intrinsics is zero, lowering them
to shift instructions produces poison values, since we end up with
shift amounts equal to the number of bits in the shifted value. This
means we can only lower these intrinsics if we can prove that the
3rd argument is not zero.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 24239 Build 24238: arc lint + arc unit
Event Timeline
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
3452 | Small nit in this comment and the commit title/message: posion -> poison? |
Comment Actions
LGTM besides formatting
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
3454 | Extra space before ( |
Small nit in this comment and the commit title/message: posion -> poison?