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

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 05:04:38 PDT 2017


yaxunl marked an inline comment as done.
yaxunl 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);
 
----------------
arsenm wrote:
> Declaring these as stack accesses with a specific offset is broken. These need to use the created frame index
Fixed.


https://reviews.llvm.org/D35361





More information about the llvm-commits mailing list