25 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=aarch64 -o - -O0 %s | FileCheck %s3target 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: //APP11; CHECK-NEXT: nop12; CHECK-NEXT: //NO_APP13; CHECK-NEXT: // implicit-def: $x914; CHECK-NEXT: mov w9, w1015; CHECK-NEXT: mov w8, w816; CHECK-NEXT: // kill: def $x8 killed $w817; CHECK-NEXT: orr x8, x8, x9, lsl #3218; CHECK-NEXT: // implicit-def: $x919; CHECK-NEXT: str x8, [x9]20; CHECK-NEXT: ret21 %1 = call i128 asm sideeffect "nop", "=r,~{memory}"()22 store i128 %1, ptr undef, align 1623 ret void24}25