blob: d1d2e03548e2527ce8de8b68b97d550348a47414 [file] [log] [blame]
Simon Pilgrimfc4d4b22016-07-19 13:35:11 +00001; RUN: not llc -mtriple=arm64-eabi < %s 2> %t
Tim Northover00ed9962014-03-29 10:18:08 +00002; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
3
4; Check for at least one invalid constant.
5; CHECK-ERRORS: error: invalid operand for inline asm constraint 'N'
6
7define i32 @constraint_N(i32 %i, i32 %j) nounwind {
8entry:
9 %0 = tail call i32 asm sideeffect "movk $0, $1", "=r,N"(i64 1311761352401879040) nounwind
10 ret i32 %0
11}