Revert "[ARM] Fix conditions for lowering to S[LR]I"
authorPetre-Ionut Tudor <petre-ionut.tudor@arm.com>
Mon, 20 Apr 2020 14:43:56 +0000 (15:43 +0100)
committerPetre-Ionut Tudor <petre-ionut.tudor@arm.com>
Mon, 20 Apr 2020 15:11:04 +0000 (16:11 +0100)
commit52474992b1343d7c2876ed9d176cd963476af4e5
tree5469eb3133a1ebaf6f23b4457e3a3fbf1de47fb1
parent6cb204eb6474713f7151087369e7b756e709863a
Revert "[ARM] Fix conditions for lowering to S[LR]I"

This reverts commit cabfcf840a9d15d92466c6774953d3aa399cde92.
The patch introduced another bug in the optimization.
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/arm64-sli-sri-opt.ll