[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 07:46:55 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:

I see all the DXIL version 1.6 checks, where are you making the  SM version checks to replace lifetimes with a store undef?

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


More information about the llvm-commits mailing list