[clang] [llvm] [HLSL] [DXIL] Implement the `AddUint64` HLSL function and the `UAddc` DXIL op (PR #125319)

Finn Plummer via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 09:30:05 PST 2025


================
@@ -0,0 +1,17 @@
+; RUN: not opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s 2>&1 | FileCheck %s
+
+; DXIL operation UAddc only supports i32. Other integer types are unsupported.
+; CHECK: in function uaddc_i16
----------------
inbelic wrote:

nit: I think LLVM ERROR will also be output here which we can use to be more explicit that this is an error

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


More information about the llvm-commits mailing list