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

Pengfei Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 29 19:18:23 PDT 2021


pengfei added a comment.

In D101338#2726759 <https://reviews.llvm.org/D101338#2726759>, @rnk wrote:

> 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.

Agreed. Thanks Reid.


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