[llvm] r290456 - [PM] Clean up test case and comments a bit. NFC.

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 23 15:33:33 PST 2016


Author: chandlerc
Date: Fri Dec 23 17:33:32 2016
New Revision: 290456

URL: http://llvm.org/viewvc/llvm-project?rev=290456&view=rev
Log:
[PM] Clean up test case and comments a bit. NFC.

Modified:
    llvm/trunk/test/Transforms/Inline/always-inline.ll

Modified: llvm/trunk/test/Transforms/Inline/always-inline.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/Inline/always-inline.ll?rev=290456&r1=290455&r2=290456&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/Inline/always-inline.ll (original)
+++ llvm/trunk/test/Transforms/Inline/always-inline.ll Fri Dec 23 17:33:32 2016
@@ -5,8 +5,11 @@
 ; RUN: opt < %s -inline-threshold=-20000000 -always-inline -S | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-CALL
 ;
 ; The new pass manager doesn't re-use any threshold based infrastructure for
-; the always inliner, but test that we get the correct result.
-; RUN: opt < %s -passes=always-inline -S | FileCheck %s
+; the always inliner, but test that we get the correct result. The new PM
+; always inliner also doesn't support inlining call-site alwaysinline
+; annotations. It isn't clear that this is a reasonable use case for
+; 'alwaysinline'.
+; RUN: opt < %s -passes=always-inline -S | FileCheck %s --check-prefix=CHECK
 
 define i32 @inner1() alwaysinline {
   ret i32 1




More information about the llvm-commits mailing list