Skip to content

[Instruction] Add dropLocation and updateLocationAfterHoist helpers #1846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 25, 2020

Conversation

vedantk
Copy link

@vedantk vedantk commented Sep 24, 2020

Introduce a helper which can be used to update the debug location of an
Instruction after the instruction is hoisted. This can be used to safely
drop a source location as recommended by the docs.

For more context, see the discussion in https://reviews.llvm.org/D60913.

Differential Revision: https://reviews.llvm.org/D85670

(cherry picked from commit dfc5a9e)

Introduce a helper which can be used to update the debug location of an
Instruction after the instruction is hoisted. This can be used to safely
drop a source location as recommended by the docs.

For more context, see the discussion in https://reviews.llvm.org/D60913.

Differential Revision: https://reviews.llvm.org/D85670

(cherry picked from commit dfc5a9e)
@vedantk
Copy link
Author

vedantk commented Sep 24, 2020

@swift-ci test macOS

@vedantk vedantk merged commit 7876079 into apple/stable/20200714 Sep 25, 2020
@vedantk vedantk deleted the eng/PR-66651143 branch September 25, 2020 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant