diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-18 17:05:14 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-18 17:05:14 +0000 |
commit | 21f1e711ba84209ea411dc821cd70757318894ad (patch) | |
tree | f6d253960bbff5f5f18a47a866cab10b8ece1664 /gcc/postreload.c | |
parent | 15d981b13a4440a2b9312e08852979466175530d (diff) | |
download | gcc-21f1e711ba84209ea411dc821cd70757318894ad.tar.gz |
* rtl.def (NIL): Delete.
* read-rtl.c (read_rtx): Handle (nil) like (define_constants).
Tighten the syntax a little.
* cfgloop.h, combine.c, cse.c, loop-iv.c, postreload.c, reload.c
* config/alpha/alpha.c, config/alpha/alpha.h, config/arc/arc.h
* config/arm/arm.h, config/frv/frv.h, config/i386/i386.c
* config/i386/predicates.md, config/m32r/m32r.h
* config/m68hc11/m68hc11.c, config/mcore/mcore.h, config/mips/mips.c
* config/mmix/mmix.c, config/pa/pa.h, config/sh/sh.h
* config/sparc/sparc.h, doc/tm.texi:
Replace all occurrences of NIL with UNKNOWN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86193 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/postreload.c')
-rw-r--r-- | gcc/postreload.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/postreload.c b/gcc/postreload.c index c4ab4f229df..3b15118f329 100644 --- a/gcc/postreload.c +++ b/gcc/postreload.c @@ -214,7 +214,7 @@ reload_cse_simplify_set (rtx set, rtx insn) cselib_val *val; struct elt_loc_list *l; #ifdef LOAD_EXTEND_OP - enum rtx_code extend_op = NIL; + enum rtx_code extend_op = UNKNOWN; #endif dreg = true_regnum (SET_DEST (set)); @@ -234,7 +234,7 @@ reload_cse_simplify_set (rtx set, rtx insn) the destination must be a register that we can widen. */ if (MEM_P (src) && GET_MODE_BITSIZE (GET_MODE (src)) < BITS_PER_WORD - && (extend_op = LOAD_EXTEND_OP (GET_MODE (src))) != NIL + && (extend_op = LOAD_EXTEND_OP (GET_MODE (src))) != UNKNOWN && !REG_P (SET_DEST (set))) return 0; #endif @@ -260,7 +260,7 @@ reload_cse_simplify_set (rtx set, rtx insn) if (CONSTANT_P (this_rtx) && ! references_value_p (this_rtx, 0)) { #ifdef LOAD_EXTEND_OP - if (extend_op != NIL) + if (extend_op != UNKNOWN) { HOST_WIDE_INT this_val; @@ -290,7 +290,7 @@ reload_cse_simplify_set (rtx set, rtx insn) else if (REG_P (this_rtx)) { #ifdef LOAD_EXTEND_OP - if (extend_op != NIL) + if (extend_op != UNKNOWN) { this_rtx = gen_rtx_fmt_e (extend_op, word_mode, this_rtx); this_cost = rtx_cost (this_rtx, SET); @@ -313,7 +313,7 @@ reload_cse_simplify_set (rtx set, rtx insn) { #ifdef LOAD_EXTEND_OP if (GET_MODE_BITSIZE (GET_MODE (SET_DEST (set))) < BITS_PER_WORD - && extend_op != NIL + && extend_op != UNKNOWN #ifdef CANNOT_CHANGE_MODE_CLASS && !CANNOT_CHANGE_MODE_CLASS (GET_MODE (SET_DEST (set)), word_mode, @@ -406,7 +406,7 @@ reload_cse_simplify_operands (rtx insn, rtx testreg) #ifdef LOAD_EXTEND_OP if (MEM_P (op) && GET_MODE_BITSIZE (mode) < BITS_PER_WORD - && LOAD_EXTEND_OP (mode) != NIL) + && LOAD_EXTEND_OP (mode) != UNKNOWN) { rtx set = single_set (insn); |