1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-unknown \ 3; RUN: --ppc-asm-full-reg-names -mattr=+msync -mcpu=pwr7 < %s | FileCheck %s 4; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown \ 5; RUN: --ppc-asm-full-reg-names -mattr=+msync -mcpu=pwr8 < %s | FileCheck %s 6; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-aix \ 7; RUN: --ppc-asm-full-reg-names -mattr=+msync -mcpu=pwr7 < %s | FileCheck %s 8; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-aix \ 9; RUN: --ppc-asm-full-reg-names -mattr=+msync -mcpu=pwr7 < %s | FileCheck %s 10 11define dso_local void @test_builtin_ppc_iospace_lwsync() { 12; CHECK-LABEL: test_builtin_ppc_iospace_lwsync: 13; CHECK: # %bb.0: # %entry 14; CHECK-NEXT: msync 15; CHECK-NEXT: blr 16entry: 17 call void @llvm.ppc.iospace.lwsync() 18 ret void 19} 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: # %entry 25; CHECK-NEXT: msync 26; CHECK-NEXT: blr 27entry: 28 call void @llvm.ppc.iospace.sync() 29 ret void 30} 31declare void @llvm.ppc.iospace.sync() 32