mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 16:09:02 +00:00
38caf19333
Currently we have a number of tests that fail with -verify-machineinstrs. To detect this cases earlier we add the option to the testcases with the exception of tests that will currently fail with this option. PR 27456 keeps track of this failures. No code review, as discussed with Hal Finkel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277624 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
386 B
LLVM
17 lines
386 B
LLVM
; Test the ICBT instruction on POWER8
|
|
; Copied from the ppc64-prefetch.ll test
|
|
; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr8 < %s | FileCheck %s
|
|
|
|
declare void @llvm.prefetch(i8*, i32, i32, i32)
|
|
|
|
define void @test(i8* %a, ...) nounwind {
|
|
entry:
|
|
call void @llvm.prefetch(i8* %a, i32 0, i32 3, i32 0)
|
|
ret void
|
|
|
|
; CHECK-LABEL: @test
|
|
; CHECK: icbt
|
|
}
|
|
|
|
|