https://github.com/OCHyams approved this pull request.
> @OCHyams What do you think about merging this PR to the release branch? LGTM, this fixes a bug where valid IR gets rejected by the parser, so getting it backported sounds good. For peace of mind: we don't need a null check in the `DVI->location_ops()` loop because `location_ops()` returns an empty range rather than a single-nullptr-location, and multiple locations (through DIArgList) should never be nullptr. https://github.com/llvm/llvm-project/pull/107060 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits