diff options
author | Craig Topper <craig.topper@sifive.com> | 2020-11-05 09:48:07 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2020-11-05 09:49:42 -0800 |
commit | ce1270fc7e3d71f5769d4f9d151b275c6733c89d (patch) | |
tree | bf311223375ae0517dd63c702da8e5b99bb24ad7 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | c623584b6ffacbac6aa012515dab57423cb9f851 (diff) | |
download | llvm-ce1270fc7e3d71f5769d4f9d151b275c6733c89d.zip llvm-ce1270fc7e3d71f5769d4f9d151b275c6733c89d.tar.gz llvm-ce1270fc7e3d71f5769d4f9d151b275c6733c89d.tar.bz2 |
[RISCV] Remove shadow register list passed to AllocateReg when allocating FP registers for calling convention
The _F and _D registers are already sub/super registers. When one gets allocated all its aliases are already marked as allocated. We don't need to explicitly shadow it too.
I believe shadow is for calling conventions like 64-bit Windows on X86 where have rules like this
CCIfType<[i32], CCAssignToRegWithShadow<[ECX , EDX , R8D , R9D ],
[XMM0, XMM1, XMM2, XMM3]>>
For that calling convention the argument number determines which register is used regardless of how many scalars or vectors came before it.
Removing this removes a question I had in D90738.
Differential Revision: https://reviews.llvm.org/D90801
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions