[llvm] [DirectX] Add GlobalDCE pass after finalize linkage pass in DirectX backend (PR #151071)
Kaitlin Peng via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 7 10:17:34 PDT 2025
================
@@ -1,4 +1,4 @@
-; RUN: llc %s -mtriple=dxil-pc-shadermodel6.3-library --filetype=asm -o - | FileCheck %s
+; RUN: opt -S -passes='dxil-data-scalarization,dxil-flatten-arrays' -mtriple=dxil-unknown-shadermodel6.5-compute %s | FileCheck %s
----------------
kmpeng wrote:
I meant do you have thoughts on if it would be better to modify the linkages instead of changing to opt?
https://github.com/llvm/llvm-project/pull/151071
More information about the llvm-commits
mailing list