[llvm] [DirectX] Introduce the DXILResourceAccess pass (PR #116726)

Finn Plummer via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 11:40:59 PST 2024


================
@@ -0,0 +1,35 @@
+; RUN: opt -S -dxil-resource-access %s | FileCheck %s
+
+target triple = "dxil-pc-shadermodel6.6-compute"
+
+declare void @use_float4(<4 x float>)
+declare void @use_float(<4 x float>)
----------------
inbelic wrote:

```suggestion
declare void @use_float(float)
```

https://github.com/llvm/llvm-project/pull/116726


More information about the llvm-commits mailing list