[PATCH] [AArch64] Lower sdiv x, pow2 using add + select + shift.

Chad Rosier mcrosier at codeaurora.org
Tue Jul 22 12:58:43 PDT 2014


Revised version with proposed BuildSDIVPow2 API.  Please have a look.

 Chad

http://reviews.llvm.org/D4438

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  test/CodeGen/AArch64/sdivpow2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4438.11774.patch
Type: text/x-patch
Size: 7160 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140722/54011464/attachment.bin>


More information about the llvm-commits mailing list