[llvm] 2680e88 - AMDGPU: Fix broken check lines
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 2 15:52:59 PDT 2020
Author: Matt Arsenault
Date: 2020-04-02T18:52:49-04:00
New Revision: 2680e8806958a60ca2f1bedac48f795c0b79a159
URL: https://github.com/llvm/llvm-project/commit/2680e8806958a60ca2f1bedac48f795c0b79a159
DIFF: https://github.com/llvm/llvm-project/commit/2680e8806958a60ca2f1bedac48f795c0b79a159.diff
LOG: AMDGPU: Fix broken check lines
Added:
Modified:
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.buffer.load.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.buffer.load.ll b/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.buffer.load.ll
index f35bb54e955c..69ee09661e13 100644
--- a/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.buffer.load.ll
+++ b/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.buffer.load.ll
@@ -357,9 +357,9 @@ define amdgpu_ps i32 @s_buffer_load_imm_neg_bit20(<4 x i32> inreg %desc) {
; SI: s_mov_b32 [[K:s[0-9]+]], 0x80000{{$}}
; SI: s_buffer_load_dword s0, s[0:3], [[K]]{{$}}
-; CI s_buffer_load_dword s0, s[0:3], 0x20000{{$}}
+; CI: s_buffer_load_dword s0, s[0:3], 0x20000{{$}}
-; VI s_buffer_load_dword s0, s[0:3], 0x20000{{$}}
+; VI: s_buffer_load_dword s0, s[0:3], 0x80000{{$}}
define amdgpu_ps i32 @s_buffer_load_imm_bit19(<4 x i32> inreg %desc) {
%load = call i32 @llvm.amdgcn.s.buffer.load.i32(<4 x i32> %desc, i32 524288, i32 0)
ret i32 %load
@@ -369,9 +369,10 @@ define amdgpu_ps i32 @s_buffer_load_imm_bit19(<4 x i32> inreg %desc) {
; SI: s_mov_b32 [[K:s[0-9]+]], 0xfff80000{{$}}
; SI: s_buffer_load_dword s0, s[0:3], [[K]]{{$}}
-; CI s_buffer_load_dword s0, s[0:3], 0x20000{{$}}
+; CI: s_buffer_load_dword s0, s[0:3], 0x3ffe0000{{$}}
-; VI s_buffer_load_dword s0, s[0:3], 0x20000{{$}}
+; VI: s_mov_b32 [[K:s[0-9]+]], 0xfff80000{{$}}
+; VI: s_buffer_load_dword s0, s[0:3], [[K]]{{$}}
define amdgpu_ps i32 @s_buffer_load_imm_neg_bit19(<4 x i32> inreg %desc) {
%load = call i32 @llvm.amdgcn.s.buffer.load.i32(<4 x i32> %desc, i32 -524288, i32 0)
ret i32 %load
More information about the llvm-commits
mailing list