[llvm] [DirectX] Add `all` lowering (PR #105787)
Farzon Lotfi via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 26 09:48:37 PDT 2024
================
@@ -0,0 +1,113 @@
+; RUN: opt -S -passes=dxil-intrinsic-expansion,dxil-op-lower -mtriple=dxil-pc-shadermodel6.0-library < %s | FileCheck %s
+
+; Make sure dxil operation function calls for all are generated for float and half.
+
+; CHECK-LABEL: all_bool
+; CHECK: icmp ne i1 %{{.*}}, false
+define noundef i1 @all_bool(i1 noundef %p0) {
+entry:
+ %p0.addr = alloca i8, align 1
----------------
farzonl wrote:
fixed
https://github.com/llvm/llvm-project/pull/105787
More information about the llvm-commits
mailing list