[PATCH] D50704: [Inline-cost] Teach cost function to account for accumulative code-size growth

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 14 08:10:37 PDT 2018


lebedev.ri added inline comments.


================
Comment at: test/Transforms/Inline/InlineGrowthCost.ll:1-2
+; RUN: opt -S -inline %s -o - | grep "tail call fastcc void @DoNotInline"
+; RUN: opt -S -inline %s -o - | not grep "tail call fastcc void @DoInline"
+define dso_local i8* @ShouldNotInlined(i8* returned %dest, i8* nocapture readonly %source, i32 %num) #0 {
----------------
Can't you just use `FileCheck`?


Repository:
  rL LLVM

https://reviews.llvm.org/D50704





More information about the llvm-commits mailing list