[clang] [llvm] [DirectX] Remove trivially dead functions at linkage finalize (PR #106146)

Greg Roth via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 09:35:01 PDT 2024


================
@@ -0,0 +1,222 @@
+; RUN: opt -S -dxil-finalize-linkage -mtriple=dxil-unknown-shadermodel6.5-compute %s | FileCheck %s
+; RUN: llc %s --filetype=asm -o - | FileCheck %s
----------------
pow2clk wrote:

Yes, and this test expects them to. The exported functions start at line 137 and all of them have checks that they remain defined.

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


More information about the cfe-commits mailing list