[llvm] [DirectX] Allow llvm lifetime intrinsics to pass on to the DirectX backend (PR #136622)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 21 15:31:08 PDT 2025


================
@@ -0,0 +1,20 @@
+; RUN: opt -S -passes='dxil-op-lower' -mtriple=dxil-pc-shadermodel6.3-library %s | FileCheck %s
+
+; CHECK-NOT: error: Unsupported intrinsic llvm.lifetime.start.p0 for DXIL lowering
+; CHECK-NOT: error: Unsupported intrinsic llvm.lifetime.end.p0 for DXIL lowering
----------------
farzonl wrote:

You are right. I wanted to distinguish from the current behavior but thats not needed.

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


More information about the llvm-commits mailing list