aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-09-23 22:36:11 +0000
committerReed Kotler <rkotler@mips.com>2013-09-23 22:36:11 +0000
commitf2058addc2aa221d0fd744180a2c04a38ebddcd0 (patch)
treef3b7391b5731b7e28c535f88b5ab6656b561fb92 /test
parent54e82495e99632c2d1009ac0dde796c0e9e651f7 (diff)
downloadexternal_llvm-f2058addc2aa221d0fd744180a2c04a38ebddcd0.zip
external_llvm-f2058addc2aa221d0fd744180a2c04a38ebddcd0.tar.gz
external_llvm-f2058addc2aa221d0fd744180a2c04a38ebddcd0.tar.bz2
Make nomips16 mask not repeat if it ends with a '.'.
This mask is purely for debugging and testing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/Mips/fp16mix.ll19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/fp16mix.ll b/test/CodeGen/Mips/fp16mix.ll
index 73b1156..8d85099 100644
--- a/test/CodeGen/Mips/fp16mix.ll
+++ b/test/CodeGen/Mips/fp16mix.ll
@@ -2,6 +2,8 @@
; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -soft-float -mips16-hard-float -relocation-model=static -mips32-function-mask=01 -mips-os16 < %s | FileCheck %s -check-prefix=fmask2
+; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -soft-float -mips16-hard-float -relocation-model=static -mips32-function-mask=10. -mips-os16 < %s | FileCheck %s -check-prefix=fmask1nr
+
; Function Attrs: nounwind optsize readnone
define void @foo1() {
entry:
@@ -17,6 +19,14 @@ entry:
; fmask2: .ent foo1
; fmask2: save {{.*}}
; fmask2: .end foo1
+; fmask1nr: .ent foo1
+; fmask1nr: .set noreorder
+; fmask1nr: .set nomacro
+; fmask1nr: .set noat
+; fmask1nr: .set at
+; fmask1nr: .set macro
+; fmask1nr: .set reorder
+; fmask1nr: .end foo1
}
; Function Attrs: nounwind optsize readnone
@@ -34,6 +44,9 @@ entry:
; fmask1: .ent foo2
; fmask1: save {{.*}}
; fmask1: .end foo2
+; fmask1nr: .ent foo2
+; fmask1nr: save {{.*}}
+; fmask1nr: .end foo2
}
; Function Attrs: nounwind optsize readnone
@@ -51,6 +64,9 @@ entry:
; fmask2: .ent foo3
; fmask2: save {{.*}}
; fmask2: .end foo3
+; fmask1r: .ent foo3
+; fmask1r: save {{.*}}
+; fmask1r: .end foo3
}
; Function Attrs: nounwind optsize readnone
@@ -68,6 +84,9 @@ entry:
; fmask1: .ent foo4
; fmask1: save {{.*}}
; fmask1: .end foo4
+; fmask1nr: .ent foo4
+; fmask1nr: save {{.*}}
+; fmask1nr: .end foo4
}