[PATCH] D14584: [CodeGenPrepare] Create more extloads and fewer ands

Geoff Berry via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 12:58:50 PST 2015


gberry created this revision.
gberry added reviewers: mcrosier, qcolombet, ab.
gberry added a subscriber: llvm-commits.

Add and instructions immediately after loads that only have their low
bits used, assuming that the (and (load x) c) will be matched as a
extload and the ands/truncs fed by the extload will be removed by isel.

http://reviews.llvm.org/D14584

Files:
  lib/CodeGen/CodeGenPrepare.cpp
  test/CodeGen/AArch64/free-zext.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14584.39962.patch
Type: text/x-patch
Size: 6997 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151111/da6bfb74/attachment.bin>


More information about the llvm-commits mailing list