[MBP] Don't outline short optional branches
[oota-llvm.git] / test / CodeGen / Mips / mips16_32_10.ll
index 330dbfec63b92fd189bbd21c16e09c902e5ea443..ff9831ed762260ca48c6aa8ecd889fb0b12f1d7c 100644 (file)
@@ -4,7 +4,7 @@ define void @foo() #0 {
 entry:
   ret void
 }
-; 16:  .set    nomips16                  # @foo
+; 16:  .set    nomips16
 ; 16:  .ent    foo
 ; 16:  .set    noreorder
 ; 16:  .set    nomacro
@@ -21,11 +21,10 @@ entry:
   ret void
 }
 
-; 16:  .set    mips16                  # @nofoo
+; 16:  .set    mips16
 ; 16:  .ent    nofoo
 
-; 16:  save    {{.+}}
-; 16:  restore {{.+}} 
+; 16:  jrc $ra
 ; 16:  .end    nofoo
 
 define i32 @main() #2 {
@@ -33,7 +32,7 @@ entry:
   ret i32 0
 }
 
-; 16:  .set    nomips16                  # @main
+; 16:  .set    nomips16
 ; 16:  .ent    main
 ; 16:  .set    noreorder
 ; 16:  .set    nomacro
@@ -54,6 +53,6 @@ entry:
 
 
 
-attributes #0 = { nounwind "less-precise-fpmad"="false" "nomips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
-attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false"  "unsafe-fp-math"="false" "use-soft-float"="false" }
-attributes #2 = { nounwind "less-precise-fpmad"="false" "nomips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
+attributes #0 = { nounwind "less-precise-fpmad"="false" "nomips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
+attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false"  "unsafe-fp-math"="false" "use-soft-float"="false" }
+attributes #2 = { nounwind "less-precise-fpmad"="false" "nomips16" "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }