[PATCH] D44585: [AMDGPU] Scalarize when scalar code cheaper than vector code.

Farhana Aleen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 26 12:59:11 PDT 2018


FarhanaAleen updated this revision to Diff 139839.
FarhanaAleen added a comment.

Moved the optimization inside DAGCombiner.


https://reviews.llvm.org/D44585

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AMDGPU/scalarize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44585.139839.patch
Type: text/x-patch
Size: 5891 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180326/c613b395/attachment.bin>


More information about the llvm-commits mailing list