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
11 define dso_local void @test_builtin_ppc_iospace_lwsync() {
12 ; CHECK-LABEL: test_builtin_ppc_iospace_lwsync:
13 ; CHECK: # %bb.0: # %entry
17 call void @llvm.ppc.iospace.lwsync()
20 declare void @llvm.ppc.iospace.lwsync()
22 define dso_local void @test_builtin_ppc_iospace_sync() {
23 ; CHECK-LABEL: test_builtin_ppc_iospace_sync:
24 ; CHECK: # %bb.0: # %entry
28 call void @llvm.ppc.iospace.sync()
31 declare void @llvm.ppc.iospace.sync()