summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-06-20 13:36:33 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-06-20 13:36:33 +0000
commitcf52eb2b99ac9e959c28fe21f8a7b944a5bc326d (patch)
tree09c9a2a03bdeaaafc0031b55a0db06b1939fdfe1 /llvm/lib/Transforms
parent2929266127e4eab39e971299a6a367596b2e6e3d (diff)
downloadbcm5719-llvm-cf52eb2b99ac9e959c28fe21f8a7b944a5bc326d.tar.gz
bcm5719-llvm-cf52eb2b99ac9e959c28fe21f8a7b944a5bc326d.zip
prevent va_arg from being hoisted from a loop
llvm-svn: 22265
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/LICM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp
index acd17e7fe1b..e9a853034a8 100644
--- a/llvm/lib/Transforms/Scalar/LICM.cpp
+++ b/llvm/lib/Transforms/Scalar/LICM.cpp
@@ -386,7 +386,7 @@ bool LICM::canSinkOrHoistInst(Instruction &I) {
return isa<BinaryOperator>(I) || isa<ShiftInst>(I) || isa<CastInst>(I) ||
isa<SelectInst>(I) ||
- isa<GetElementPtrInst>(I) || isa<VAArgInst>(I);
+ isa<GetElementPtrInst>(I);
}
/// isNotUsedInLoop - Return true if the only users of this instruction are
OpenPOWER on IntegriCloud