This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Deliberately prevent inline asm in low overhead loops. NFC
ClosedPublic

Authored by dmgreen on Nov 11 2020, 6:51 AM.

Details

Summary

This was already something that was handled by one of the "else" branches in maybeLoweredToCall, so this patch is an NFC but makes it explicit and adds a test. We may in the future want to support this under certain situations but for the moment just don't try and create low overhead loops with inline asm in them.

Diff Detail

Event Timeline

dmgreen created this revision.Nov 11 2020, 6:51 AM
dmgreen requested review of this revision.Nov 11 2020, 6:51 AM
samparker accepted this revision.Nov 11 2020, 6:53 AM

Explicit sounds good.

This revision is now accepted and ready to land.Nov 11 2020, 6:53 AM