[PATCH] D19325: DAGCombine: (shl (or x, c1), c2) -> (or (shl x, c2), c1 << c2)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 07:48:40 PDT 2017


RKSimon updated this revision to Diff 113858.
RKSimon added a comment.

Refreshed test checks after https://reviews.llvm.org/rL312537 to make the diff clearer


Repository:
  rL LLVM

https://reviews.llvm.org/D19325

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AMDGPU/fneg-fabs.f16.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.ds.bpermute.ll
  test/CodeGen/AMDGPU/shl.ll
  test/CodeGen/X86/combine-shl.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19325.113858.patch
Type: text/x-patch
Size: 7563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170905/3f1edbe6/attachment.bin>


More information about the llvm-commits mailing list