xref: /llvm-project/llvm/test/CodeGen/PowerPC/GlobalISel/fconstant-unsupported.ll (revision 6ee2f770efb6b1b02438db025af0899ed5bf9313)
1; RUN: not --crash llc -global-isel -mtriple=powerpc-unknown-linux-gnu \
2; RUN:   -o - < %s 2>&1 | FileCheck %s --check-prefix=BE
3; RUN: not --crash llc -global-isel -mtriple=powerpcle-unknown-linux-gnu \
4; RUN:   -o - < %s 2>&1 | FileCheck %s --check-prefix=BIT32
5
6; BE: LLVM ERROR: unable to translate in big endian mode
7
8; BIT32: LLVM ERROR: unable to legalize instruction: [[LOAD:%[0-9]+]]:_(s64) = G_LOAD{{.*}}load (s64) from constant-pool
9
10define double @foo() {
11  entry:
12    ret double 1.000000e+00
13}
14