]> granicus.if.org Git - llvm/commit
Revert [InstCombine] Shift amount reassociation: shl-trunc-shl pattern
authorReid Kleckner <rnk@google.com>
Tue, 6 Aug 2019 20:32:07 +0000 (20:32 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 6 Aug 2019 20:32:07 +0000 (20:32 +0000)
commit2f0fa8be4dbd28cec092291e2ff3f53b7ea90da4
tree10ecc7d9f32945a200956636a1b04d7112cf0a68
parent49b912b85e2fca5246cc745c55a14d8fba545a02
Revert [InstCombine] Shift amount reassociation: shl-trunc-shl pattern

This reverts r368059 (git commit 0f957109761913c563922f1afd4ceb29ef21bbd0)

This caused Clang to assert while self-hosting and compiling
SystemZInstrInfo.cpp. Reduction is running.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368084 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/PatternMatch.h
lib/Transforms/InstCombine/InstCombineShifts.cpp
test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll