mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
prevent va_arg from being hoisted from a loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c64b64a204
commit
38b5807bd9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user