[PATCH] D41628: [DAGCombine] Fix for PR35763

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 29 04:52:17 PST 2017


samparker created this revision.
samparker added reviewers: dbabokin, craig.topper.
Herald added a subscriber: javed.absar.

While searching for loads to be narrowed, equal sized loads were not added to the list, resulting in anyext loads not being converted to zext loads.

      

https://bugs.llvm.org/show_bug.cgi?id=35763


https://reviews.llvm.org/D41628

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/ARM/and-load-combine.ll
  test/CodeGen/X86/pr35763.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41628.128329.patch
Type: text/x-patch
Size: 5411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171229/d63c339e/attachment.bin>


More information about the llvm-commits mailing list