[llvm] [DirectX] fix illegal behavior flag in module flags. (PR #96577)
Xiang Li via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 16:25:02 PDT 2024
================
@@ -0,0 +1,20 @@
+; RUN: opt -S -dxil-prepare < %s | FileCheck %s
+
+; Make sure behavior flag > 6 is fixed.
+; CHECK-NOT: !{i32 7, !"frame-pointer", i32 2}
----------------
python3kgae wrote:
For DXIL, it is legal to not have wchar_size and frame-pointer.
But remove Dwarf Version will lost information for DXIL.
https://github.com/llvm/llvm-project/pull/96577
More information about the llvm-commits
mailing list