[X86] Remove some left over code from when MVT:i1 was a legal type for AVX512.

llvm-svn: 344813
This commit is contained in:
Craig Topper 2018-10-19 20:44:33 +00:00
parent 6dbdbf4055
commit 5ed1099962
1 changed files with 0 additions and 3 deletions

View File

@ -3734,9 +3734,6 @@ unsigned X86FastISel::X86MaterializeInt(const ConstantInt *CI, MVT VT) {
switch (VT.SimpleTy) { switch (VT.SimpleTy) {
default: llvm_unreachable("Unexpected value type"); default: llvm_unreachable("Unexpected value type");
case MVT::i1: case MVT::i1:
// TODO: Support this properly.
if (Subtarget->hasAVX512())
return 0;
VT = MVT::i8; VT = MVT::i8;
LLVM_FALLTHROUGH; LLVM_FALLTHROUGH;
case MVT::i8: Opc = X86::MOV8ri; break; case MVT::i8: Opc = X86::MOV8ri; break;