1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu < %s \
3 ; RUN: -verify-machineinstrs -ppc-asm-full-reg-names \
4 ; RUN: -ppc-vsr-nums-as-vr | FileCheck %s
6 define void @dcbt_with_hint_test1(ptr %a) {
7 ; CHECK-LABEL: dcbt_with_hint_test1:
8 ; CHECK: # %bb.0: # %entry
9 ; CHECK-NEXT: dcbt 0, r3
12 tail call void @llvm.ppc.dcbt.with.hint(ptr %a, i32 0)
16 define void @dcbt_with_hint_test2(ptr %a) {
17 ; CHECK-LABEL: dcbt_with_hint_test2:
18 ; CHECK: # %bb.0: # %entry
19 ; CHECK-NEXT: dcbt 0, r3, 8
22 tail call void @llvm.ppc.dcbt.with.hint(ptr %a, i32 8)
26 define void @dcbt_with_hint_test3(ptr %a) {
27 ; CHECK-LABEL: dcbt_with_hint_test3:
28 ; CHECK: # %bb.0: # %entry
29 ; CHECK-NEXT: dcbt 0, r3, 15
32 tail call void @llvm.ppc.dcbt.with.hint(ptr %a, i32 15)
36 define void @dcbtst_with_hint_test1(ptr %a) {
37 ; CHECK-LABEL: dcbtst_with_hint_test1:
38 ; CHECK: # %bb.0: # %entry
39 ; CHECK-NEXT: dcbtst 0, r3
42 tail call void @llvm.ppc.dcbtst.with.hint(ptr %a, i32 0)
46 define void @dcbtst_with_hint_test2(ptr %a) {
47 ; CHECK-LABEL: dcbtst_with_hint_test2:
48 ; CHECK: # %bb.0: # %entry
49 ; CHECK-NEXT: dcbtst 0, r3, 8
52 tail call void @llvm.ppc.dcbtst.with.hint(ptr %a, i32 8)
56 define void @dcbtst_with_hint_test3(ptr %a) {
57 ; CHECK-LABEL: dcbtst_with_hint_test3:
58 ; CHECK: # %bb.0: # %entry
59 ; CHECK-NEXT: dcbtst 0, r3, 15
62 tail call void @llvm.ppc.dcbtst.with.hint(ptr %a, i32 15)
66 declare void @llvm.ppc.dcbt.with.hint(ptr, i32)
67 declare void @llvm.ppc.dcbtst.with.hint(ptr, i32)