[all-commits] [llvm/llvm-project] 688950: [AMDGPU] Preserve src2_modifiers in convertToThree...

Jay Foad via All-commits all-commits at lists.llvm.org
Tue Mar 1 06:50:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68895098d11f5c20969f3e14b5c11633399ee19e
      https://github.com/llvm/llvm-project/commit/68895098d11f5c20969f3e14b5c11633399ee19e
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2022-03-01 (Tue, 01 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/twoaddr-fma.mir
    M llvm/test/CodeGen/AMDGPU/twoaddr-mad.mir

  Log Message:
  -----------
  [AMDGPU] Preserve src2_modifiers in convertToThreeAddress

Found by code inspection. I don't think it makes a difference with
current codegen, because if any source modifiers were present we
would have selected mad/fma instead of mac/fmac in the first place.

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




More information about the All-commits mailing list