projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c64b64a
)
prevent va_arg from being hoisted from a loop
author
Andrew Lenharth
<andrewl@lenharth.org>
Mon, 20 Jun 2005 13:36:33 +0000
(13:36 +0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Mon, 20 Jun 2005 13:36:33 +0000
(13:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22265
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LICM.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LICM.cpp
b/lib/Transforms/Scalar/LICM.cpp
index acd17e7fe1b2c59266fe5829baf94c7387417c25..e9a853034a80bc53f12217bd8ebe2501967eae88 100644
(file)
--- a/
lib/Transforms/Scalar/LICM.cpp
+++ b/
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