From: Andrew Lenharth Date: Sun, 19 Jun 2005 14:41:20 +0000 (+0000) Subject: prevent DCE of vaarg intrinsics. This should take care of most regressions X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=94cd87f658e278102e6e10404c59991aeca2eedc;p=oota-llvm.git prevent DCE of vaarg intrinsics. This should take care of most regressions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22263 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp index 0ed669643e5..b355b08672c 100644 --- a/lib/Transforms/Utils/Local.cpp +++ b/lib/Transforms/Utils/Local.cpp @@ -381,8 +381,6 @@ bool llvm::isInstructionTriviallyDead(Instruction *I) { if (Function *F = CI->getCalledFunction()) switch (F->getIntrinsicID()) { default: break; - case Intrinsic::vastart: - case Intrinsic::vacopy: case Intrinsic::returnaddress: case Intrinsic::frameaddress: case Intrinsic::isunordered: