[PATCH] D34723: [AMDGPU] truncate left shift

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 18:04:52 PDT 2017


rampitec updated this revision to Diff 104329.
rampitec marked 4 inline comments as done.
rampitec edited the summary of this revision.
rampitec added a comment.

Moved implementation into DAGCombiner and replaced existing DAGCombiner's optimization which was only capable of dealing with constant shift amounts.


https://reviews.llvm.org/D34723

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AMDGPU/alignbit-pat.ll
  test/CodeGen/AMDGPU/shift-i64-opts.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34723.104329.patch
Type: text/x-patch
Size: 7322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170628/6bd9a109/attachment.bin>


More information about the llvm-commits mailing list