Switch the constant expression speculation cost evaluation away from
[oota-llvm.git] / test / CodeGen / Mips / i32k.ll
1 ; RUN: llc  -march=mipsel -mcpu=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=16a
2 ; RUN: llc  -march=mipsel -mcpu=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=16b
3
4 @.str = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
5
6 define i32 @main() nounwind {
7 entry:
8   %call = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([4 x i8]* @.str, i32 0, i32 0), i32 1075344593) nounwind
9 ; 16a:  li      ${{[0-9]+}}, 29905
10 ; 16b:  li      ${{[0-9]+}}, 16408
11   %call1 = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([4 x i8]* @.str, i32 0, i32 0), i32 -1075344593) nounwind
12 ; 16a:  li      ${{[0-9]+}}, 49127
13 ; 16b:  li      ${{[0-9]+}}, 35631
14   ret i32 0
15 }
16
17 declare i32 @printf(i8* nocapture, ...) nounwind