This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG][X86] Support inline assembly returning an mmx register into a type with fewer than 64 bits.
ClosedPublic

Authored by craig.topper on May 5 2019, 9:44 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.May 5 2019, 9:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 5 2019, 9:44 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
mgorny added a subscriber: mgorny.May 6 2019, 8:14 AM

Thanks. I can confirm that it fixes my original program.

RKSimon accepted this revision.May 6 2019, 8:37 AM

LGTM as a stopgap

llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
329 ↗(On Diff #198219)

extra whitespace but is it worth just using MVT::i64?

This revision is now accepted and ready to land.May 6 2019, 8:37 AM
This revision was automatically updated to reflect the committed changes.