The PIC additions didn't update the prologue and epilogue code to save and restore r30 (PIC base register). This does that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| test/CodeGen/PowerPC/ppc32-pic.ll | ||
|---|---|---|
| 18 ↗ | (On Diff #17884) | 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. |