[PATCH] D57089: Provide reason messages for unviable inlining

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 1 02:44:33 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rC352849: Provide reason messages for unviable inlining (authored by yrouban, committed by ).
Herald added a project: clang.

Changed prior to commit:
  https://reviews.llvm.org/D57089?vs=183806&id=184708#toc

Repository:
  rC Clang

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

https://reviews.llvm.org/D57089

Files:
  test/Frontend/optimization-remark-with-hotness.c


Index: test/Frontend/optimization-remark-with-hotness.c
===================================================================
--- test/Frontend/optimization-remark-with-hotness.c
+++ test/Frontend/optimization-remark-with-hotness.c
@@ -66,7 +66,7 @@
 
 int main(int argc, const char *argv[]) {
   for (int i = 0; i < 30; i++)
-    // expected-remark at +1 {{bar not inlined into main because it should never be inlined (cost=never): always inliner (hotness:}}
+    // expected-remark at +1 {{bar not inlined into main because it should never be inlined (cost=never): no alwaysinline attribute (hotness:}}
     bar(argc);
   return sum;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57089.184708.patch
Type: text/x-patch
Size: 631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190201/a14e3c3e/attachment.bin>


More information about the llvm-commits mailing list