Skip to content

Commit 9c43a93

Browse files
Shahab Vahediartemiy-volkov
authored andcommitted
[ARCx] Treat SP register as a general register
Signed-off-by: Shahab Vahedi <[email protected]>
1 parent 17525a4 commit 9c43a93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/config/arc64/arc64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const enum reg_class arc64_regno_to_regclass[FIRST_PSEUDO_REGISTER] =
5050
GENERAL_REGS, GENERAL_REGS, GENERAL_REGS, GENERAL_REGS,
5151
GENERAL_REGS, GENERAL_REGS, GENERAL_REGS, GENERAL_REGS,
5252
GENERAL_REGS, GENERAL_REGS, GENERAL_REGS, GENERAL_REGS,
53-
NO_REGS, NO_REGS, GENERAL_REGS, NO_REGS,
53+
GENERAL_REGS, NO_REGS, GENERAL_REGS, NO_REGS,
5454

5555
NO_REGS, NO_REGS, NO_REGS, NO_REGS,
5656
NO_REGS, NO_REGS, NO_REGS, NO_REGS,

0 commit comments

Comments
 (0)