This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Create lbOperands before op.setLowerBound
ClosedPublic

Authored by vitalybuka on Apr 27 2022, 5:04 PM.

Details

Diff Detail

Event Timeline

vitalybuka created this revision.Apr 27 2022, 5:04 PM
Herald added a project: Restricted Project. · View Herald Transcript
vitalybuka requested review of this revision.Apr 27 2022, 5:04 PM

Existing tests pass but I have no idea if this is correct.

vitalybuka added a reviewer: Restricted Project.May 2 2022, 12:11 PM

Existing tests pass but I have no idea if this is correct.

I double checked that content of (lb.getOperands().begin(), lb.getOperands().begin() +lb.getMap().getNumDims()) is the same before and after patch. So I believe it's correct to move like this.

rriddle accepted this revision.May 2 2022, 3:14 PM

This looks right.

This revision is now accepted and ready to land.May 2 2022, 3:14 PM
This revision was automatically updated to reflect the committed changes.