[mips][mips64r6] cl[oz], and dcl[oz] are re-encoded in MIPS32r6/MIPS64r6
[oota-llvm.git] / test / CodeGen / Mips / i32k.ll
index c6da8b1ac9a035f407504bc1dd746bf2b14be3e0..73f1302beec0b203ae36305f05947f63d7e21280 100644 (file)
@@ -1,16 +1,23 @@
-; RUN: llc  -march=mipsel -mcpu=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=16a
-; RUN: llc  -march=mipsel -mcpu=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=16b
+; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -relocation-model=pic -mips16-constant-islands=false -O3 < %s | FileCheck %s -check-prefix=16
 
 @.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
 
 define i32 @main() nounwind {
 entry:
   %call = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([4 x i8]* @.str, i32 0, i32 0), i32 1075344593) nounwind
-; 16a: li      ${{[0-9]+}}, 29905
-; 16b: li      ${{[0-9]+}}, 16408
+; 16:  lw      ${{[0-9]+}}, 1f
+; 16:  b       2f
+; 16:  .align  2
+; 16: 1:       .word   1075344593
+; 16: 2:
+
   %call1 = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([4 x i8]* @.str, i32 0, i32 0), i32 -1075344593) nounwind
-; 16a: li      ${{[0-9]+}}, 49127
-; 16b: li      ${{[0-9]+}}, 35631
+
+; 16:  lw      ${{[0-9]+}}, 1f
+; 16:  b       2f
+; 16:  .align  2
+; 16: 1:       .word   -1075344593
+; 16: 2:
   ret i32 0
 }