aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-04-21 00:19:51 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-04-21 00:31:46 +0300
commit41b71f718b94c6f12bbaa670e97cabb070308ed2 (patch)
treecb85de45a9e467d604f96a7f71e48e5a8708a686 /llvm/lib/CodeGen/StackProtector.cpp
parent0ea464824aa1fd28f86465d1671c7fd956cc514b (diff)
downloadllvm-41b71f718b94c6f12bbaa670e97cabb070308ed2.zip
llvm-41b71f718b94c6f12bbaa670e97cabb070308ed2.tar.gz
llvm-41b71f718b94c6f12bbaa670e97cabb070308ed2.tar.bz2
[InstCombine] "Bypass" NUW trunc of lshr if we are going to sext the result (PR49543)
This is a more convoluted form of the same pattern "sext of NSW trunc", but in this case the operand of trunc was a right-shift, and the truncation chops off just the zero bits that were shifted-in.
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions