Skip to content

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

Merged
bors merged 1 commit intorust-lang:masterfrom
0dvictor:print
Dec 5, 2019
Merged

Use Module::print() instead of a PrintModulePass#66952
bors merged 1 commit intorust-lang:masterfrom
0dvictor:print

Conversation

@0dvictor
Copy link
Copy Markdown

@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
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor

LGTM, thanks!

@bors r+ rollup

@bors
Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Member

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

@bors
Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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
Copy Markdown
Collaborator

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.

9 participants