[all-commits] [llvm/llvm-project] 6eef38: [InstCombine] Test comparison of abs with int min ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Sep 8 11:25:17 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6eef387ddd863db1afe044e208bbff4366d5dac2
https://github.com/llvm/llvm-project/commit/6eef387ddd863db1afe044e208bbff4366d5dac2
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-09-08 (Tue, 08 Sep 2020)
Changed paths:
M llvm/test/Transforms/InstCombine/abs-intrinsic.ll
Log Message:
-----------
[InstCombine] Test comparison of abs with int min (NFC)
Commit: f6b87da0c73fcf7f8f051151ce62d2e07a466a8e
https://github.com/llvm/llvm-project/commit/f6b87da0c73fcf7f8f051151ce62d2e07a466a8e
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-09-08 (Tue, 08 Sep 2020)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/abs-intrinsic.ll
Log Message:
-----------
[InstCombine] Fold comparison of abs with int min
If the abs is poisoning, this is already folded to true/false.
For non-poisoning abs, we can convert this to a comparison with
the operand.
Compare: https://github.com/llvm/llvm-project/compare/e97f3b1b4327...f6b87da0c73f
More information about the All-commits
mailing list