This is an archive of the discontinued LLVM Phabricator instance.

[mips][ias] Further relax operands of certain assembly instructions
ClosedPublic

Authored by sdardis on Jan 27 2017, 3:07 AM.

Details

Summary

This patch adjusts the most relaxed predicate of immediate operands to accept
immediate forms such as ~(0xf0000000|0x000f00000). Previously these forms
would be accepted by GAS and rejected by IAS.

This partially resolves PR/30383.

Thanks to Sean Bruno for reporting the issue!

Diff Detail

Repository
rL LLVM

Event Timeline

sdardis created this revision.Jan 27 2017, 3:07 AM
seanbruno accepted this revision.Jan 31 2017, 2:36 PM

Yep, this works for me on FreeBSD's kernel.

This revision is now accepted and ready to land.Jan 31 2017, 2:37 PM

This looks good from here. I think it can be committed.

This revision was automatically updated to reflect the committed changes.