Skip to content
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

Use Module::print() instead of a PrintModulePass #66952

Merged
merged 1 commit into from
Dec 5, 2019
Merged

Use Module::print() instead of a PrintModulePass #66952

merged 1 commit into from
Dec 5, 2019

Conversation

0dvictor
Copy link
Contributor

@0dvictor 0dvictor commented Dec 2, 2019

llvm::Module has a print() method. It is unnecessary to create a pass just for the purpose of printing LLVM IR.

llvm::Module has a print() method. It is unnecessary to create a
pass just for the purpose of printing LLVM IR.
@rust-highfive
Copy link
Collaborator

r? @estebank

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 2, 2019
@Centril
Copy link
Contributor

Centril commented Dec 2, 2019

r? @eddyb cc @rkruppe

@rust-highfive rust-highfive assigned eddyb and unassigned estebank Dec 2, 2019
@hanna-kruppe
Copy link
Contributor

LGTM, thanks!

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Dec 3, 2019

📌 Commit 85df207 has been approved by rkruppe

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 3, 2019
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Dec 5, 2019
Use Module::print() instead of a PrintModulePass

llvm::Module has a print() method. It is unnecessary to create a pass just for the purpose of printing LLVM IR.
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Dec 5, 2019
Use Module::print() instead of a PrintModulePass

llvm::Module has a print() method. It is unnecessary to create a pass just for the purpose of printing LLVM IR.
@JohnTitor
Copy link
Member

To find out if this PR caused the failure on rollup...
@bors p=1 rollup=never

@bors
Copy link
Contributor

bors commented Dec 5, 2019

⌛ Testing commit 85df207 with merge 1e2a738...

bors added a commit that referenced this pull request Dec 5, 2019
Use Module::print() instead of a PrintModulePass

llvm::Module has a print() method. It is unnecessary to create a pass just for the purpose of printing LLVM IR.
@RalfJung
Copy link
Member

RalfJung commented Dec 5, 2019

To find out if this PR caused the failure on rollup...

It's not, the rollup without it failed the same way: #67048

@bors
Copy link
Contributor

bors commented Dec 5, 2019

☀️ Test successful - checks-azure
Approved by: rkruppe
Pushing 1e2a738 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 5, 2019
@bors bors merged commit 85df207 into rust-lang:master Dec 5, 2019
@0dvictor 0dvictor deleted the print branch December 5, 2019 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants