This is an archive of the discontinued LLVM Phabricator instance.

[PoC][DO_NOT_MERGE] Add llc option to switch on and off hasMultipleConditionRegisters feature from a target.
Needs ReviewPublic

Authored by PaoloS on Jul 8 2021, 3:46 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This patch is currently for display only.
The aim of the patch is to make it easier to test the effectiveness of the feature hasMultipleConditionRegisters in a target as such feature is set statically in the target lowering info and influences optimization in several places.
This patch adds the llc option -has-multiple-condition-registers=0/1.
It doesn't change the codegen behaviour.

Diff Detail

Event Timeline

PaoloS created this revision.Jul 8 2021, 3:46 AM
PaoloS requested review of this revision.Jul 8 2021, 3:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 8 2021, 3:46 AM
PaoloS updated this revision to Diff 357207.Jul 8 2021, 6:27 AM

Fixed the test to reflect the effects of the hasMultipleConditionRegisters on the lowering of select and the sinking of icmp.