summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2018-07-11 23:26:35 +0000
committerEli Friedman <efriedma@codeaurora.org>2018-07-11 23:26:35 +0000
commit0319c28459203f4a0c8bb456d377357f752c6bc2 (patch)
treeaef19a19f86ded87eb383d66fff9a435b922fe59 /llvm/test/CodeGen/AMDGPU
parentb884ed186eb705c4c5b5ebfcc864f3cfc8794bbb (diff)
downloadbcm5719-llvm-0319c28459203f4a0c8bb456d377357f752c6bc2.tar.gz
bcm5719-llvm-0319c28459203f4a0c8bb456d377357f752c6bc2.zip
[CodeGen] Emit more precise AssertZext/AssertSext nodes.
This is marginally helpful for removing redundant extensions, and the code is easier to read, so it seems like an all-around win. In the new test i8-phi-ext.ll, we used to emit an AssertSext i8; now we emit an AssertZext i2, which allows the extension of the return value to be eliminated. Differential Revision: https://reviews.llvm.org/D49004 llvm-svn: 336868
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU')
-rw-r--r--llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll b/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
index 8fdcfe50cca..44a69185f43 100644
--- a/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
+++ b/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
@@ -140,7 +140,7 @@ define void @void_func_byval_struct_i8_i32_ptr_value({ i8, i32 } addrspace(5)* b
; GCN: s_and_saveexec_b64
; CI: v_add_i32_e32 v0, vcc, 4, [[ADD]]
-; CI: buffer_load_dword v1, v0, s[0:3], s4 offen{{$}}
+; CI: buffer_load_dword v1, v1, s[0:3], s4 offen offset:4{{$}}
; GFX9: v_add_u32_e32 v0, 4, [[ADD]]
; GFX9: buffer_load_dword v1, v{{[0-9]+}}, s[0:3], s4 offen offset:4{{$}}
OpenPOWER on IntegriCloud