OSDN Git Service

tcg/optimize: fold temp copies test in tcg_opt_gen_mov
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 4 Jun 2015 19:53:25 +0000 (21:53 +0200)
committerRichard Henderson <rth@twiddle.net>
Tue, 9 Jun 2015 14:00:56 +0000 (07:00 -0700)
commit5365718a9afeeabde3784d82a542f8ad909b18cf
tree5475c621a535a6d964d3ad4d89d757ed5bb33a41
parent8d6a91602ea824ef4435ea38fd475387eecc098c
tcg/optimize: fold temp copies test in tcg_opt_gen_mov

Each call to tcg_opt_gen_mov is preceeded by a test to check if the
source and destination temps are copies. Fold that into the
tcg_opt_gen_mov function.

Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Message-Id: <1433447607-31184-4-git-send-email-aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/optimize.c