brintos

brintos / llvm-project-archived public Read only

0
0
Text · 571 B · 4c5a73e Raw
14 lines · plain
1; Check that use of the AIX/XCOFF related classes with ppc64le would2; cause llc to die with an appropriate message instead of proceeding3; with an invalid state.4 5; RUN: not --crash llc < %s -mtriple powerpc64le--aix-xcoff 2>&1 \6; RUN:   | FileCheck --check-prefix=AIXXCOFF %s7; AIXXCOFF: ERROR: XCOFF is not supported for little-endian8 9; RUN: not --crash llc < %s -mtriple powerpc64le--aix-macho 2>&1 \10; RUN:   | FileCheck --check-prefix=AIXMACHO %s11; AIXMACHO: ERROR: cannot create AIX PPC Assembly Printer for a little-endian target12 13define i32 @a() { ret i32 0 }14