[all-commits] [llvm/llvm-project] a00443: [InstCombine] add/move tests for shift-of-constant...
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Mon May 30 12:20:45 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a0044389590afa609def60584d5e500a28d2f206
https://github.com/llvm/llvm-project/commit/a0044389590afa609def60584d5e500a28d2f206
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-05-30 (Mon, 30 May 2022)
Changed paths:
M llvm/test/Transforms/InstCombine/shift-shift.ll
M llvm/test/Transforms/InstCombine/shift.ll
Log Message:
-----------
[InstCombine] add/move tests for shift-of-constant-by-same-shift-by-constant; NFC
Commit: c5d942a4fb21fba404ceb504ed087c297a1af7c3
https://github.com/llvm/llvm-project/commit/c5d942a4fb21fba404ceb504ed087c297a1af7c3
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-05-30 (Mon, 30 May 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/shift-shift.ll
Log Message:
-----------
[InstCombine] remove unnecessary one-use check from (C2 << X) << C1 fold
The restriction goes back to:
16f18ed7b555bce51
...but the fold only replaces a shift with a shift, so that's not necessary.
Generalizing to other opcodes is planned as a follow-up.
Compare: https://github.com/llvm/llvm-project/compare/940e29086089...c5d942a4fb21
More information about the All-commits
mailing list