xref: /llvm-project/llvm/test/CodeGen/SystemZ/soft-float-inline-asm-01.ll (revision e943329ba00772f96fbc1fe5dec836cfd0707a38)
1; RUN: not llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 -mattr=soft-float -O3 2>&1 | FileCheck %s
2;
3; Verify that inline asms cannot use fp/vector registers with soft-float.
4
5define float @f1() {
6  %ret = call float asm "", "=f" ()
7  ret float %ret
8}
9
10; CHECK: error: couldn't allocate output register for constraint 'f'
11