brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 9cdb842 Raw
29 lines · plain
1; RUN: llc -mtriple=mips < %s | FileCheck --check-prefixes=ALL,O32 %s2; RUN: llc -mtriple=mipsel < %s | FileCheck --check-prefixes=ALL,O32 %s3 4; RUN-TODO: llc -mtriple=mips64 -target-abi o32 < %s | FileCheck --check-prefixes=ALL,O32 %s5; RUN-TODO: llc -mtriple=mips64el -target-abi o32 < %s | FileCheck --check-prefixes=ALL,O32 %s6 7; RUN: llc -mtriple=mips64 -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s8; RUN: llc -mtriple=mips64el -target-abi n32 < %s | FileCheck --check-prefixes=ALL,N32 %s9 10; RUN: llc -mtriple=mips64 -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s11; RUN: llc -mtriple=mips64el -target-abi n64 < %s | FileCheck --check-prefixes=ALL,N64 %s12 13; Test the stack alignment for all ABI's and byte orders as specified by14; section 5 of MD00305 (MIPS ABIs Described).15 16define void @local_bytes_1() nounwind {17entry:18        %0 = alloca i819        ret void20}21 22; ALL-LABEL: local_bytes_1:23; O32:           addiu $sp, $sp, -824; O32:           addiu $sp, $sp, 825; N32:           addiu $sp, $sp, -1626; N32:           addiu $sp, $sp, 1627; N64:           addiu $sp, $sp, -1628; N64:           addiu $sp, $sp, 1629