diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-29 19:50:15 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-29 19:50:15 +0000 |
| commit | 354832e585723dad6bf2a60e74efe2f5c0368748 (patch) | |
| tree | 4f145f75fe6e2b7aa61489d603cb46af9cd23b0f /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
| parent | 44c35e80b165cbd193a39966b7ba434b676071c0 (diff) | |
| download | bcm5719-llvm-354832e585723dad6bf2a60e74efe2f5c0368748.tar.gz bcm5719-llvm-354832e585723dad6bf2a60e74efe2f5c0368748.zip | |
Propagate TBAA info in SelectionDAG::getIndexedLoad
Patch by Pranav Bhandarkar.
llvm-svn: 279998
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 5c0aa3930ca..6cefa820c20 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5146,7 +5146,8 @@ SDValue SelectionDAG::getIndexedLoad(SDValue OrigLoad, const SDLoc &dl, LD->getMemOperand()->getFlags() & ~MachineMemOperand::MOInvariant; return getLoad(AM, LD->getExtensionType(), OrigLoad.getValueType(), dl, LD->getChain(), Base, Offset, LD->getPointerInfo(), - LD->getMemoryVT(), LD->getAlignment(), MMOFlags); + LD->getMemoryVT(), LD->getAlignment(), MMOFlags, + LD->getAAInfo()); } SDValue SelectionDAG::getStore(SDValue Chain, const SDLoc &dl, SDValue Val, |

