aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2013-05-21 17:17:59 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2013-05-21 17:17:59 +0000
commit2591b5c6c3e07e40d3e39f614aba4a927c43bd9f (patch)
tree8062ffe072c1278bfa1a6feda99825207c32ee06
parent1d4d32398ddb19520b2a84acae3b7807ad74602b (diff)
downloadexternal_llvm-2591b5c6c3e07e40d3e39f614aba4a927c43bd9f.zip
external_llvm-2591b5c6c3e07e40d3e39f614aba4a927c43bd9f.tar.gz
external_llvm-2591b5c6c3e07e40d3e39f614aba4a927c43bd9f.tar.bz2
[mips] Rename option to make it compatible with gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182397 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Mips/MipsISelLowering.cpp2
-rw-r--r--test/CodeGen/Mips/divrem.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp
index 3f06cbd..1678998 100644
--- a/lib/Target/Mips/MipsISelLowering.cpp
+++ b/lib/Target/Mips/MipsISelLowering.cpp
@@ -44,7 +44,7 @@ LargeGOT("mxgot", cl::Hidden,
cl::desc("MIPS: Enable GOT larger than 64k."), cl::init(false));
static cl::opt<bool>
-NoZeroDivCheck("mnocheck-zero-division", cl::Hidden,
+NoZeroDivCheck("mno-check-zero-division", cl::Hidden,
cl::desc("MIPS: Don't trap on integer division by zero."),
cl::init(false));
diff --git a/test/CodeGen/Mips/divrem.ll b/test/CodeGen/Mips/divrem.ll
index d221501..47cebbe 100644
--- a/test/CodeGen/Mips/divrem.ll
+++ b/test/CodeGen/Mips/divrem.ll
@@ -1,5 +1,5 @@
; RUN: llc -march=mips < %s | FileCheck %s -check-prefix=TRAP
-; RUN: llc -march=mips -mnocheck-zero-division < %s |\
+; RUN: llc -march=mips -mno-check-zero-division < %s |\
; RUN: FileCheck %s -check-prefix=NOCHECK
; TRAP: sdiv1: