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.
|
; RUN: llvm-as < %s | llvm-dis > %t.orig
|
|
; RUN: llvm-as < %s | llvm-c-test --echo > %t.echo
|
|
; RUN: diff -w %t.orig %t.echo
|
|
|
|
define i32 @main() {
|
|
%1 = alloca i32, align 4
|
|
%2 = cmpxchg i32* %1, i32 2, i32 3 seq_cst acquire
|
|
%3 = extractvalue { i32, i1 } %2, 0
|
|
ret i32 %3
|
|
}
|