Commit 5ae520d0 by Jeffrey A Law Committed by Jeff Law

gcse.c (delete_null_pointer_checks): Only record non-null info for pseudos when examining stores.

        * gcse.c (delete_null_pointer_checks): Only record non-null info
        for pseudos when examining stores.

From-SVN: r30231
parent 4ed506a4
......@@ -5,6 +5,9 @@ Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
* gcse.c (delete_null_pointer_checks): Only record non-null info
for pseudos when examining stores.
* arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
splitters for these patterns. Use "#" for output templates.
(addsi3_carryin_shift): New pattern.
......
......@@ -5076,7 +5076,8 @@ delete_null_pointer_checks (f)
not kill the nonnull property if it is derived from a MEM
appearing in a SET_DEST. */
if (GET_CODE (SET_DEST (set)) == MEM
&& GET_CODE (XEXP (SET_DEST (set), 0)) == REG)
&& GET_CODE (XEXP (SET_DEST (set), 0)) == REG
&& REGNO (XEXP (SET_SRC (set), 0)) >= FIRST_PSEUDO_REGISTER)
SET_BIT (nonnull_local[current_block],
REGNO (XEXP (SET_DEST (set), 0)));
}
......
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