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