diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-20 13:36:33 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-06-20 13:36:33 +0000 |
commit | cf52eb2b99ac9e959c28fe21f8a7b944a5bc326d (patch) | |
tree | 09c9a2a03bdeaaafc0031b55a0db06b1939fdfe1 /llvm/lib/Transforms/Scalar/LICM.cpp | |
parent | 2929266127e4eab39e971299a6a367596b2e6e3d (diff) | |
download | bcm5719-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/Scalar/LICM.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LICM.cpp | 2 |
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 |