Commit 89d237bf by Michael Meissner Committed by Michael Meissner

Do not handle dead code via conditional execution if special handling is needed

From-SVN: r34512
parent 088eb5a2
2000-06-12 Michael Meissner <meissner@redhat.com>
* ifcvt.c (dead_or_predicable): Don't do conditional execution
path if the machine needs extra support to do conditional
execution.
Mon Jun 12 17:04:17 2000 Jeffrey A Law (law@cygnus.com) Mon Jun 12 17:04:17 2000 Jeffrey A Law (law@cygnus.com)
* print-rtl.c (print_rtx, case MEM): Use HOST_WIDE_INT_PRINT_DEC * print-rtl.c (print_rtx, case MEM): Use HOST_WIDE_INT_PRINT_DEC
......
...@@ -1865,6 +1865,9 @@ dead_or_predicable (test_bb, merge_bb, other_bb, new_dest, reversep) ...@@ -1865,6 +1865,9 @@ dead_or_predicable (test_bb, merge_bb, other_bb, new_dest, reversep)
end = PREV_INSN (end); end = PREV_INSN (end);
} }
/* Disable handling dead code by conditional execution if the machine needs
to do anything funny with the tests, etc. */
#ifndef IFCVT_MODIFY_TESTS
if (HAVE_conditional_execution) if (HAVE_conditional_execution)
{ {
/* In the conditional execution case, we have things easy. We know /* In the conditional execution case, we have things easy. We know
...@@ -1896,6 +1899,7 @@ dead_or_predicable (test_bb, merge_bb, other_bb, new_dest, reversep) ...@@ -1896,6 +1899,7 @@ dead_or_predicable (test_bb, merge_bb, other_bb, new_dest, reversep)
earliest = jump; earliest = jump;
} }
else else
#endif
{ {
/* In the non-conditional execution case, we have to verify that there /* In the non-conditional execution case, we have to verify that there
are no trapping operations, no calls, no references to memory, and are no trapping operations, no calls, no references to memory, and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment