1; Test the ICBT instruction on POWER8
2; Copied from the ppc64-prefetch.ll test
3; RUN: llc -verify-machineinstrs -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