mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
[Hexagon] Treat CFI as solo instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
bef3fd23e7
commit
637f84c80e
1 file changed
+5
-3
@@ -950,6 +950,9 @@ bool HexagonPacketizerList::ignorePseudoInstruction(MachineInstr *MI,
|
||||
if (MI->isDebugValue())
|
||||
return true;
|
||||
|
||||
if (MI->isCFIInstruction())
|
||||
return false;
|
||||
|
||||
// We must print out inline assembly
|
||||
if (MI->isInlineAsm())
|
||||
return false;
|
||||
@@ -967,11 +970,10 @@ bool HexagonPacketizerList::ignorePseudoInstruction(MachineInstr *MI,
|
||||
// isSoloInstruction: - Returns true for instructions that must be
|
||||
// scheduled in their own packet.
|
||||
bool HexagonPacketizerList::isSoloInstruction(MachineInstr *MI) {
|
||||
|
||||
if (MI->isInlineAsm())
|
||||
if (MI->isEHLabel() || MI->isCFIInstruction())
|
||||
return true;
|
||||
|
||||
if (MI->isEHLabel())
|
||||
if (MI->isInlineAsm())
|
||||
return true;
|
||||
|
||||
// From Hexagon V4 Programmer's Reference Manual 3.4.4 Grouping constraints:
|
||||
|
||||
Reference in new issue
Block a user