[clang] [llvm] [HLSL] [DXIL] Implement the `AddUint64` HLSL function and the `UAddc` DXIL op (PR #125319)
Farzon Lotfi via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 9 08:00:10 PST 2025
================
@@ -0,0 +1,40 @@
+; RUN: opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.3-library %s | FileCheck %s
+
+; CHECK: %dx.types.i32c = type { i32, i1 }
----------------
farzonl wrote:
We need a vec2, and vec4 test that uses the vector scalarizer pass. What you will find is we can't scalarize UAddc without adding it to `llvm/lib/Target/DirectX/DirectXTargetTransformInfo.cpp` `isTargetIntrinsicTriviallyScalarizable`.
https://github.com/llvm/llvm-project/pull/125319
More information about the cfe-commits
mailing list