[PATCH] D33946: [InlineCost] Find identical loads in the callee

Haicheng Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 08:34:29 PDT 2017


haicheng updated this revision to Diff 106645.
haicheng added a comment.

Add a check of EnableLoadElimination before calling disableLoadElimination() in disableSROA().


Repository:
  rL LLVM

https://reviews.llvm.org/D33946

Files:
  lib/Analysis/InlineCost.cpp
  test/Transforms/Inline/redundant-loads.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33946.106645.patch
Type: text/x-patch
Size: 7197 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170714/1ee83933/attachment.bin>


More information about the llvm-commits mailing list