diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-19 14:41:20 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-19 14:41:20 +0000 |
commit | 94cd87f658e278102e6e10404c59991aeca2eedc (patch) | |
tree | c69a467eb429d26b2dde51d083fb8dd5294d2a78 /lib/Transforms/Utils/Local.cpp | |
parent | 017fba9d0f2b2f261684bf52c0e36e44f5a10f61 (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/Utils/Local.cpp')
-rw-r--r-- | lib/Transforms/Utils/Local.cpp | 2 |
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: |