SuccessChanges

Summary

  1. [IR] move/change null-check to assert (details)
Commit 09feea972d0f2c7b4f16719f3c70ac0795770330 by spatel
[IR] move/change null-check to assert
This should trigger a dereference before null-check warning, but I don't
see it when building with clang. In any case, the current and known
future users of this helper require non-null args, so I'm converting the
'if' to an assert.
The file was modifiedllvm/lib/IR/Constants.cpp