This is an archive of the discontinued LLVM Phabricator instance.

[X86] Adding custom operation for strict fpextend/fpround
ClosedPublic

Authored by LiuChen3 on Dec 26 2019, 2:18 AM.

Details

Summary

Adding custom operation for strict fpextend: v2f32 to v2f64 and strict fpround: v2f64 to v2f32

Diff Detail

Event Timeline

LiuChen3 created this revision.Dec 26 2019, 2:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 26 2019, 2:18 AM
craig.topper accepted this revision.Dec 26 2019, 1:44 PM

LGTM with that one comment.

llvm/lib/Target/X86/X86ISelLowering.cpp
20091

Drop the else since we alerady returned in the if.

This revision is now accepted and ready to land.Dec 26 2019, 1:44 PM
This revision was automatically updated to reflect the committed changes.
LiuChen3 marked an inline comment as done.Dec 26 2019, 4:53 PM