mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-06 05:06:45 +00:00
Since ARM's prefetch implementation predicted the presence of a instruction
cache prefetch and now that the info from "prefetch" to "ARMPreload" is present, only add a testcase for PLI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132978 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a767330f5
commit
79abd1c27c
@ -64,3 +64,14 @@ entry:
|
||||
}
|
||||
|
||||
declare void @llvm.prefetch(i8*, i32, i32, i32) nounwind
|
||||
|
||||
define void @t5(i8* %ptr) nounwind {
|
||||
entry:
|
||||
; ARM: t5:
|
||||
; ARM: pli [r0]
|
||||
|
||||
; THUMB2: t5:
|
||||
; THUMB2: pli [r0]
|
||||
tail call void @llvm.prefetch( i8* %ptr, i32 0, i32 3, i32 0 )
|
||||
ret void
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user