(jump_optimize): Delete insns that set registers that are not used elsewhere.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 20 Sep 1992 09:53:06 +0000 (05:53 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 20 Sep 1992 09:53:06 +0000 (05:53 -0400)
commit2156dfe3834bd6b3f5f2d411232caa61193e554b
treedeae361b5a5e075501b62272069b250615b5ba0a
parent255680cfb0c2be0083f46f9cacdeba9342275b41
(jump_optimize): Delete insns that set registers that are not used elsewhere.

Fix some bugs in "if (...) x = a; else x = b;" code.
Remove uses of reorder_insns.
Add code to make scc insns for "if (...) x = exp;" if EXP is simple enough.
Optimize "if (...) x = b;" if jumps very expensive; don't use a REG as the
older value of X since it doesn't help and can hurt.
Correctly place generated insns in above case.

From-SVN: r2191
gcc/jump.c