diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-17 14:34:42 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-17 14:34:42 +0000 |
commit | ec8da3de019fa2b30968b1877acb56ec2ab368a7 (patch) | |
tree | 6dfdbab8da78ef333f963bf4f803e16b4a50f9ca /llvm/test/CodeGen/R600/local-memory-two-objects.ll | |
parent | 5345e420c44fb6147a9e4e127a087b0fcd015286 (diff) | |
download | bcm5719-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.ll | 3 |
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. |