[x32] Fix FrameIndex check in SelectLEA64_32Addr
[oota-llvm.git] / test / CodeGen / Mips / mips16_32_9.ll
index f5ff3684901551c5c4e190ecaedd7cdc64f966be..8543147bed03c361f07f1b0d6397002f5719b6f7 100644 (file)
@@ -5,17 +5,16 @@ entry:
   ret void
 }
 
-; 32:  .set    mips16                  # @foo
+; 32:  .set    mips16
 ; 32:  .ent    foo
-; 32:  save    {{.+}}
-; 32:  restore {{.+}} 
+; 32:  jrc $ra
 ; 32:  .end    foo
 define void @nofoo() #1 {
 entry:
   ret void
 }
 
-; 32:  .set    nomips16                  # @nofoo
+; 32:  .set    nomips16
 ; 32:  .ent    nofoo
 ; 32:  .set    noreorder
 ; 32:  .set    nomacro
@@ -31,10 +30,9 @@ entry:
   ret i32 0
 }
 
-; 32:  .set    mips16                  # @main
+; 32:  .set    mips16
 ; 32:  .ent    main
-; 32:  save    {{.+}}
-; 32:  restore {{.+}} 
+; 32:  jrc $ra
 ; 32:  .end    main
 
 
@@ -46,6 +44,6 @@ entry:
 
 
 
-attributes #0 = { nounwind "less-precise-fpmad"="false" "mips16" "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" "mips16" "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" "mips16" "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" "mips16" "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" }