Commit f24bb080 by Marcus Shawcroft Committed by Marcus Shawcroft

[AArch64] Classify FRAME_POINTER_REGNUM and ARG_POINTER_REGNUM as POINTER_REGS.

From-SVN: r203707
parent c187e58f
2013-10-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config/aarch64/aarch64.c (aarch64_regno_regclass): Classify
FRAME_POINTER_REGNUM and ARG_POINTER_REGNUM as POINTER_REGS.
2013-10-16 Yvan Roux <yvan.roux@linaro.org>
* config/arm/arm.opt (mlra): New option.
......
......@@ -3904,7 +3904,7 @@ aarch64_regno_regclass (unsigned regno)
if (regno == FRAME_POINTER_REGNUM
|| regno == ARG_POINTER_REGNUM)
return CORE_REGS;
return POINTER_REGS;
if (FP_REGNUM_P (regno))
return FP_LO_REGNUM_P (regno) ? FP_LO_REGS : FP_REGS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment