This is an archive of the discontinued LLVM Phabricator instance.

[VE] Fix useDeprecatedPositionallyEncodedOperands errors.
ClosedPublic

Authored by jyknight on Jan 3 2023, 1:10 PM.

Details

Summary

This is a follow-on to https://reviews.llvm.org/D134073.

Behavior is unchanged by this cleanup, except that previously the
'CVTRDm' pattern was accidentally getting the top bit of 'sz' from the
'sx' input, instead of setting it to 0.

Diff Detail

Event Timeline

jyknight created this revision.Jan 3 2023, 1:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 3 2023, 1:10 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
jyknight requested review of this revision.Jan 3 2023, 1:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 3 2023, 1:10 PM
kaz7 requested changes to this revision.Jan 12 2023, 2:08 PM

Thank you very much for updating VEInstInfo.td and fixing CVTRDm problem. I have only one comment.

llvm/lib/Target/VE/VEInstrInfo.td
850

Is it possible to not convert "cond" to "cf" please? We use "cond" as condition flag several times in VEInstrInfo.td, so I'd like to make them consitent, either "cond" or "cf". Thanks.

This revision now requires changes to proceed.Jan 12 2023, 2:08 PM
jyknight updated this revision to Diff 488800.Jan 12 2023, 3:41 PM

Rename 'cf' field to 'cond' per review request.

kaz7 accepted this revision.Jan 13 2023, 4:05 AM

I didn't realize that we use "cf" in VEInstrFormats.td. Thank you so much. Modified llc works fine, so LGTM.

This revision is now accepted and ready to land.Jan 13 2023, 4:05 AM
This revision was landed with ongoing or failed builds.Jan 31 2023, 4:51 PM
This revision was automatically updated to reflect the committed changes.