summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>2018-12-17 15:12:53 +0000
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>2018-12-17 15:12:53 +0000
commitf9c9bc09ab76100029eca022ef5ea476054d916c (patch)
tree2f7c64914efbcf4d90511222a2ddb230f4e22975 /llvm/lib/Target
parentae3b66b7b06a1c649134079c7ea7f4eb36912157 (diff)
downloadbcm5719-llvm-f9c9bc09ab76100029eca022ef5ea476054d916c.tar.gz
bcm5719-llvm-f9c9bc09ab76100029eca022ef5ea476054d916c.zip
[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
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/Mips/MipsLegalizerInfo.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/Target/Mips/MipsLegalizerInfo.cpp b/llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
index 08e5ddd0342..1d55557f857 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;
}
OpenPOWER on IntegriCloud