[all-commits] [llvm/llvm-project] 595ffc: [InstCombine] add tests for add with sub-from-cons...
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Mon Feb 20 11:06:08 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 595ffc56be70d42abeaeac3ee1c47c6eb6c894b3
https://github.com/llvm/llvm-project/commit/595ffc56be70d42abeaeac3ee1c47c6eb6c894b3
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2023-02-20 (Mon, 20 Feb 2023)
Changed paths:
M llvm/test/Transforms/InstCombine/addsub-constant-folding.ll
Log Message:
-----------
[InstCombine] add tests for add with sub-from-constant operand; NFC
Commit: f49d19d50238feabee5364d55db6c40f608530bd
https://github.com/llvm/llvm-project/commit/f49d19d50238feabee5364d55db6c40f608530bd
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2023-02-20 (Mon, 20 Feb 2023)
Changed paths:
M llvm/test/Transforms/InstCombine/div.ll
Log Message:
-----------
[InstCombine] add tests for div with muladd operand; NFC
issue #60754
Commit: 4966d8ebe1bbe5bd6a4d28b36efdbe6dd1659b3f
https://github.com/llvm/llvm-project/commit/4966d8ebe1bbe5bd6a4d28b36efdbe6dd1659b3f
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2023-02-20 (Mon, 20 Feb 2023)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/div.ll
Log Message:
-----------
[InstCombine] distribute div over add with matching mul-by-constant
((X * C2) + C1) / C2 --> X + C1/C2
https://alive2.llvm.org/ce/z/P66io8
https://alive2.llvm.org/ce/z/vghegw
This could be made more general -- the multiplier could be a
multiple of the divisor -- but this is the pattern from
issue #60754.
Commit: 36014a71ebd03fba5ba95c7ac05500240436cad4
https://github.com/llvm/llvm-project/commit/36014a71ebd03fba5ba95c7ac05500240436cad4
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2023-02-20 (Mon, 20 Feb 2023)
Changed paths:
M llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll
Log Message:
-----------
[InstCombine] auto-generate test CHECK lines; NFC
The check line was not enabled until bfb1559fbe2fb656f3,
and then it was excessive, so the test started failing.
Compare: https://github.com/llvm/llvm-project/compare/bfb1559fbe2f...36014a71ebd0
More information about the All-commits
mailing list