prevent DCE of vaarg intrinsics. This should take care of most regressions
authorAndrew Lenharth <andrewl@lenharth.org>
Sun, 19 Jun 2005 14:41:20 +0000 (14:41 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Sun, 19 Jun 2005 14:41:20 +0000 (14:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22263 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/Local.cpp

index 0ed669643e5734582411a51e9ad52dabc79d6895..b355b08672cd18152f0ef07941aa713777d778e9 100644 (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: