Fix a really nasty SROA bug with how we handled out-of-bounds memcpy
[oota-llvm.git] / test / CodeGen / Mips / fp16mix.ll
index 8d85099ba9f205b95a34b0e1ddc6a5f0a9e1da54..a94f838fb675c87082825f2944afd20c6f08d4bb 100644 (file)
@@ -1,8 +1,8 @@
-; 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=fmask1
+; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -relocation-model=static -mips32-function-mask=10 -mips-os16 < %s | FileCheck %s -check-prefix=fmask1
 
-; 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 -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
+; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -relocation-model=static -mips32-function-mask=10. -mips-os16 < %s | FileCheck %s -check-prefix=fmask1nr
 
 ; Function Attrs: nounwind optsize readnone
 define void @foo1()  {
@@ -17,7 +17,7 @@ entry:
 ; fmask1: .set reorder
 ; fmask1: .end foo1
 ; fmask2: .ent foo1
-; fmask2: save {{.*}}
+; fmask2: jrc $ra
 ; fmask2: .end foo1
 ; fmask1nr: .ent foo1
 ; fmask1nr: .set       noreorder
@@ -42,10 +42,10 @@ entry:
 ; fmask2: .set reorder
 ; fmask2: .end foo2
 ; fmask1: .ent foo2
-; fmask1: save {{.*}}
+; fmask1: jrc $ra
 ; fmask1: .end foo2
 ; fmask1nr: .ent       foo2
-; fmask1nr: save       {{.*}}
+; fmask1nr: jrc $ra
 ; fmask1nr: .end       foo2
 }
 
@@ -62,10 +62,10 @@ entry:
 ; fmask1: .set reorder
 ; fmask1: .end foo3
 ; fmask2:  .ent        foo3
-; fmask2:  save        {{.*}}
+; fmask2:  jrc $ra
 ; fmask2:  .end        foo3
 ; fmask1r:  .ent       foo3
-; fmask1r:  save       {{.*}}
+; fmask1r:  jrc $ra
 ; fmask1r:  .end       foo3
 }
 
@@ -82,10 +82,10 @@ entry:
 ; fmask2: .set reorder
 ; fmask2: .end foo4
 ; fmask1: .ent foo4
-; fmask1: save {{.*}}
+; fmask1: jrc $ra
 ; fmask1: .end foo4
 ; fmask1nr: .ent       foo4
-; fmask1nr: save       {{.*}}
+; fmask1nr: jrc $ra
 ; fmask1nr: .end       foo4
 }