aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-06-19 14:41:20 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-06-19 14:41:20 +0000
commit94cd87f658e278102e6e10404c59991aeca2eedc (patch)
treec69a467eb429d26b2dde51d083fb8dd5294d2a78 /lib/Transforms
parent017fba9d0f2b2f261684bf52c0e36e44f5a10f61 (diff)
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
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Utils/Local.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/Utils/Local.cpp b/lib/Transforms/Utils/Local.cpp
index 0ed669643e..b355b08672 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: