From 2591b5c6c3e07e40d3e39f614aba4a927c43bd9f Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Tue, 21 May 2013 17:17:59 +0000 Subject: [PATCH] [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 --- lib/Target/Mips/MipsISelLowering.cpp | 2 +- test/CodeGen/Mips/divrem.ll | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp index 3f06cbd94d2..1678998a9a6 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 -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 d221501a315..47cebbe4e52 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: