[PATCH] D35361: CodeGen: Fix pointer info in expandUnalignedLoad

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 18:07:13 PDT 2017


arsenm added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/TargetLowering.cpp:3556
     Load = DAG.getExtLoad(LD->getExtensionType(), dl, VT, TF, StackBase,
-                          MachinePointerInfo(), LoadedVT);
+                          MachinePointerInfo::getStack(MF, 0), LoadedVT);
 
----------------
Declaring these as stack accesses with a specific offset is broken. These need to use the created frame index


https://reviews.llvm.org/D35361





More information about the llvm-commits mailing list