mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 20:34:38 +00:00
prevent GCSE from forwarding stores to loads around vaarg. This is uggly, and I am trying to fix the AliasInfo, as it should catch the problem instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22266 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
38b5807bd9
commit
e3e1739b7d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user