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
This commit is contained in:
Jeffrey A Law 1999-10-28 09:08:43 +00:00 committed by Jeff Law
parent 4ed506a4f6
commit 5ae520d023
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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)));
}