Remove the never read flag irop_flag_dump_noinput.
authorChristoph Mallon <christoph.mallon@gmx.de>
Tue, 19 Jun 2012 07:20:26 +0000 (09:20 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Tue, 19 Jun 2012 07:34:10 +0000 (09:34 +0200)
include/libfirm/irop.h
ir/be/amd64/amd64_spec.pl
ir/be/ia32/ia32_spec.pl
ir/be/scripts/generate_new_opcodes.pl
scripts/ir_spec.py

index 9d2f94a..b21ba60 100644 (file)
@@ -77,12 +77,11 @@ typedef enum {
        irop_flag_start_block  = 1U <<  8, /**< This operation is always placed in the Start block. */
        irop_flag_uses_memory  = 1U <<  9, /**< This operation has a memory input and may change the memory state. */
        irop_flag_dump_noblock = 1U << 10, /**< node should be dumped outside any blocks */
-       irop_flag_dump_noinput = 1U << 11, /**< node is a placeholder for "no input" */
-       irop_flag_cse_neutral  = 1U << 12, /**< This operation is CSE neutral to its users. */
+       irop_flag_cse_neutral  = 1U << 11, /**< This operation is CSE neutral to its users. */
        /** This operation jumps to an unknown destination. The CFG is a
         * conservative aproximation in this case. You cannot change the destination
         * of an unknown_jump */
-       irop_flag_unknown_jump = 1U << 13,
+       irop_flag_unknown_jump = 1U << 12,
 } irop_flags;
 
 /** Returns the ident for the opcode name */
index c6f4951..9afdc70 100644 (file)
@@ -313,7 +313,7 @@ Store => {
 
 #NoReg_GP => {
 #      state     => "pinned",
-#      op_flags  => [ "constlike", "dump_noblcok", "dump_noinput" ],
+#      op_flags  => [ "constlike", "dump_noblcok" ],
 #      reg_req   => { out => [ "gp_NOREG:I" ] },
 #      units     => [],
 #      emit      => "",
index 6a97168..64a19e5 100644 (file)
@@ -1103,7 +1103,7 @@ GetEIP => {
 
 NoReg_GP => {
        state     => "pinned",
-       op_flags  => [ "constlike", "dump_noblock", "dump_noinput" ],
+       op_flags  => [ "constlike", "dump_noblock" ],
        irn_flags => [ "not_scheduled" ],
        reg_req   => { out => [ "gp_NOREG:I" ] },
        units     => [],
@@ -1114,7 +1114,7 @@ NoReg_GP => {
 
 NoReg_VFP => {
        state     => "pinned",
-       op_flags  => [ "constlike", "dump_noblock", "dump_noinput" ],
+       op_flags  => [ "constlike", "dump_noblock" ],
        irn_flags => [ "not_scheduled" ],
        reg_req   => { out => [ "vfp_NOREG:I" ] },
        units     => [],
@@ -1126,7 +1126,7 @@ NoReg_VFP => {
 
 NoReg_XMM => {
        state     => "pinned",
-       op_flags  => [ "constlike", "dump_noblock", "dump_noinput" ],
+       op_flags  => [ "constlike", "dump_noblock" ],
        irn_flags => [ "not_scheduled" ],
        reg_req   => { out => [ "xmm_NOREG:I" ] },
        units     => [],
index d703097..ea15f9d 100755 (executable)
@@ -677,8 +677,7 @@ EOF
        my %known_flags = map { $_ => 1 } (
                "none", "commutative", "cfopcode", "unknown_jump", "fragile",
                "forking", "highlevel", "constlike", "always_opt", "keep",
-               "start_block", "uses_memory", "dump_noblock", "dump_noinput",
-               "cse_neutral"
+               "start_block", "uses_memory", "dump_noblock", "cse_neutral"
        );
        my $is_fragile = 0;
        foreach my $flag (@{$n{"op_flags"}}) {
index ec9043c..ea4a1f3 100755 (executable)
@@ -695,7 +695,7 @@ class Mux(Op):
 class NoMem(Op):
        """Placeholder node for cases where you don't need any memory input"""
        mode          = "mode_M"
-       flags         = [ "dump_noblock", "dump_noinput" ]
+       flags         = [ "dump_noblock" ]
        pinned        = "yes"
        knownBlock    = True
        block         = "get_irg_start_block(irg)"