summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
diff options
context:
space:
mode:
authorVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>2016-04-22 13:05:51 +0000
committerVasileios Kalintiris <Vasileios.Kalintiris@imgtec.com>2016-04-22 13:05:51 +0000
commite263b0901903235b7dad59672c9bc2adccbbfffc (patch)
tree18393a16b9a26fbbfb4229d7bda25f29ef6e42f6 /llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
parentd41718e8af5e8adb0126fcb9705ea66c4f095292 (diff)
downloadbcm5719-llvm-e263b0901903235b7dad59672c9bc2adccbbfffc.tar.gz
bcm5719-llvm-e263b0901903235b7dad59672c9bc2adccbbfffc.zip
[mips] Fix a small typo that would leave BLTZC out of getAnalyzableBrOpc().'
llvm-svn: 267149
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSEInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/Mips/MipsSEInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp b/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
index fd1ca3a0417..a9271a3d84e 100644
--- a/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
+++ b/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp
@@ -505,7 +505,7 @@ unsigned MipsSEInstrInfo::getAnalyzableBrOpc(unsigned Opc) const {
Opc == Mips::BEQC || Opc == Mips::BNEC || Opc == Mips::BLTC ||
Opc == Mips::BGEC || Opc == Mips::BLTUC || Opc == Mips::BGEUC ||
Opc == Mips::BGTZC || Opc == Mips::BLEZC || Opc == Mips::BGEZC ||
- Opc == Mips::BGTZC || Opc == Mips::BEQZC || Opc == Mips::BNEZC ||
+ Opc == Mips::BLTZC || Opc == Mips::BEQZC || Opc == Mips::BNEZC ||
Opc == Mips::BC) ? Opc : 0;
}
OpenPOWER on IntegriCloud