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
This commit is contained in:
Andrew Lenharth 2005-06-19 14:41:20 +00:00
parent 017fba9d0f
commit 94cd87f658

View File

@ -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: