diff options
author | Xiang Li <python3kgae@outlook.com> | 2024-07-12 15:46:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-12 18:46:22 -0400 |
commit | 76e37b1a08906620537440ebcd5162697079cba5 (patch) | |
tree | 99a971b949d0d73fc3998afb8893d47f1a79760b /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 0870afaaaccde5b4bae37abfc982207ffafb8332 (diff) | |
download | llvm-76e37b1a08906620537440ebcd5162697079cba5.zip llvm-76e37b1a08906620537440ebcd5162697079cba5.tar.gz llvm-76e37b1a08906620537440ebcd5162697079cba5.tar.bz2 |
[DirectX] fix illegal behavior flag in module flags. (#96577)
For DXIL which is based on llvm 3.7, max supported behavior flag for
module flags is 6.
The commit will check all module flags, for behavior flag > 6, change it
to 2 (Warning).
This is to fix the behavior flag part for #96912.
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions