[PATCH] D37654: PPC: Don't select lxv/stxv for insufficiently aligned stack slots.

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 17:03:40 PDT 2017


hfinkel accepted this revision.
hfinkel added a comment.

LGTM.



================
Comment at: lib/Target/PowerPC/PPCISelDAGToDAG.cpp:3059
+  if (AddrOp.getOpcode() == ISD::ADD) {
+    // if op0 is a frame index that is under aligned, we can't do it either,
+    // because it is translated to r31 or r1 + slot + offset. We won't know the
----------------
if -> If


Repository:
  rL LLVM

https://reviews.llvm.org/D37654





More information about the llvm-commits mailing list