[AVX-512] Fix a bug in getLargestLegalSuperClass where we inflated to VR128X/VR256X...
authorCraig Topper <craig.topper@gmail.com>
Sat, 8 Oct 2016 18:49:57 +0000 (18:49 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 8 Oct 2016 18:49:57 +0000 (18:49 +0000)
commit086f0c14019e7af442bb893b125bf579df5372af
tree4b63ab1e4cb99fb0c8febe990544770b0c8101eb
parent2413d475fcd4a3e7fc56920eaaf8a41900af45af
[AVX-512] Fix a bug in getLargestLegalSuperClass where we inflated to VR128X/VR256X even when VLX isn't supported.

This seems to have been responsible for the XMM16-31 spills observed in PR29112. With this fixed the test case has been modified to no longer have a spill of XMM16.

llvm-svn: 283668
llvm/lib/Target/X86/X86RegisterInfo.cpp
llvm/test/CodeGen/X86/pr29112.ll