This is an archive of the discontinued LLVM Phabricator instance.

[x86] Add missing FeatureCMOV in frontend targets.
ClosedPublic

Authored by FreddyYe on Jun 29 2023, 9:19 PM.

Diff Detail

Event Timeline

FreddyYe created this revision.Jun 29 2023, 9:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2023, 9:19 PM
FreddyYe requested review of this revision.Jun 29 2023, 9:19 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 29 2023, 9:19 PM
craig.topper added inline comments.Jun 29 2023, 9:39 PM
llvm/lib/TargetParser/X86TargetParser.cpp
325

I don't think i686 is supposed to have CMOV. There are some "6th generation" CPUs from Via maybe that don't have cmov.

craig.topper added inline comments.Jun 29 2023, 9:41 PM
llvm/lib/TargetParser/X86TargetParser.cpp
325

Nevermind. I guess we have it enabled for i686. So if I am remembering the Via CPUs correctly, the damage is already done.

This revision is now accepted and ready to land.Jun 29 2023, 9:45 PM
This revision was landed with ongoing or failed builds.Jun 29 2023, 10:19 PM
This revision was automatically updated to reflect the committed changes.

Thanks review!