mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239690 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
621 B
LLVM
16 lines
621 B
LLVM
; RUN: llc -march=hexagon -enable-aa-sched-mi < %s
|
|
; REQUIRES: asserts
|
|
|
|
; Make sure the base is a register and not an address.
|
|
|
|
define fastcc void @Get_lsp_pol(i32* nocapture %f) #0 {
|
|
entry:
|
|
%f5 = alloca i32, align 4
|
|
%arrayidx103 = getelementptr inbounds i32, i32* %f, i32 4
|
|
store i32 0, i32* %arrayidx103, align 4
|
|
%f5.0.load185 = load volatile i32, i32* %f5, align 4
|
|
ret void
|
|
}
|
|
|
|
attributes #0 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"="true" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
|