summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
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
commitd4b103107eea9d524f8f979adf86604f68828f9b (patch)
treee721c3fdef8473914e38fec6cfea30df6d44d3b8 /llvm/lib/Transforms/Utils
parent717f1610f080297d21c8bf7a2c0b3283912b9aba (diff)
downloadbcm5719-llvm-d4b103107eea9d524f8f979adf86604f68828f9b.tar.gz
bcm5719-llvm-d4b103107eea9d524f8f979adf86604f68828f9b.zip
prevent DCE of vaarg intrinsics. This should take care of most regressions
llvm-svn: 22263
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp
index 0ed669643e5..b355b08672c 100644
--- a/llvm/lib/Transforms/Utils/Local.cpp
+++ b/llvm/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:
OpenPOWER on IntegriCloud