32 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-unknown \3; RUN: --ppc-asm-full-reg-names -mattr=+msync -mcpu=pwr7 < %s | FileCheck %s4; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown \5; RUN: --ppc-asm-full-reg-names -mattr=+msync -mcpu=pwr8 < %s | FileCheck %s6; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-aix \7; RUN: --ppc-asm-full-reg-names -mattr=+msync -mcpu=pwr7 < %s | FileCheck %s8; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-aix \9; RUN: --ppc-asm-full-reg-names -mattr=+msync -mcpu=pwr7 < %s | FileCheck %s10 11define dso_local void @test_builtin_ppc_iospace_lwsync() {12; CHECK-LABEL: test_builtin_ppc_iospace_lwsync:13; CHECK: # %bb.0: # %entry14; CHECK-NEXT: msync15; CHECK-NEXT: blr16entry:17 call void @llvm.ppc.iospace.lwsync()18 ret void19}20declare void @llvm.ppc.iospace.lwsync()21 22define dso_local void @test_builtin_ppc_iospace_sync() {23; CHECK-LABEL: test_builtin_ppc_iospace_sync:24; CHECK: # %bb.0: # %entry25; CHECK-NEXT: msync26; CHECK-NEXT: blr27entry:28 call void @llvm.ppc.iospace.sync()29 ret void30}31declare void @llvm.ppc.iospace.sync()32