From f9c9bc09ab76100029eca022ef5ea476054d916c Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Mon, 17 Dec 2018 15:12:53 +0000 Subject: [PATCH] [MIPS GlobalISel] Remove switch statement (fix r349346 for MSVC) Temporarily remove switch statement without any case labels in function legalizeCustom in order to fix r349346 for MSVC. llvm-svn: 349356 --- llvm/lib/Target/Mips/MipsLegalizerInfo.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/llvm/lib/Target/Mips/MipsLegalizerInfo.cpp b/llvm/lib/Target/Mips/MipsLegalizerInfo.cpp index 08e5ddd..1d55557 100644 --- a/llvm/lib/Target/Mips/MipsLegalizerInfo.cpp +++ b/llvm/lib/Target/Mips/MipsLegalizerInfo.cpp @@ -67,10 +67,5 @@ bool MipsLegalizerInfo::legalizeCustom(MachineInstr &MI, MIRBuilder.setInstr(MI); - switch (MI.getOpcode()) { - default: - return false; - } - - return true; + return false; } -- 2.7.4