14 lines · plain
1; RUN: llc -mtriple=armv7 < %s2; PR150533 4declare i32 @llvm.arm.strexd(i32, i32, ptr) nounwind5declare { i32, i32 } @llvm.arm.ldrexd(ptr) nounwind readonly6 7define void @foo() {8entry:9 %0 = tail call { i32, i32 } @llvm.arm.ldrexd(ptr undef) nounwind10 %1 = extractvalue { i32, i32 } %0, 011 %2 = tail call i32 @llvm.arm.strexd(i32 %1, i32 undef, ptr undef) nounwind12 ret void13}14