summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FastISel.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-10-19 20:44:33 +0000
committerCraig Topper <craig.topper@intel.com>2018-10-19 20:44:33 +0000
commit5ed1099962ec37b66cf19d128f3134ff44543991 (patch)
treee9c94a8eaa2712fda42fd52b47e0537a1625de92 /llvm/lib/Target/X86/X86FastISel.cpp
parent6dbdbf40558f8d3fbadabecb35c6f5ac17838824 (diff)
downloadbcm5719-llvm-5ed1099962ec37b66cf19d128f3134ff44543991.tar.gz
bcm5719-llvm-5ed1099962ec37b66cf19d128f3134ff44543991.zip
[X86] Remove some left over code from when MVT:i1 was a legal type for AVX512.
llvm-svn: 344813
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp3
1 files changed, 0 insertions, 3 deletions
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;
OpenPOWER on IntegriCloud