[PATCH] D10905: move DAGCombiner's allowableAlignment() helper function into the TLI

Sanjay Patel spatel at rotateright.com
Tue Jul 21 09:51:47 PDT 2015


spatel updated this revision to Diff 30265.
spatel added a comment.

Patch updated:

1. Changed implementation of allowsMemoryAccess() to check ABI alignment first and assume that ABI alignment is fast.
2. Added DataLayout as parameter because it's no longer available from TargetLowering.


http://reviews.llvm.org/D10905

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  lib/CodeGen/TargetLoweringBase.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10905.30265.patch
Type: text/x-patch
Size: 13046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150721/5752aa06/attachment.bin>


More information about the llvm-commits mailing list