[InstCombine] Preserve 'exact' in -(X >>u 31) -> (X >>s 31) fold
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 1 Oct 2019 17:50:09 +0000 (17:50 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 1 Oct 2019 17:50:09 +0000 (17:50 +0000)
commit65144149d033e06b9fe357e32ed5d2bcabdc8d02
treef1dbf7fe25e0bda91040f9cea382dd7a73c2a9dd
parentf273fc793a9a447c30e43ace16163250b9e04f78
[InstCombine] Preserve 'exact' in -(X >>u 31) -> (X >>s 31) fold

https://rise4fun.com/Alive/yR4

llvm-svn: 373363
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/test/Transforms/InstCombine/high-bit-signmask.ll