summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/PowerPC/GlobalISel/fconstant-unsupported.ll
blob: f8092823187864e6bfc0ac22ad621cb2f5883f13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: not --crash llc -global-isel -mtriple=powerpc-unknown-linux-gnu \
; RUN:   -o - < %s 2>&1 | FileCheck %s --check-prefix=BE
; RUN: not --crash llc -global-isel -mtriple=powerpcle-unknown-linux-gnu \
; RUN:   -o - < %s 2>&1 | FileCheck %s --check-prefix=BIT32

; BE: LLVM ERROR: unable to translate in big endian mode

; BIT32: LLVM ERROR: unable to legalize instruction: [[LOAD:%[0-9]+]]:_(s64) = G_LOAD{{.*}}load (s64) from constant-pool

define double @foo() {
  entry:
    ret double 1.000000e+00
}