[llvm] 1a2a18f - [DXIL][Analysis] Update test to match comment. NFC (#105409)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 15:09:42 PDT 2024
Author: Justin Bogner
Date: 2024-08-20T15:09:38-07:00
New Revision: 1a2a18fdc00dc9fc8955107d16b48a476320e542
URL: https://github.com/llvm/llvm-project/commit/1a2a18fdc00dc9fc8955107d16b48a476320e542
DIFF: https://github.com/llvm/llvm-project/commit/1a2a18fdc00dc9fc8955107d16b48a476320e542.diff
LOG: [DXIL][Analysis] Update test to match comment. NFC (#105409)
The mismatch between the comment on this test and the test itself was
pointed out in
https://github.com/llvm/llvm-project/pull/100699#discussion_r1715835841,
but apparently I failed to actually commit the fix.
Added:
Modified:
llvm/test/Analysis/DXILResource/buffer-frombinding.ll
Removed:
################################################################################
diff --git a/llvm/test/Analysis/DXILResource/buffer-frombinding.ll b/llvm/test/Analysis/DXILResource/buffer-frombinding.ll
index 4349adb8ef8ebb..65802c6d1ff87a 100644
--- a/llvm/test/Analysis/DXILResource/buffer-frombinding.ll
+++ b/llvm/test/Analysis/DXILResource/buffer-frombinding.ll
@@ -46,14 +46,14 @@ define void @test_typedbuffer() {
; Buffer<uint4> Buf[24] : register(t3, space5)
%typed2 = call target("dx.TypedBuffer", <4 x i32>, 0, 0, 0)
@llvm.dx.handle.fromBinding.tdx.TypedBuffer_i32_0_0t(
- i32 2, i32 7, i32 24, i32 0, i1 false)
+ i32 5, i32 3, i32 24, i32 0, i1 false)
; CHECK: Binding for %typed2
; CHECK: Symbol: ptr undef
; CHECK: Name: ""
; CHECK: Binding:
; CHECK: Record ID: 0
- ; CHECK: Space: 2
- ; CHECK: Lower Bound: 7
+ ; CHECK: Space: 5
+ ; CHECK: Lower Bound: 3
; CHECK: Size: 24
; CHECK: Class: SRV
; CHECK: Kind: TypedBuffer
More information about the llvm-commits
mailing list