summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-12-23 23:33:32 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-12-23 23:33:32 +0000
commitf32f63f22252f570a7b515c29cc20b14ebc8e07e (patch)
tree00669acedc1317c4812fda50a3595839aefdd570
parent6de0cd870b6a638ab2c65bd7ac9ac0d29b0093b1 (diff)
downloadbcm5719-llvm-f32f63f22252f570a7b515c29cc20b14ebc8e07e.tar.gz
bcm5719-llvm-f32f63f22252f570a7b515c29cc20b14ebc8e07e.zip
[PM] Clean up test case and comments a bit. NFC.
llvm-svn: 290456
-rw-r--r--llvm/test/Transforms/Inline/always-inline.ll7
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/test/Transforms/Inline/always-inline.ll b/llvm/test/Transforms/Inline/always-inline.ll
index 637fe63e1a7..f0d75c43602 100644
--- a/llvm/test/Transforms/Inline/always-inline.ll
+++ b/llvm/test/Transforms/Inline/always-inline.ll
@@ -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
OpenPOWER on IntegriCloud