Skip to content

Return Scatterer object for argument values (#3540)#3548

Merged
pow2clk merged 1 commit intomicrosoft:release-1.6.2104from
pow2clk:scatter_arg
Mar 8, 2021
Merged

Return Scatterer object for argument values (#3540)#3548
pow2clk merged 1 commit intomicrosoft:release-1.6.2104from
pow2clk:scatter_arg

Conversation

@pow2clk
Copy link
Copy Markdown
Collaborator

@pow2clk pow2clk commented Mar 8, 2021

An unrelated earlier change mistakenly removed the return on a line
calling the Scatterer constructor for an argument value. As a result,
the constructor is called, but the resulting object which would insert
new extraction ops in the entry block is not used at all. Instead,
the default case is encountered where the vector PHI op is used as an
insertion point, which places the extractions after the new scalar PHIs
that use them. This is caught in the loop case by an assert because the
assumptions that caused LCSSA to be skipped for this BB are faulty.

(cherry picked from commit bb5dc9f)

An unrelated earlier change mistakenly removed the return on a line
calling the Scatterer constructor for an argument value. As a result,
the constructor is called, but the resulting object which would insert
new extraction ops in the entry block is not used at all. Instead,
the default case is encountered where the vector PHI op is used as an
insertion point, which places the extractions after the new scalar PHIs
that use them. This is caught in the loop case by an assert because the
assumptions that caused LCSSA to be skipped for this BB are faulty.

(cherry picked from commit bb5dc9f)
@pow2clk pow2clk requested a review from adam-yang March 8, 2021 21:55
@pow2clk
Copy link
Copy Markdown
Collaborator Author

pow2clk commented Mar 8, 2021

Travis doesn't build for side branches it seems. That's okay. It's a simple merge.

@AppVeyorBot
Copy link
Copy Markdown

@pow2clk pow2clk merged commit 58dcf33 into microsoft:release-1.6.2104 Mar 8, 2021
@pow2clk pow2clk deleted the scatter_arg branch March 8, 2021 22:44
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.

3 participants