Page MenuHomePhabricator

Workaround for PR41575: don't allow inlining of clear_cache on some platforms
Needs ReviewPublic

Authored by george.burgess.iv on Jun 3 2019, 12:56 PM.

Details

Reviewers
t.p.northover
Summary

As detailed in https://llvm.org/PR41575, this code shouldn't be relying on implicit saves/restores for the registers it uses __asm("rN") on. There are a few ways forward with this, but until we land one of those, the ARM function call ABI appears to save us here. No pun intended. :)

Diff Detail