Add a clarifying a comment on CastInst::isNoopCast
I made exactly the mistake described, so document the precondition. It would be better to have an assert, but there is (currently) no "castIsValid" with purely type arguments.
Loading
Please register or sign in to comment