BAD typeo which caused many testsuite failures last night. Note to self, do
authorChris Lattner <sabre@nondot.org>
Fri, 6 May 2005 17:13:16 +0000 (17:13 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 6 May 2005 17:13:16 +0000 (17:13 +0000)
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

index 4513f54aa8b22becc5810fcfe63ae9187e99141c..5ca9577c8c1f3ab74bbdceb3e37d7c59d46428eb 100644 (file)
@@ -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<CallInst>(TheCall) || !cast<CallInst>(TheCall)->isTailCall();
+    isa<CallInst>(TheCall) && !cast<CallInst>(TheCall)->isTailCall();
 
   BasicBlock *OrigBB = TheCall->getParent();
   Function *Caller = OrigBB->getParent();