aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-09-22 11:50:25 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-09-22 21:37:29 +0300
commitb38d897e802664034c7e6e4654328256ed370a61 (patch)
treee1292e468f28378accd63d4542c5c4439ca7128a /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parent4eeeb356fc41babf46797b062f74f978b818622b (diff)
downloadllvm-b38d897e802664034c7e6e4654328256ed370a61.zip
llvm-b38d897e802664034c7e6e4654328256ed370a61.tar.gz
llvm-b38d897e802664034c7e6e4654328256ed370a61.tar.bz2
[ConstantRange] binaryXor(): special-case binary complement case - the result is precise
Use the fact that `~X` is equivalent to `-1 - X`, which gives us fully-precise answer, and we only need to special-handle the wrapped case. This fires ~16k times for vanilla llvm test-suite + RawSpeed.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions