40 lines · plain
1; RUN: llc -mtriple=riscv32 < %s \2; RUN: | FileCheck -check-prefix=CHECK-IMP %s3; RUN: llc -mtriple=riscv32 -target-abi ilp32 < %s \4; RUN: | FileCheck -check-prefix=CHECK-IMP %s5; RUN: llc -mtriple=riscv32 -target-abi ilp32e < %s 2>&1 \6; RUN: | FileCheck -check-prefix=CHECK-IMP %s7; RUN: llc -mtriple=riscv32 -mattr=+f -target-abi ilp32 < %s \8; RUN: | FileCheck -check-prefix=CHECK-IMP %s9; RUN: llc -mtriple=riscv32 -mattr=+d -target-abi ilp32 < %s \10; RUN: | FileCheck -check-prefix=CHECK-IMP %s11; RUN: llc -mtriple=riscv64 < %s \12; RUN: | FileCheck -check-prefix=CHECK-IMP %s13; RUN: llc -mtriple=riscv64 -target-abi lp64 < %s \14; RUN: | FileCheck -check-prefix=CHECK-IMP %s15; RUN: llc -mtriple=riscv64 -target-abi lp64e < %s \16; RUN: | FileCheck -check-prefix=CHECK-IMP %s17; RUN: llc -mtriple=riscv64 -mattr=+f -target-abi lp64 < %s \18; RUN: | FileCheck -check-prefix=CHECK-IMP %s19; RUN: llc -mtriple=riscv64 -mattr=+d -target-abi lp64 < %s \20; RUN: | FileCheck -check-prefix=CHECK-IMP %s21; RUN: llc -mtriple=riscv32 -mattr=+f -target-abi ilp32f < %s 2>&1 \22; RUN: | FileCheck -check-prefix=CHECK-IMP %s23; RUN: llc -mtriple=riscv32 -mattr=+d -target-abi ilp32f < %s 2>&1 \24; RUN: | FileCheck -check-prefix=CHECK-IMP %s25; RUN: llc -mtriple=riscv32 -mattr=+d -target-abi ilp32d < %s 2>&1 \26; RUN: | FileCheck -check-prefix=CHECK-IMP %s27; RUN: llc -mtriple=riscv64 -mattr=+f -target-abi lp64f < %s 2>&1 \28; RUN: | FileCheck -check-prefix=CHECK-IMP %s29; RUN: llc -mtriple=riscv64 -mattr=+d -target-abi lp64f < %s 2>&1 \30; RUN: | FileCheck -check-prefix=CHECK-IMP %s31; RUN: llc -mtriple=riscv64 -mattr=+d -target-abi lp64d < %s 2>&1 \32; RUN: | FileCheck -check-prefix=CHECK-IMP %s33 34define void @nothing() nounwind {35; CHECK-IMP-LABEL: nothing:36; CHECK-IMP: # %bb.0:37; CHECK-IMP-NEXT: ret38 ret void39}40