This is an archive of the discontinued LLVM Phabricator instance.

[X86] Use TargetConstant for condition code on X86ISD::SETCC/CMOV/BRCOND nodes.
ClosedPublic

Authored by craig.topper on Sep 22 2019, 11:53 PM.

Details

Summary

This removes the need for ConvertToTarget opcodes in the isel table.
It's also consistent with the recent changes to use TargetConstant
for intrinsic nodes that always take immediates.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Sep 22 2019, 11:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2019, 11:53 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
RKSimon accepted this revision.Sep 23 2019, 6:36 AM

LGTM

This revision is now accepted and ready to land.Sep 23 2019, 6:36 AM
This revision was automatically updated to reflect the committed changes.