[PATCH] D91257: [ARM] Deliberately prevent inline asm in low overhead loops. NFC

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 06:51:31 PST 2020


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samtebbs, samparker, simon_tatham.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
dmgreen requested review of this revision.

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.


https://reviews.llvm.org/D91257

Files:
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/inlineasm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91257.304504.patch
Type: text/x-patch
Size: 4601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201111/77222448/attachment-0001.bin>


More information about the llvm-commits mailing list