1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc -mtriple=aarch64 -o - -O0 %s | FileCheck %s 3target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" 4target triple = "arm64-apple-ios5.0.0" 5 6; This test checks we don't fail isel due to unhandled build_pair nodes. 7define void @compare_and_swap128() { 8; CHECK-LABEL: compare_and_swap128: 9; CHECK: // %bb.0: 10; CHECK-NEXT: //APP 11; CHECK-NEXT: nop 12; CHECK-NEXT: //NO_APP 13; CHECK-NEXT: // implicit-def: $x9 14; CHECK-NEXT: mov w9, w10 15; CHECK-NEXT: mov w8, w8 16; CHECK-NEXT: // kill: def $x8 killed $w8 17; CHECK-NEXT: orr x8, x8, x9, lsl #32 18; CHECK-NEXT: // implicit-def: $x9 19; CHECK-NEXT: str x8, [x9] 20; CHECK-NEXT: ret 21 %1 = call i128 asm sideeffect "nop", "=r,~{memory}"() 22 store i128 %1, ptr undef, align 16 23 ret void 24} 25