[PATCH] D61286: remove inalloca parameters in globalopt and simplify argpromotion

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 13:33:00 PDT 2019


inglorion updated this revision to Diff 197629.
inglorion retitled this revision from "Skip functions with inallocas in argpromotion" to "remove inalloca parameters in globalopt and simplify argpromotion".
inglorion edited the summary of this revision.
inglorion edited reviewers, added: efriedma; removed: eli.friedman.
inglorion removed a subscriber: hiraditya.
inglorion added a comment.

Remove inallocas in globalopt and simplify argpromotion by just
bailing on inallocas.

Tests verify that the optimizations we previously performed are still
performed when both globalopt and argpromotion run.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61286/new/

https://reviews.llvm.org/D61286

Files:
  llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
  llvm/lib/Transforms/IPO/GlobalOpt.cpp
  llvm/test/Transforms/ArgumentPromotion/inalloca.ll
  llvm/test/Transforms/GlobalOpt/fastcc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61286.197629.patch
Type: text/x-patch
Size: 10568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190501/7cb97db2/attachment-0001.bin>


More information about the llvm-commits mailing list