[PATCH] D59821: [llvm-exegesis] Allow the target to disable the selection of some registers.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 27 01:33:48 PDT 2019


courbet added a comment.

In D59821#1444043 <https://reviews.llvm.org/D59821#1444043>, @craig.topper wrote:

> What protects R8 <https://reviews.llvm.org/source/libcxx/>-R15 in 32-bit mode or SIL/DIL/BPL/SPL?


Thanks Craig,

This is the `x86_64` target (the only one we support at the moment) so we're good on the first part :)

For the rest, TBH I'm not well versed in the subtleties of X86 encoding, so got these registers from the list here <https://github.com/llvm/llvm-project/blob/2946cd701067404b99c39fb29dc9c74bd7193eb3/llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp#L1049>.
As Guillaume mentioned if there is a register class I can use I'll be happy to.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59821





More information about the llvm-commits mailing list