Currently LazyValueInfo will report only alloca's as having nonnull range. For loads with !nonnull metadata it will bailout with no additional information. Same is true for calls returning nonnull pointers.
This change extends LazyValueInfo to handle this additional nonnull instructions.
Please use a dyn_cast on the type to check the type since you have a cast below.