13 lines · plain
1; RUN: not llc -mtriple=i386-unknown-linux-gnu -o - %s 2>&1 | FileCheck %s2 3; CHECK: error: couldn't allocate input reg for constraint '{esp}'4define dso_local i64 @test_esp(i64 %in) local_unnamed_addr nounwind {5entry:6 %0 = tail call i64 asm sideeffect "mov $1, $0", "=r,{esp},~{dirflag},~{fpsr},~{flags}"(i64 81985529216486895)7 %conv = trunc i64 %0 to i328 %add = add nsw i32 %conv, 39 %conv1 = sext i32 %add to i6410 ret i64 %conv111}12 13