[llvm] [DirectX] Set whole-module flags prior to evaluating per-function flags (PR #139967)

Deric C. via llvm-commits llvm-commits at lists.llvm.org
Thu May 15 10:36:59 PDT 2025


================
@@ -8,7 +8,7 @@
 ; CHECK-NEXT: ;       Disable shader optimizations
 
 ; CHECK: ; Shader Flags for Module Functions
-; CHECK: ; Function main : 0x00000000
+; CHECK: ; Function main : 0x00000001
----------------
Icohedron wrote:

The Disable Optimizations flag still exists, so it does still need to be tested.
In this case, the flag is now set on each function instead of only for the whole module, so the tests have been modified to reflect that.

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


More information about the llvm-commits mailing list