From 3799ed83b4cb80695a81294da6a7d18cf0884f5e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 6 May 2005 17:13:16 +0000 Subject: [PATCH] BAD typeo which caused many testsuite failures last night. Note to self, do not change code after testing it without retesting! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21741 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/InlineFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp index 4513f54aa8b..5ca9577c8c1 100644 --- a/lib/Transforms/Utils/InlineFunction.cpp +++ b/lib/Transforms/Utils/InlineFunction.cpp @@ -50,7 +50,7 @@ bool llvm::InlineFunction(CallSite CS) { // If the call to the callee is a non-tail call, we must clear the 'tail' // flags on any calls that we inline. bool MustClearTailCallFlags = - isa(TheCall) || !cast(TheCall)->isTailCall(); + isa(TheCall) && !cast(TheCall)->isTailCall(); BasicBlock *OrigBB = TheCall->getParent(); Function *Caller = OrigBB->getParent();