You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
307 B
11 lines
307 B
; RUN: not llc -mtriple=i686-- -no-integrated-as < %s 2>&1 | FileCheck %s
|
|
|
|
@x = global i32 0, align 4
|
|
|
|
; CHECK: error: constraint 'n' expects an integer constant expression
|
|
define void @foo() {
|
|
%a = getelementptr i32, i32* @x, i32 1
|
|
call void asm sideeffect "foo $0", "n"(i32* %a) nounwind
|
|
ret void
|
|
}
|