summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic/print-after.ll
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-02-23 23:08:34 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-02-23 23:08:34 +0000
commitbcc82c9a78b1690af80836093aa32ab8470cc8f4 (patch)
tree03f008a4d17d1cdd0d529637805bc26be2cac20b /llvm/test/CodeGen/Generic/print-after.ll
parent68ac9417801da389cb1e72afa8677b8b99e33e63 (diff)
downloadbcm5719-llvm-bcc82c9a78b1690af80836093aa32ab8470cc8f4.tar.gz
bcm5719-llvm-bcc82c9a78b1690af80836093aa32ab8470cc8f4.zip
[PowerPC] Disable shrink-wrapping when getting PC address through the LR
The instruction sequence used to get the address of the PC into a GPR requires that we clobber the link register. Doing so without having first saved it in the prologue leaves the function unable to return. Currently, this sequence is emitted into the entry block. To ensure the prologue is inserted before this sequence, disable shrink-wrapping. This fixes PR33547. Differential Revision: https://reviews.llvm.org/D43677 llvm-svn: 325972
Diffstat (limited to 'llvm/test/CodeGen/Generic/print-after.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud