[all-commits] [llvm/llvm-project] dfde73: [DirectX] Fix crash on ShuffleVectorInst in DXILBi...

Xiang Li via All-commits all-commits at lists.llvm.org
Thu Aug 18 23:46:42 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dfde731df78a552a27db7e701c91215c244a6fe2
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
    A llvm/test/tools/dxil-dis/shuffle.ll

  Log Message:
  [DirectX] Fix crash on ShuffleVectorInst in DXILBitcodeWriter

Use onstantDataSequential::getElementType to allow vector type.

Use getShuffleMaskForBitcode to get ShuffleMask.

Use old format for alloca Align.

Reviewed By: beanz

Differential Revision: https://reviews.llvm.org/D132102

More information about the All-commits mailing list