[PATCH] D73454: [AMDGPU] Handle frame index base operands in memOpsHaveSameBasePtr
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 06:49:19 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfcf5254fa792: [AMDGPU] Handle frame index base operands in memOpsHaveSameBasePtr (authored by foad).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73454/new/
https://reviews.llvm.org/D73454
Files:
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Index: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+++ llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
@@ -408,11 +408,6 @@
const MachineOperand &BaseOp1,
const MachineInstr &MI2,
const MachineOperand &BaseOp2) {
- // Support only base operands with base registers.
- // Note: this could be extended to support FI operands.
- if (!BaseOp1.isReg() || !BaseOp2.isReg())
- return false;
-
if (BaseOp1.isIdenticalTo(BaseOp2))
return true;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73454.240562.patch
Type: text/x-patch
Size: 653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200127/0aa944cf/attachment.bin>
More information about the llvm-commits
mailing list