[X86] Disable use of zmm registers for varargs musttail calls under prefer-vector...
authorCraig Topper <craig.topper@intel.com>
Mon, 12 Aug 2019 17:43:26 +0000 (17:43 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 12 Aug 2019 17:43:26 +0000 (17:43 +0000)
commit09d5d1533910aee67eff44b5d407b76ccdb4a048
tree5622b6e54e1e64255dfcc295a154fa1cb59ccc11
parent86876422ef086c9b98da61eee7d917dfe0fc404d
[X86] Disable use of zmm registers for varargs musttail calls under prefer-vector-width=256 and min-legal-vector-width=256.

Under this config, the v16f32 type we try to use isn't to a register
class so the getRegClassFor call will fail.

llvm-svn: 368594
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/musttail-fastcall.ll