diff options
author | Craig Topper <craig.topper@gmail.com> | 2016-09-05 06:43:06 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2016-09-05 06:43:06 +0000 |
commit | d9ca3d97efa24cfd121a6f3beab7bf8af38d0cb7 (patch) | |
tree | cdfb945eddfa37651647d06e2da05c5952583dca /llvm/lib/Target/X86/X86RegisterInfo.h | |
parent | 87a675be507204a2b2cff32d960463d314b328ed (diff) | |
download | bcm5719-llvm-d9ca3d97efa24cfd121a6f3beab7bf8af38d0cb7.tar.gz bcm5719-llvm-d9ca3d97efa24cfd121a6f3beab7bf8af38d0cb7.zip |
[AVX-512] Simplify X86InstrInfo::copyPhysReg for 128/256-bit vectors with AVX512, but not VLX. We should use the VEX opcodes and trust the register allocator to not use the extended XMM/YMM register space.
Previously we were extending to copying the whole ZMM register. The register allocator shouldn't use XMM16-31 or YMM16-31 in this configuration as the instructions to spill them aren't available.
llvm-svn: 280648
Diffstat (limited to 'llvm/lib/Target/X86/X86RegisterInfo.h')
-rw-r--r-- | llvm/lib/Target/X86/X86RegisterInfo.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86RegisterInfo.h b/llvm/lib/Target/X86/X86RegisterInfo.h index 8d0094cbf3d..468012b4394 100644 --- a/llvm/lib/Target/X86/X86RegisterInfo.h +++ b/llvm/lib/Target/X86/X86RegisterInfo.h @@ -137,9 +137,6 @@ public: unsigned getSlotSize() const { return SlotSize; } }; -//get512BitRegister - X86 utility - returns 512-bit super register -unsigned get512BitSuperRegister(unsigned Reg); - } // End llvm namespace #endif |