From 5ed1099962ec37b66cf19d128f3134ff44543991 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Fri, 19 Oct 2018 20:44:33 +0000 Subject: [X86] Remove some left over code from when MVT:i1 was a legal type for AVX512. llvm-svn: 344813 --- llvm/lib/Target/X86/X86FastISel.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib/Target/X86/X86FastISel.cpp') diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp index 888c43afd8a..a49ad8bd59d 100644 --- a/llvm/lib/Target/X86/X86FastISel.cpp +++ b/llvm/lib/Target/X86/X86FastISel.cpp @@ -3734,9 +3734,6 @@ unsigned X86FastISel::X86MaterializeInt(const ConstantInt *CI, MVT VT) { switch (VT.SimpleTy) { default: llvm_unreachable("Unexpected value type"); case MVT::i1: - // TODO: Support this properly. - if (Subtarget->hasAVX512()) - return 0; VT = MVT::i8; LLVM_FALLTHROUGH; case MVT::i8: Opc = X86::MOV8ri; break; -- cgit v1.2.3