[all-commits] [llvm/llvm-project] 627bb3: AMDGPU/GlobalISel: Avoid illegal vector exts for a...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Mar 9 20:42:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 627bb31a28a53ba2952c8d0fc3d7aadb0b76c58f
      https://github.com/llvm/llvm-project/commit/627bb31a28a53ba2952c8d0fc3d7aadb0b76c58f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/add.v2i16.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-add.v2s16.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Avoid illegal vector exts for add/sub/mul

When expanding scalar packed operations, we should not introduce
illegal vector casts LegalizerHelper introduces. We're not in a
legalizer context, and there's no RegBankSelect apply or legalize
worklist.




More information about the All-commits mailing list