[PATCH] D47816: [InstCombine] Don't sink instructions across inlined function call.

Hal Finkel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 6 06:29:22 PDT 2018


hfinkel added a comment.

I don't see how inlining is relevant here. Sinking across function call boundaries is generally also bad (because increasing register pressure across calls tends to increase spilling). I feel like the test you want here is to call TTI::isLoweredToCall.


Repository:
  rL LLVM

https://reviews.llvm.org/D47816





More information about the llvm-commits mailing list