32 lines · plain
1; RUN: not llc -filetype=obj %s -o /dev/null 2>&1 | FileCheck %s2; CHECK: error: couldn't allocate input reg for constraint '{d2}'3; CHECK-NEXT: error: couldn't allocate input reg for constraint '{s2}'4; CHECK-NEXT: error: couldn't allocate input reg for constraint '{d3}'5 6target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64"7target triple = "armv8a-unknown-linux-gnueabihf"8 9@a = local_unnamed_addr global i32 0, align 410 11define void @_Z1bv() local_unnamed_addr {12entry:13 %0 = load i32, ptr @a, align 414 %conv = sext i32 %0 to i6415 tail call void asm sideeffect "", "{d2}"(i64 %conv)16 ret void17}18 19define void @_Z1cv() local_unnamed_addr {20entry:21 %0 = load i32, ptr @a, align 422 %conv = sext i32 %0 to i6423 tail call void asm sideeffect "", "{s2}"(i64 %conv)24 ret void25}26 27define void @_Z1dv() local_unnamed_addr {28entry:29 tail call void asm sideeffect "", "{d3}"(<16 x i8> splat (i8 -1))30 ret void31}32