[PATCH] D76550: [Attributor] Improve the alignment of the loads

omar ahmed via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 21 12:15:50 PDT 2020


omarahmed created this revision.
omarahmed added reviewers: jdoerfert, uenoku, sstefan1, baziotis.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
omarahmed retitled this revision from "Improve the alignment of the loads" to "[Attributor] Improve the alignment of the loads".

This patch introduces an improvement in the Alignment of the loads generated in createReplacementValues() by querying AAAlign attribute for the best Alignment for the base.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76550

Files:
  llvm/lib/Transforms/IPO/Attributor.cpp
  llvm/test/Transforms/Attributor/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/alignment.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/attrs.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/basictest.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/control-flow2.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/inalloca.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll
  llvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76550.251856.patch
Type: text/x-patch
Size: 19756 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200321/d9128bf1/attachment.bin>


More information about the llvm-commits mailing list