1 ; RUN: llc -march=hexagon < %s | FileCheck %s
5 define i8 @danny(i8* %a0) unnamed_addr #0 {
7 %v0 = cmpxchg i8* %a0, i8 0, i8 1 seq_cst seq_cst
8 %v1 = extractvalue { i8, i1 } %v0, 0
14 define i16 @sammy(i16* %a0) unnamed_addr #0 {
16 %v0 = cmpxchg i16* %a0, i16 0, i16 1 seq_cst seq_cst
17 %v1 = extractvalue { i16, i1 } %v0, 0
23 define i32 @kirby(i32* %a0) unnamed_addr #0 {
25 %v0 = cmpxchg i32* %a0, i32 0, i32 1 seq_cst seq_cst
26 %v1 = extractvalue { i32, i1 } %v0, 0