mbox series

[0/2] fix rem_usage()

Message ID 20201227092759.30999-1-luc.vanoostenryck@gmail.com (mailing list archive)
Headers show
Series fix rem_usage() | expand

Message

Luc Van Oostenryck Dec. 27, 2020, 9:27 a.m. UTC
These two patches fix a bug with rem_usage(), after having removed the
last element of a def-use list, tries to kill the defining instruction
although only PSEUDO_REGs and PSEUDO_PHIs have one.


Luc Van Oostenryck (2):
  add helper has_definition()
  fix rem_usage()

 linearize.h | 5 +++++
 simplify.c  | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)