]> granicus.if.org Git - llvm/commit
[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)
commit1ae2155dce9229eb9c11ab81cbb3ff853e00da56
tree0a9de83f499bb849ed0600fd73fae43043768951
parenta8d29d072c7adfad4446469fbdfe7a5b0beb0e07
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368594 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/musttail-fastcall.ll