[llvm] r275343 - Fix copy/paste bug in r275340.
Michael Kuperstein via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 16:28:00 PDT 2016
Author: mkuper
Date: Wed Jul 13 18:28:00 2016
New Revision: 275343
URL: http://llvm.org/viewvc/llvm-project?rev=275343&view=rev
Log:
Fix copy/paste bug in r275340.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=275343&r1=275342&r2=275343&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Wed Jul 13 18:28:00 2016
@@ -3834,7 +3834,7 @@ void SelectionDAGBuilder::visitMaskedLoa
// Do not serialize masked loads of constant memory with anything.
bool AddToChain = !AA->pointsToConstantMemory(MemoryLocation(
PtrOperand, DAG.getDataLayout().getTypeStoreSize(I.getType()), AAInfo));
- SDValue InChain = AddToChain ? DAG.getRoot() : InChain = DAG.getEntryNode();
+ SDValue InChain = AddToChain ? DAG.getRoot() : DAG.getEntryNode();
MachineMemOperand *MMO =
DAG.getMachineFunction().
More information about the llvm-commits
mailing list