[all-commits] [llvm/llvm-project] e0b522: [DirectX] Fix crash in DXILFlattenArrays for funct...

Justin Bogner via All-commits all-commits at lists.llvm.org
Mon Nov 18 13:56:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0b522dd94e48229d587a54a3103ba1c198b16a7
      https://github.com/llvm/llvm-project/commit/e0b522dd94e48229d587a54a3103ba1c198b16a7
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILFlattenArrays.cpp
    M llvm/test/CodeGen/DirectX/flatten-array.ll

  Log Message:
  -----------
  [DirectX] Fix crash in DXILFlattenArrays for function declarations (#116690)

We were skipping intrinsics here, but really we need to skip all
function declarations - if the function doesn't have a body there's
nothing to walk.



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