summaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/powif64_16.ll
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-10-15 14:34:23 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-10-15 14:34:23 +0000
commited541fe200373553ff28e87f0dfc8194264e1550 (patch)
treedf2c520e298025606e6f2d863b49f3df7cc7e39b /test/CodeGen/Mips/powif64_16.ll
parent2aff8451fc65d6631d9651c1c4edb838733bbabb (diff)
[mips][mips16] MIPS16 is not a CPU/Architecture but is an ASE.
Summary: The -mcpu=mips16 option caused the Integrated Assembler to crash because it couldn't figure out the architecture revision number to write to the .MIPS.abiflags section. This CPU definition has been removed because, like microMIPS, MIPS16 is an ASE to a base architecture. Reviewers: vkalintiris Subscribers: rkotler, llvm-commits, dsanders Differential Revision: http://reviews.llvm.org/D13656 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips/powif64_16.ll')
-rw-r--r--test/CodeGen/Mips/powif64_16.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Mips/powif64_16.ll b/test/CodeGen/Mips/powif64_16.ll
index 33ec8c40c61..9be1a368b19 100644
--- a/test/CodeGen/Mips/powif64_16.ll
+++ b/test/CodeGen/Mips/powif64_16.ll
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -relocation-model=static < %s | FileCheck %s
+; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s
declare float @llvm.powi.f32(float %Val, i32 %power)
declare double @llvm.powi.f64(double %Val, i32 %power)