diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-10-15 14:34:23 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-10-15 14:34:23 +0000 |
commit | ed541fe200373553ff28e87f0dfc8194264e1550 (patch) | |
tree | df2c520e298025606e6f2d863b49f3df7cc7e39b /test/CodeGen/Mips/mips16-hf-attr.ll | |
parent | 2aff8451fc65d6631d9651c1c4edb838733bbabb (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/mips16-hf-attr.ll')
-rw-r--r-- | test/CodeGen/Mips/mips16-hf-attr.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Mips/mips16-hf-attr.ll b/test/CodeGen/Mips/mips16-hf-attr.ll index c6ad442fdea..bcae1e92f7c 100644 --- a/test/CodeGen/Mips/mips16-hf-attr.ll +++ b/test/CodeGen/Mips/mips16-hf-attr.ll @@ -1,7 +1,7 @@ ; Check that stubs generation for mips16 hard-float mode does not depend ; on the function 'use-soft-float' attribute's value. ; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel \ -; RUN: -mcpu=mips16 -relocation-model=pic < %s | FileCheck %s +; RUN: -mattr=mips16 -relocation-model=pic < %s | FileCheck %s define void @bar_hf() #0 { ; CHECK: bar_hf: |