diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2020-09-22 11:50:25 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2020-09-22 21:37:29 +0300 |
commit | b38d897e802664034c7e6e4654328256ed370a61 (patch) | |
tree | e1292e468f28378accd63d4542c5c4439ca7128a /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 4eeeb356fc41babf46797b062f74f978b818622b (diff) | |
download | llvm-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