Return whether MRI includes a possible memory modification.
MRI
Declared in <llvm/Support/ModRef.h>
<llvm/Support/ModRef.h>
[[nodiscard]] bool isModSet(ModRefInfo const MRI);
True if MRI includes a possible memory modification.
The return value should not be discarded.