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:
38b5807
)
prevent GCSE from forwarding stores to loads around vaarg. This is uggly, and I...
author
Andrew Lenharth
<andrewl@lenharth.org>
Mon, 20 Jun 2005 15:02:05 +0000
(15:02 +0000)
committer
Andrew Lenharth
<andrewl@lenharth.org>
Mon, 20 Jun 2005 15:02:05 +0000
(15:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22266
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/LoadValueNumbering.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/LoadValueNumbering.cpp
b/lib/Analysis/LoadValueNumbering.cpp
index 16e79a1286f8b66a074ba5d8f4d3df6e87cf3a13..721fe47da882400841b35193253c6c30ddea5d5d 100644
(file)
--- a/
lib/Analysis/LoadValueNumbering.cpp
+++ b/
lib/Analysis/LoadValueNumbering.cpp
@@
-328,6
+328,10
@@
void LoadVN::getEqualNumberNodes(Value *V,
LoadInvalidatedInBBBefore = true;
break;
}
+ if (dyn_cast<VAArgInst>(I)) {
+ LoadInvalidatedInBBBefore = true;
+ break;
+ }
}
// Figure out if the load is invalidated between the load and the exit of the