summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/align16.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
commit8008de55515f7e1eba8992f87aa2db0eccfd78fe (patch)
tree43934649f610e4d6a0178f520fd1d235f3f9df6b /llvm/test/CodeGen/Mips/align16.ll
parent5dfcda73d538728812fda0ce5b0025f490fd3c6c (diff)
downloadbcm5719-llvm-8008de55515f7e1eba8992f87aa2db0eccfd78fe.tar.gz
bcm5719-llvm-8008de55515f7e1eba8992f87aa2db0eccfd78fe.zip
[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 llvm-svn: 250407
Diffstat (limited to 'llvm/test/CodeGen/Mips/align16.ll')
-rw-r--r--llvm/test/CodeGen/Mips/align16.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Mips/align16.ll b/llvm/test/CodeGen/Mips/align16.ll
index f385adfaa04..ac6685dd552 100644
--- a/llvm/test/CodeGen/Mips/align16.ll
+++ b/llvm/test/CodeGen/Mips/align16.ll
@@ -1,4 +1,4 @@
-; RUN: llc -march=mipsel -mcpu=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=16
+; RUN: llc -march=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=16
@i = global i32 25, align 4
@.str = private unnamed_addr constant [5 x i8] c"%i \0A\00", align 1
OpenPOWER on IntegriCloud