brintos

brintos / llvm-project-archived public Read only

0
0
Text · 517 B · c84eb85 Raw
17 lines · plain
1; Test the ICBT instruction is not emitted on POWER72; Based on the ppc64-prefetch.ll test3; RUN: not --crash llc -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 < %s 2>&1 | FileCheck %s4 5declare void @llvm.prefetch(ptr, i32, i32, i32)6 7define void @test(ptr %a, ...) nounwind {8entry:9  call void @llvm.prefetch(ptr %a, i32 0, i32 3, i32 0)10  ret void11 12; FIXME: Crashing is not really the correct behavior here, we really should just emit nothing13; CHECK: Cannot select: {{0x[0-9,a-f]+|t[0-9]+}}: ch = Prefetch14 15}16 17