mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-15 16:07:49 +00:00
Do not force asm's to be chained if they don't touch
memory and aren't volatile. This was interfering with good scheduling. llvm-svn: 69008
This commit is contained in:
parent
9f44d3148c
commit
b423c8f205
@ -5439,6 +5439,9 @@ void SelectionDAGLowering::visitInlineAsm(CallSite CS) {
|
||||
}
|
||||
|
||||
setValue(CS.getInstruction(), Val);
|
||||
// Don't need to use this as a chain in this case.
|
||||
if (!IA->hasSideEffects() && !hasMemory && IndirectStoresToEmit.empty())
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<std::pair<SDValue, Value*> > StoresToEmit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user