This is an archive of the discontinued LLVM Phabricator instance.

[X86] Merge FeatureInfos_WithPLUS and FeatureInfos. NFC
ClosedPublic

Authored by craig.topper on Aug 24 2023, 10:06 PM.

Details

Summary

Store the string with the '+' in FeatureInfos. Drop the '+'
at runtime for the users that don't want it.

Diff Detail

Event Timeline

craig.topper created this revision.Aug 24 2023, 10:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2023, 10:06 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
craig.topper requested review of this revision.Aug 24 2023, 10:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2023, 10:06 PM
RKSimon accepted this revision.Aug 27 2023, 2:46 AM

LGTM

llvm/lib/TargetParser/X86TargetParser.cpp
39

should we assert that the plus is there?

This revision is now accepted and ready to land.Aug 27 2023, 2:46 AM
FreddyYe accepted this revision.Aug 27 2023, 5:27 PM

LGTM, Thanks for refine.