[PATCH] D11060: AMDGPU/SI: Select mad patterns to v_mac_f32

Tom Stellard thomas.stellard at amd.com
Thu Jul 9 07:08:39 PDT 2015


tstellarAMD created this revision.
tstellarAMD added a reviewer: arsenm.
tstellarAMD added a subscriber: llvm-commits.

The two-address instruction pass will convert these back to v_mad_f32
if necessary.

http://reviews.llvm.org/D11060

Files:
  lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  lib/Target/AMDGPU/SIFoldOperands.cpp
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstrInfo.h
  lib/Target/AMDGPU/SIInstrInfo.td
  lib/Target/AMDGPU/SIInstructions.td
  lib/Target/AMDGPU/SIShrinkInstructions.cpp
  test/CodeGen/AMDGPU/fmuladd.ll
  test/CodeGen/AMDGPU/llvm.amdgpu.lrp.ll
  test/CodeGen/AMDGPU/mad-combine.ll
  test/CodeGen/AMDGPU/mad-sub.ll
  test/CodeGen/AMDGPU/madak.ll
  test/CodeGen/AMDGPU/madmk.ll
  test/CodeGen/AMDGPU/v_mac.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11060.29323.patch
Type: text/x-patch
Size: 34651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150709/9a3b375e/attachment.bin>


More information about the llvm-commits mailing list