[all-commits] [llvm/llvm-project] 66c069: [InstCombine] add tests for shift-trunc-shift; NFC
RotateRight via All-commits
all-commits at lists.llvm.org
Thu Sep 30 12:06:28 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66c069d7d626259d354c6fdac6b7d309b7963ed2
https://github.com/llvm/llvm-project/commit/66c069d7d626259d354c6fdac6b7d309b7963ed2
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-09-30 (Thu, 30 Sep 2021)
Changed paths:
M llvm/test/Transforms/InstCombine/shift-shift.ll
Log Message:
-----------
[InstCombine] add tests for shift-trunc-shift; NFC
Commit: 3fcb00df5dbfa63844db148bd6877d865a930400
https://github.com/llvm/llvm-project/commit/3fcb00df5dbfa63844db148bd6877d865a930400
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-09-30 (Thu, 30 Sep 2021)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Log Message:
-----------
[InstCombine] restrict shift-trunc-shift fold to opposite direction shifts
This is NFCI because the pattern with 2 left-shifts should get
folded independently by smaller folds.
The motivation is to refine this block to avoid infinite loops
seen with D110170.
Compare: https://github.com/llvm/llvm-project/compare/e31899c7080f...3fcb00df5dbf
More information about the All-commits
mailing list