summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/R600/local-memory-two-objects.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-03-17 14:34:42 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-03-17 14:34:42 +0000
commitec8da3de019fa2b30968b1877acb56ec2ab368a7 (patch)
tree6dfdbab8da78ef333f963bf4f803e16b4a50f9ca /llvm/test/CodeGen/R600/local-memory-two-objects.ll
parent5345e420c44fb6147a9e4e127a087b0fcd015286 (diff)
downloadbcm5719-llvm-ec8da3de019fa2b30968b1877acb56ec2ab368a7.tar.gz
bcm5719-llvm-ec8da3de019fa2b30968b1877acb56ec2ab368a7.zip
Call EmitFunctionHeader just before EmitFunctionBody.
This avoids switching to .AMDGPU.config and back and hardcoding the section it switches back to. llvm-svn: 232479
Diffstat (limited to 'llvm/test/CodeGen/R600/local-memory-two-objects.ll')
-rw-r--r--llvm/test/CodeGen/R600/local-memory-two-objects.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/R600/local-memory-two-objects.ll b/llvm/test/CodeGen/R600/local-memory-two-objects.ll
index 75f8d549c87..caa4b19cd88 100644
--- a/llvm/test/CodeGen/R600/local-memory-two-objects.ll
+++ b/llvm/test/CodeGen/R600/local-memory-two-objects.ll
@@ -5,7 +5,6 @@
@local_memory_two_objects.local_mem0 = internal unnamed_addr addrspace(3) global [4 x i32] undef, align 4
@local_memory_two_objects.local_mem1 = internal unnamed_addr addrspace(3) global [4 x i32] undef, align 4
-; EG: {{^}}local_memory_two_objects:
; Check that the LDS size emitted correctly
; EG: .long 166120
@@ -13,6 +12,8 @@
; GCN: .long 47180
; GCN-NEXT: .long 38792
+; EG: {{^}}local_memory_two_objects:
+
; We would like to check the the lds writes are using different
; addresses, but due to variations in the scheduler, we can't do
; this consistently on evergreen GPUs.
OpenPOWER on IntegriCloud