This is an archive of the discontinued LLVM Phabricator instance.

[MC][X86] Enhance X86 Register expression handling to more closely match GCC.
ClosedPublic

Authored by niravd on Aug 15 2018, 11:13 AM.

Details

Diff Detail

Event Timeline

niravd created this revision.Aug 15 2018, 11:13 AM
niravd retitled this revision from [DAG] Enhance X86 Register expression handling to more closely match GCC. to [MC][X86] Enhance X86 Register expression handling to more closely match GCC..Aug 15 2018, 11:51 AM
rnk accepted this revision.Aug 15 2018, 1:17 PM

Sure, we can handle some more weird stuff. :)

This revision is now accepted and ready to land.Aug 15 2018, 1:17 PM
rnk added inline comments.Aug 15 2018, 2:04 PM
llvm/lib/MC/MCExpr.cpp
765

This is a bit of an odd construct, maybe just do default: break; like normal.

This revision was automatically updated to reflect the committed changes.