[all-commits] [llvm/llvm-project] 76e37b: [DirectX] fix illegal behavior flag in module flag...

Xiang Li via All-commits all-commits at lists.llvm.org
Fri Jul 12 15:46:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76e37b1a08906620537440ebcd5162697079cba5
      https://github.com/llvm/llvm-project/commit/76e37b1a08906620537440ebcd5162697079cba5
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILPrepare.cpp
    A llvm/test/CodeGen/DirectX/legalize-module-flags.ll
    A llvm/test/CodeGen/DirectX/legalize-module-flags2.ll
    M llvm/test/tools/dxil-dis/di-compile-unit.ll
    M llvm/test/tools/dxil-dis/di-subprogram.ll
    M llvm/test/tools/dxil-dis/di-subrange.ll

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list