[llvm] [DirectX] Lower `llvm.lifetime.*` intrinsics to stores when DXIL version is lower than 1.6 (PR #147432)

Farzon Lotfi via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 8 09:46:27 PDT 2025


================
@@ -0,0 +1,30 @@
+; RUN: opt -S -passes='dxil-op-lower' -mtriple=dxil-pc-shadermodel6.3-library %s | FileCheck %s --check-prefixes=CHECK,CHECK-SM63
----------------
farzonl wrote:

The weird thing to me for this test is you are explicitly setting the `dx.valver` to 1.6 but then some how using sm 6.3  in the `mtriple` can override this? Just was odd to me.

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


More information about the llvm-commits mailing list