diff options
author | Craig Topper <craig.topper@intel.com> | 2017-09-15 20:27:59 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2017-09-15 20:27:59 +0000 |
commit | 04370d3a820f65ac91faae9eb026ddea33b4f16e (patch) | |
tree | e3b286f05442a8228073e6a00b0985df5abd0914 /llvm/lib/CodeGen/InlineSpiller.cpp | |
parent | d13d61fdb4166236c77893e08a5c60c0bfa0dc0c (diff) | |
download | bcm5719-llvm-04370d3a820f65ac91faae9eb026ddea33b4f16e.tar.gz bcm5719-llvm-04370d3a820f65ac91faae9eb026ddea33b4f16e.zip |
[X86] Disable _mm512_maskz_set1_epi64 intrinsic on 32-bit targets to prevent a backend isel failure.
The __builtin_ia32_pbroadcastq512_mem_mask we were previously trying to use in 32-bit mode is not implemented in the x86 backend and causes isel to fail in release builds. In debug builds it fails even earlier during legalization with an llvm_unreachable.
While there add the missing test case for this intrinsic for this for 64-bit mode.
This fixes PR34631. D37668 should be able to recover this for 32-bit mode soon. But I wanted to fix the crash ahead of that.
llvm-svn: 313392
Diffstat (limited to 'llvm/lib/CodeGen/InlineSpiller.cpp')
0 files changed, 0 insertions, 0 deletions