Home | History | Annotate | Download | only in PowerPC
      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 
      5 declare void @llvm.prefetch(i8*, i32, i32, i32)
      6 
      7 define void @test(i8* %a, ...) nounwind {
      8 entry:
      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