Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: gcc/gcc/explow.c

Issue 2825071: [gcc] Remove few changes from machine-independent part. (Closed) Base URL: ssh://git@chromiumos-git/nacl-toolchain.git
Patch Set: rebased Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/config/i386/i386.c ('k') | gcc/gcc/reload.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/explow.c
diff --git a/gcc/gcc/explow.c b/gcc/gcc/explow.c
index 8c0f3f70d28ecc186ceb163ca541035822614aa5..c9bf675d36f5d750a43d2b0fafdc8041751aa1ab 100644
--- a/gcc/gcc/explow.c
+++ b/gcc/gcc/explow.c
@@ -613,13 +613,7 @@ copy_addr_to_reg (rtx x)
rtx
copy_to_mode_reg (enum machine_mode mode, rtx x)
{
- rtx temp;
-
- /* It's safe to move SImode register instead of DImode register in x86-64 */
- if (mode == DImode && GET_MODE (x) == SImode && GET_CODE(x) == CONST)
- mode = SImode;
-
- temp = gen_reg_rtx (mode);
+ rtx temp = gen_reg_rtx (mode);
/* If not an operand, must be an address with PLUS and MULT so
do the computation. */
« no previous file with comments | « gcc/gcc/config/i386/i386.c ('k') | gcc/gcc/reload.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698