[PATCH] D57220: Test fix for isViableInline remark message

Yevgeny Rouban via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 24 23:58:51 PST 2019


yrouban created this revision.
yrouban added reviewers: xbolva00, anemet.
Herald added a subscriber: cfe-commits.
yrouban added a parent revision: D57089: Provide reason messages for unviable inlining.

This patch adjusts the test remark message that is changed by D57089 <https://reviews.llvm.org/D57089>.


Repository:
  rC Clang

https://reviews.llvm.org/D57220

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: D57220.183486.patch
Type: text/x-patch
Size: 631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190125/77ec2a26/attachment-0001.bin>


More information about the cfe-commits mailing list