mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[Hexagon] Treat CFI as solo instructions
llvm-svn: 235516
This commit is contained in:
parent
8118ca34c7
commit
cccda0c298
@ -950,6 +950,9 @@ bool HexagonPacketizerList::ignorePseudoInstruction(MachineInstr *MI,
|
|||||||
if (MI->isDebugValue())
|
if (MI->isDebugValue())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
if (MI->isCFIInstruction())
|
||||||
|
return false;
|
||||||
|
|
||||||
// We must print out inline assembly
|
// We must print out inline assembly
|
||||||
if (MI->isInlineAsm())
|
if (MI->isInlineAsm())
|
||||||
return false;
|
return false;
|
||||||
@ -967,11 +970,10 @@ bool HexagonPacketizerList::ignorePseudoInstruction(MachineInstr *MI,
|
|||||||
// isSoloInstruction: - Returns true for instructions that must be
|
// isSoloInstruction: - Returns true for instructions that must be
|
||||||
// scheduled in their own packet.
|
// scheduled in their own packet.
|
||||||
bool HexagonPacketizerList::isSoloInstruction(MachineInstr *MI) {
|
bool HexagonPacketizerList::isSoloInstruction(MachineInstr *MI) {
|
||||||
|
if (MI->isEHLabel() || MI->isCFIInstruction())
|
||||||
if (MI->isInlineAsm())
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (MI->isEHLabel())
|
if (MI->isInlineAsm())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// From Hexagon V4 Programmer's Reference Manual 3.4.4 Grouping constraints:
|
// From Hexagon V4 Programmer's Reference Manual 3.4.4 Grouping constraints:
|
||||||
|
Loading…
Reference in New Issue
Block a user