- /// This is an auto-upgrade hook for mutiple-value return statements.
- /// This function auto-upgrades all such return statements in the given
- /// function to use aggregate return values built with insertvalue
- /// instructions.
- void UpgradeMultipleReturnValues(Function *F);
-
+ /// This function checks debug info intrinsics. If an intrinsic is invalid
+ /// then this function simply removes the intrinsic.
+ void CheckDebugInfoIntrinsics(Module *M);