[clang] [llvm] [DirectX] Implement Shader Flags Analysis for ResMayNotAlias (PR #131070)
Finn Plummer via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 17 14:22:23 PDT 2025
================
@@ -0,0 +1,39 @@
+; RUN: opt -S --passes="print-dx-shader-flags" 2>&1 %s | FileCheck %s
+
+target triple = "dxil-pc-shadermodel6.8-library"
+
+; CHECK: Combined Shader Flags for Module
+; CHECK-NEXT: Shader Flags Value: 0x200000010
----------------
inbelic wrote:
It seems the `ResMayNotAlias` flag is what we are checking and is the `2` value. What is the `1` value for?
https://github.com/llvm/llvm-project/pull/131070
More information about the llvm-commits
mailing list