26 lines · plain
1; RUN: split-file %s %t2; RUN: cat %t/main.ll %t/_32.ll > %t/32.ll3; RUN: llc -mtriple=mipsel < %t/main.ll | FileCheck %s -check-prefix=324; RUN: llc -mtriple=mipsel < %t/32.ll | FileCheck %s -check-prefix=A32-325; RUN: llc -mtriple=mipsel -mattr=+fp64,+mips32r2 < %t/main.ll | FileCheck %s -check-prefix=326; RUN: llc -mtriple=mips64el -mcpu=mips3 < %t/main.ll | FileCheck %s -check-prefix=647; RUN: llc -mtriple=mips64el -mcpu=mips4 < %t/main.ll | FileCheck %s -check-prefix=648; RUN: llc -mtriple=mips64el -mcpu=mips64 < %t/main.ll | FileCheck %s -check-prefix=649; RUN: llc -mtriple=mips64el -mcpu=mips64 < %t/32.ll | FileCheck %s -check-prefix=A32-6410 11;--- main.ll12; 32: addiu $sp, $sp, -813; 64: daddiu $sp, $sp, -1614; A32-32: addiu $sp, $sp, -3215; A32-64: daddiu $sp, $sp, -3216 17define i32 @foo1() #0 {18entry:19 ret i32 1420}21 22attributes #0 = { "frame-pointer"="all" }23;--- _32.ll24!llvm.module.flags = !{!0}25!0 = !{i32 1, !"override-stack-alignment", i32 32}26