[PATCH] D101338: [MS] Preserve base register %rbx around cpuid

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 29 13:35:19 PDT 2021


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

Seems reasonable, thanks.

We really ought to solve the general problem one day. It is kind of pig-headed that the backend just picks two arbitrary CSRs, the base and frame pointers, and doesn't bother checking if any instructions clobber those registers.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101338/new/

https://reviews.llvm.org/D101338



More information about the cfe-commits mailing list