diff options
author | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2013-09-22 01:40:24 +0000 |
---|---|---|
committer | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2013-09-22 01:40:24 +0000 |
commit | 7e7eb8ce695930193a7e6e6a6ad0e0d52d3d97c3 (patch) | |
tree | fe8b4131e6ad9c1d2a759b392db2a8754636684b /llvm/test/CodeGen/SPARC/constpool.ll | |
parent | a5e92556ac18ff0fde5000ee252d79fe2c4a7b00 (diff) | |
download | bcm5719-llvm-7e7eb8ce695930193a7e6e6a6ad0e0d52d3d97c3.tar.gz bcm5719-llvm-7e7eb8ce695930193a7e6e6a6ad0e0d52d3d97c3.zip |
[SPARC] Make functions with GLOBAL_OFFSET_TABLE access as non-leaf functions.
llvm-svn: 191160
Diffstat (limited to 'llvm/test/CodeGen/SPARC/constpool.ll')
-rw-r--r-- | llvm/test/CodeGen/SPARC/constpool.ll | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SPARC/constpool.ll b/llvm/test/CodeGen/SPARC/constpool.ll index d8b7b153ee0..b861676ce3e 100644 --- a/llvm/test/CodeGen/SPARC/constpool.ll +++ b/llvm/test/CodeGen/SPARC/constpool.ll @@ -39,8 +39,10 @@ entry: ; v8pic32: sethi %hi(.LCPI0_0), %[[R1:[gilo][0-7]]] ; v8pic32: add %[[R1]], %lo(.LCPI0_0), %[[Goffs:[gilo][0-7]]] ; v8pic32: ld [%[[GOT:[gilo][0-7]]]+%[[Goffs]]], %[[Gaddr:[gilo][0-7]]] -; v8pic32: jmp %o7+8 ; v8pic32: ld [%[[Gaddr]]], %f0 +; v8pic32: jmp %i7+8 +; v8pic32: restore + ; v9pic32: floatCP @@ -48,6 +50,8 @@ entry: ; v9pic32: sethi %hi(.LCPI0_0), %[[R1:[gilo][0-7]]] ; v9pic32: add %[[R1]], %lo(.LCPI0_0), %[[Goffs:[gilo][0-7]]] ; v9pic32: ldx [%[[GOT:[gilo][0-7]]]+%[[Goffs]]], %[[Gaddr:[gilo][0-7]]] -; v9pic32: jmp %o7+8 ; v9pic32: ld [%[[Gaddr]]], %f1 +; v9pic32: jmp %i7+8 +; v9pic32: restore + |