diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-04-21 00:19:51 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-04-21 00:31:46 +0300 |
commit | 41b71f718b94c6f12bbaa670e97cabb070308ed2 (patch) | |
tree | cb85de45a9e467d604f96a7f71e48e5a8708a686 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 0ea464824aa1fd28f86465d1671c7fd956cc514b (diff) | |
download | llvm-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