This is an archive of the discontinued LLVM Phabricator instance.

[Xtensa] Implement lowering SELECT_CC, SETCC
Needs RevisionPublic

Authored by andreisfr on Mar 9 2023, 12:21 AM.

Details

Summary

Implement lowering of the SELECT_CC, SETCC operations. Add branch patterns
for core branch instructions.

Diff Detail

Event Timeline

andreisfr created this revision.Mar 9 2023, 12:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2023, 12:21 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
andreisfr requested review of this revision.Mar 9 2023, 12:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2023, 12:21 AM
andreisfr updated this revision to Diff 508588.Mar 27 2023, 5:08 AM

Minor code formatting

andreisfr edited the summary of this revision. (Show Details)Mar 27 2023, 3:23 PM
JKRhb added a subscriber: JKRhb.Mar 30 2023, 12:57 PM
arsenm requested changes to this revision.Aug 18 2023, 6:10 AM

Needs tests

llvm/lib/Target/Xtensa/XtensaISelLowering.cpp
594–595

How is this any different from using the generic SELECT_CC?

608–618

Should try avoid looking at users in lowerings. Can this handling be performed in a separate combine?

This revision now requires changes to proceed.Aug 18 2023, 6:10 AM