1; RUN: llc -mtriple=aarch64 -o - -O0 %s | FileCheck %s
2target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
3target triple = "arm64-apple-ios5.0.0"
4
5; This test checks we don't fail isel due to unhandled build_pair nodes.
6; CHECK: bfi
7define void @compare_and_swap128() {
8  %1 = call i128 asm sideeffect "nop", "=r,~{memory}"()
9  store i128 %1, i128* undef, align 16
10  ret void
11}
12
13
14