38 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu < %s \3; RUN: -verify-machineinstrs -ppc-asm-full-reg-names \4; RUN: -ppc-vsr-nums-as-vr -mcpu=pwr10 | FileCheck %s5; RUN: llc -mtriple=powerpc64-unknown-linux-gnu < %s \6; RUN: -verify-machineinstrs -ppc-asm-full-reg-names \7; RUN: -ppc-vsr-nums-as-vr -mcpu=pwr10 | FileCheck %s8 9; Function Attrs: nounwind10define void @dcbfps_test(ptr %a) {11; CHECK-LABEL: dcbfps_test:12; CHECK: # %bb.0: # %entry13; CHECK-NEXT: addi r3, r3, 314; CHECK-NEXT: dcbfps 0, r315; CHECK-NEXT: blr16entry:17 %add.a = getelementptr inbounds i8, ptr %a, i64 318 tail call void @llvm.ppc.dcbfps(ptr %add.a)19ret void20}21 22declare void @llvm.ppc.dcbfps(ptr)23 24; Function Attrs: nounwind25define void @dcbstps_test(ptr %a) {26; CHECK-LABEL: dcbstps_test:27; CHECK: # %bb.0: # %entry28; CHECK-NEXT: addi r3, r3, 329; CHECK-NEXT: dcbstps 0, r330; CHECK-NEXT: blr31entry:32 %add.a = getelementptr inbounds i8, ptr %a, i64 333 tail call void @llvm.ppc.dcbstps(ptr %add.a)34ret void35}36 37declare void @llvm.ppc.dcbstps(ptr)38