Skip to content

Conversation

@dave-bartolomeo
Copy link
Contributor

This PR fixes some IR API usability issues that have caused significant confusion both internally and with our early adopters at Microsoft. We want to get them into 1.20 before the IR becomes more widely used externally.

Summary:
FunctionIR renamed to IRFunction for consistency with IRVariable, IRBlock, etc.
PhiOperand renamed to PhiInputOperand.
PhiInstruction::getAnOperandDefinitionInstruction() renamed to getAnInput() for consistency with operand accessors on other Instruction classes.
Added PhiInstruction::getAnInputOperand().

Also added `PhiInstruction::getAnInputOperand()`, and renamed `PhiInstruction::getAnOperandDefinitionInstruction()` to `getAnInput()` for consistency with other `Instruction` classes.
@dave-bartolomeo dave-bartolomeo requested a review from a team as a code owner March 12, 2019 19:01
@dave-bartolomeo dave-bartolomeo added this to the 1.20 milestone Mar 12, 2019
@dave-bartolomeo dave-bartolomeo requested review from jbj and rdmarsh2 March 12, 2019 19:02
Copy link
Contributor

@jbj jbj left a comment

Choose a reason for hiding this comment

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

LGTM. I'll leave it to @rdmarsh2 to double-check this and merge if the tests pass.

@rdmarsh2 rdmarsh2 merged commit 36db4b4 into github:rc/1.20 Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants