[all-commits] [llvm/llvm-project] 0b402e: [InstCombine] FoldShiftByConstant - remove unneces...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Tue Oct 6 05:21:14 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0b402e985e41e8c01768a0d026adbc25c2274744
https://github.com/llvm/llvm-project/commit/0b402e985e41e8c01768a0d026adbc25c2274744
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-10-06 (Tue, 06 Oct 2020)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Log Message:
-----------
[InstCombine] FoldShiftByConstant - remove unnecessary cast<>. NFC.
Op1 is already a Constant*
Commit: 21100f885d5bab4105ed2630b480b03d466f3da9
https://github.com/llvm/llvm-project/commit/21100f885d5bab4105ed2630b480b03d466f3da9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-10-06 (Tue, 06 Oct 2020)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Log Message:
-----------
[InstCombine] FoldShiftByConstant - use PatternMatch for logicalshift(trunc(shift(x,c1)),c2) fold. NFCI.
Compare: https://github.com/llvm/llvm-project/compare/7bbb65b0a431...21100f885d5b
More information about the All-commits
mailing list