[llvm] r324199 - [PartialInliner] Update test (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 4 10:40:24 PST 2018
Author: fhahn
Date: Sun Feb 4 10:40:24 2018
New Revision: 324199
URL: http://llvm.org/viewvc/llvm-project?rev=324199&view=rev
Log:
[PartialInliner] Update test (NFC).
Modified:
llvm/trunk/test/Transforms/CodeExtractor/PartialInlineVarArg.ll
Modified: llvm/trunk/test/Transforms/CodeExtractor/PartialInlineVarArg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/CodeExtractor/PartialInlineVarArg.ll?rev=324199&r1=324198&r2=324199&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/CodeExtractor/PartialInlineVarArg.ll (original)
+++ llvm/trunk/test/Transforms/CodeExtractor/PartialInlineVarArg.ll Sun Feb 4 10:40:24 2018
@@ -36,7 +36,7 @@ bb:
}
; CHECK-LABEL: @caller1
; CHECK: codeRepl.i:
-; CHECK-NEXT: call void (i32, i8**, i32, ...) @vararg.2_bb1(i32 %stat1.i, i8** %vargs.i, i32 %arg)
+; CHECK-NEXT: call void (i32, i8**, i32, ...) @vararg.3_bb1(i32 %stat1.i, i8** %vargs.i, i32 %arg)
define i32 @caller2(i32 %arg, float %arg2) {
bb:
@@ -46,7 +46,7 @@ bb:
; CHECK-LABEL: @caller2
; CHECK: codeRepl.i:
-; CHECK-NEXT: call void (i32, i8**, i32, ...) @vararg.2_bb1(i32 %stat1.i, i8** %vargs.i, i32 %arg, i32 10, float %arg2)
+; CHECK-NEXT: call void (i32, i8**, i32, ...) @vararg.3_bb1(i32 %stat1.i, i8** %vargs.i, i32 %arg, i32 10, float %arg2)
; Test case to check that we do not extract a vararg function, if va_end is in
; a block that is not outlined.
@@ -98,9 +98,10 @@ cleanup:
define i32* @caller_with_signext(i32* %foo) {
entry:
- %call1 = tail call signext i32 (i32*, ...) @varargs2(i32* %foo, i32 signext 8)
+ %call1 = tail call signext i32 (i32*, ...) @vararg2(i32* %foo, i32 signext 8)
unreachable
}
+
; CHECK-LABEL: @caller_with_signext
; CHECK: codeRepl.i:
-; CHECK-NEXT: call void (i32*, ...) @callee.1_cond.end(i32* %foo, i32 signext 8)
+; CHECK-NEXT: call void (i32*, ...) @vararg2.1_cond.end(i32* %foo, i32 signext 8)
More information about the llvm-commits
mailing list