mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 01:49:47 +08:00
combine.c (gen_binary): Handle the CLOBBER rtx and don't build a binary operation with it.
* combine.c (gen_binary): Handle the CLOBBER rtx and don't build a binary operation with it. Co-Authored-By: Richard Kenner <kenner@vlsi1.ultra.nyu.edu> From-SVN: r69199
This commit is contained in:
parent
3b14e3af06
commit
9db367b45c
@ -1,3 +1,9 @@
|
||||
2003-06-30 Denis Chertykov <denisc@overta.ru>
|
||||
Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
* combine.c (gen_binary): Handle the CLOBBER rtx and
|
||||
don't build a binary operation with it.
|
||||
|
||||
2003-07-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
|
||||
|
||||
* gcse.c (load_kills_store, find_loads, store_killed_in_insn,
|
||||
|
@ -10171,6 +10171,11 @@ gen_binary (enum rtx_code code, enum machine_mode mode, rtx op0, rtx op1)
|
||||
rtx result;
|
||||
rtx tem;
|
||||
|
||||
if (GET_CODE (op0) == CLOBBER)
|
||||
return op0;
|
||||
else if (GET_CODE (op1) == CLOBBER)
|
||||
return op1;
|
||||
|
||||
if (GET_RTX_CLASS (code) == 'c'
|
||||
&& swap_commutative_operands_p (op0, op1))
|
||||
tem = op0, op0 = op1, op1 = tem;
|
||||
|
Loading…
Reference in New Issue
Block a user