[PATCH] D55444: AMDGPU: Fix DPP combiner

Valery Pykhtin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 19 06:29:25 PST 2018


vpykhtin updated this revision to Diff 178878.
vpykhtin added a comment.

Fixed issue with identity values and other cases, f32/f16 identity values to be added later.

fma/mac instructions is disabled for now.

Test is fully reworked, added comments.

Connor, can you please take a look at the test in this update (first half) - I described different cases to combine there and possibly run the patch on radv test (the pass has to be switched on manually).

The pass is still disabled by default.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55444/new/

https://reviews.llvm.org/D55444

Files:
  include/llvm/CodeGen/TargetInstrInfo.h
  lib/Target/AMDGPU/GCNDPPCombine.cpp
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstrInfo.h
  test/CodeGen/AMDGPU/dpp_combine.ll
  test/CodeGen/AMDGPU/dpp_combine.mir
  test/CodeGen/AMDGPU/dpp_combine_subregs.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55444.178878.patch
Type: text/x-patch
Size: 48581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181219/1abf0dc4/attachment.bin>


More information about the llvm-commits mailing list