Skip to content

Conversation

@bertmaher
Copy link
Contributor

@bertmaher bertmaher commented Apr 15, 2021

Stack from ghstack:

I was debugging an issue during instruction selection and wanted to
see the input bitcode. This way we always print it before going into the asm
generation pass.

Differential Revision: D27781683

I was debugging an issue during instruction selection and wanted to
see the input bitcode.  This way we always print it before going into the asm
generation pass.

Differential Revision: [D27781683](https://our.internmc.facebook.com/intern/diff/D27781683/)

[ghstack-poisoned]
@facebook-github-bot facebook-github-bot added cla signed oncall: jit Add this issue/PR to JIT oncall triage queue labels Apr 15, 2021
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Apr 15, 2021

💊 CI failures summary and remediations

As of commit 0f47622 (more details on the Dr. CI page):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-scanned failure(s)

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Copy link

@ZolotukhinM ZolotukhinM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

asmBuffer.set_size(0);
module_->print(asmStream, nullptr);
llvmCode = asmStream.str().str();
GRAPH_DEBUG(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe make one of them GRAPH_UPDATE to reduce amount of info dumped at once?

…embly"

I was debugging an issue during instruction selection and wanted to
see the input bitcode.  This way we always print it before going into the asm
generation pass.

Differential Revision: [D27781683](https://our.internmc.facebook.com/intern/diff/D27781683/)

[ghstack-poisoned]
@codecov
Copy link

codecov bot commented Apr 15, 2021

Codecov Report

Merging #56117 (0f47622) into gh/bertmaher/104/base (ad17fad) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@                    Coverage Diff                    @@
##           gh/bertmaher/104/base   #56117      +/-   ##
=========================================================
- Coverage                  77.07%   77.07%   -0.01%     
=========================================================
  Files                       1913     1913              
  Lines                     189643   189644       +1     
=========================================================
- Hits                      146174   146168       -6     
- Misses                     43469    43476       +7     

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in d56f451.

@facebook-github-bot facebook-github-bot deleted the gh/bertmaher/104/head branch April 19, 2021 14:15
krshrimali pushed a commit to krshrimali/pytorch that referenced this pull request May 19, 2021
…rch#56117)

Summary:
Pull Request resolved: pytorch#56117

I was debugging an issue during instruction selection and wanted to
see the input bitcode.  This way we always print it before going into the asm
generation pass.
ghstack-source-id: 126592596

Test Plan: Run with `PYTORCH_JIT_LOG_LEVEL=">>llvm_codegen"`

Reviewed By: huiguoo

Differential Revision: D27781683

fbshipit-source-id: 84635d0ca2a1318ae7a9a73cc1d2df450d8b6a08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants