[llvm-branch-commits] [llvm] [DirectX] Lower `@llvm.dx.handle.fromBinding` to DXIL ops (PR #104251)
Justin Bogner via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Aug 23 12:53:08 PDT 2024
https://github.com/bogner updated https://github.com/llvm/llvm-project/pull/104251
>From 6fd9721d89e117dda21501ff5c64e65559f10f67 Mon Sep 17 00:00:00 2001
From: Justin Bogner <mail at justinbogner.com>
Date: Fri, 23 Aug 2024 12:52:58 -0700
Subject: [PATCH] fix comment
Created using spr 1.3.5-bogner
---
llvm/test/CodeGen/DirectX/CreateHandle.ll | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/test/CodeGen/DirectX/CreateHandle.ll b/llvm/test/CodeGen/DirectX/CreateHandle.ll
index f0389b028e574f..13d59c6caf6c95 100644
--- a/llvm/test/CodeGen/DirectX/CreateHandle.ll
+++ b/llvm/test/CodeGen/DirectX/CreateHandle.ll
@@ -19,7 +19,7 @@ define void @test_buffers() {
; CHECK: call %dx.types.Handle @dx.op.createHandle(i32 57, i8 1, i32 0, i32 6, i1 false)
; Buffer<uint4> Buf[24] : register(t3, space5)
- ; Buffer<uint4> typed2 = Buf[5]
+ ; Buffer<uint4> typed2 = Buf[4]
; Note that the index below is 3 + 4 = 7
%typed2 = call target("dx.TypedBuffer", <4 x i32>, 0, 0, 0)
@llvm.dx.handle.fromBinding.tdx.TypedBuffer_i32_0_0_0t(
More information about the llvm-branch-commits
mailing list