[PATCH] [RFC][5/17]TILE-Gx: add register information for tilegx

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Mar 11 10:24:25 PDT 2013


On Mar 11, 2013, at 8:15 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote:

> Comment at: lib/Target/Tile/TileRegisterInfo.td:173
> @@ +172,3 @@
> +  // Return Values and Arguments, caller saved.
> +  R0_32, R1_32, R2_32, R3_32, R4_32, R5_32, R6_32, R7_32, R8_32, R9_32,
> +  // Other caller saved.
> ----------------
> You can simplify these list a lot using sequences. See ARMInstrInfo.td for reference

And there is no need to put volatile registers before the callee saved ones etc. That's done automatically now by RegisterClassInfo.

/jakob




More information about the llvm-commits mailing list