diff options
author | Marek Olsak <marek.olsak@amd.com> | 2016-11-25 16:03:15 +0000 |
---|---|---|
committer | Marek Olsak <marek.olsak@amd.com> | 2016-11-25 16:03:15 +0000 |
commit | a45dae458d1d557860f51bd6ebea508bb8ef1a54 (patch) | |
tree | 8cde6984f5074dda97cd4c99dc7a8287d1f05be8 /llvm/test/CodeGen/AMDGPU/inline-constraints.ll | |
parent | ea848df84cbc65becf141417d25dd7c1521b103a (diff) | |
download | bcm5719-llvm-a45dae458d1d557860f51bd6ebea508bb8ef1a54.tar.gz bcm5719-llvm-a45dae458d1d557860f51bd6ebea508bb8ef1a54.zip |
Revert "AMDGPU: Make m0 unallocatable"
This reverts commit 124ad83dae04514f943902446520c859adee0e96.
llvm-svn: 287932
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/inline-constraints.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/inline-constraints.ll | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/inline-constraints.ll b/llvm/test/CodeGen/AMDGPU/inline-constraints.ll index 1bcbd14009c..3c0bb75a607 100644 --- a/llvm/test/CodeGen/AMDGPU/inline-constraints.ll +++ b/llvm/test/CodeGen/AMDGPU/inline-constraints.ll @@ -22,11 +22,10 @@ entry: ret void } -; FIXME: Should be able to avoid copy ; GCN-LABEL: {{^}}inline_sreg_constraint_m0: ; GCN: s_mov_b32 m0, -1 -; GCN: s_mov_b32 [[COPY_M0:s[0-9]+]], m0 -; GCN: ; use [[COPY_M0]] +; GCN-NOT: s_mov_b32 s{{[0-9]+}}, m0 +; GCN: ; use m0 define void @inline_sreg_constraint_m0() { %m0 = tail call i32 asm sideeffect "s_mov_b32 m0, -1", "={M0}"() tail call void asm sideeffect "; use $0", "s"(i32 %m0) |