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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 19 13:44:33 PDT 2018


Author: ctopper
Date: Fri Oct 19 13:44:33 2018
New Revision: 344813

URL: http://llvm.org/viewvc/llvm-project?rev=344813&view=rev
Log:
[X86] Remove some left over code from when MVT:i1 was a legal type for AVX512.

Modified:
    llvm/trunk/lib/Target/X86/X86FastISel.cpp

Modified: llvm/trunk/lib/Target/X86/X86FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FastISel.cpp?rev=344813&r1=344812&r2=344813&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86FastISel.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FastISel.cpp Fri Oct 19 13:44:33 2018
@@ -3734,9 +3734,6 @@ unsigned X86FastISel::X86MaterializeInt(
   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;




More information about the llvm-commits mailing list