This is an archive of the discontinued LLVM Phabricator instance.

[X86] Don't crash on bad operand modifiers in inline assembly
ClosedPublic

Authored by craig.topper on Apr 17 2018, 5:56 PM.

Details

Summary

Previously if a modifer was placed on a non-GPR register class we would hit an assert or crash.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 17 2018, 5:56 PM
echristo accepted this revision.Apr 17 2018, 5:58 PM

Yep. LGTM.

-eric

This revision is now accepted and ready to land.Apr 17 2018, 5:58 PM
This revision was automatically updated to reflect the committed changes.