xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/ppc64-icbt-pwr8.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; Test the ICBT instruction on POWER8
2; Copied from the ppc64-prefetch.ll test
3; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr8 < %s | FileCheck %s
4
5declare void @llvm.prefetch(i8*, i32, i32, i32)
6
7define void @test(i8* %a, ...) nounwind {
8entry:
9  call void @llvm.prefetch(i8* %a, i32 0, i32 3, i32 0)
10  ret void
11
12; CHECK-LABEL: @test
13; CHECK: icbt
14}
15
16
17