11 lines · plain
1; RUN: not llc < %s -mtriple=s390x-linux-gnu -mcpu=z13 -mattr=soft-float -O3 2>&1 | FileCheck %s2;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 %ret8}9 10; CHECK: error: couldn't allocate output register for constraint 'f'11