[PATCH] Add saving and restoring of r30 to the prologue and epilogue, respectively

hfinkel at anl.gov hfinkel at anl.gov
Wed Jan 7 22:32:10 PST 2015


REPOSITORY
  rL LLVM

================
Comment at: test/CodeGen/PowerPC/ppc32-pic.ll:18
@@ -16,1 +17,2 @@
 ; SMALL-BSS:         lwz {{[0-9]+}}, 0([[VREG]])
+; SMALL-BSS:         lwz 30, -8(1)
----------------
Also, you should probably make this line

  ; SMALL-BSS-DAG:         lwz {{[0-9]+}}, 0([[VREG]])
  ; SMALL-BSS-DAG:         lwz 30, -8(1)

because post-ra scheduling could legally interchange them.

http://reviews.llvm.org/D6876

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list