1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/CodeGen/SystemZ/soft-float-inline-asm-02.ll
2020-02-04 10:52:10 -05:00

11 lines
326 B
LLVM

; RUN: not llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 -mattr=soft-float -O3 2>&1 | FileCheck %s
;
; Verify that inline asms cannot use fp/vector registers with soft-float.
define float @f1() {
%ret = call float asm "", "={f0}" ()
ret float %ret
}
; CHECK: error: couldn't allocate output register for constraint '{f0}'