[PATCH] D41350: [DAGCombine] Improve ReduceLoadWidth for SRL

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 6 07:59:23 PDT 2018


samparker updated this revision to Diff 141344.
samparker added a comment.

The trunc_i64_mask_srl test has been added. This example showed that I had a typo in my patch, I was checking the user of N and not 'N0'! So I've also renamed some variables to reduce the chance of possible confusion again.


https://reviews.llvm.org/D41350

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/ARM/shift-combine.ll
  test/CodeGen/X86/h-registers-1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41350.141344.patch
Type: text/x-patch
Size: 9508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180406/dd4638b7/attachment.bin>


More information about the llvm-commits mailing list