mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-13 06:25:02 +00:00
7f47ce9662
a big code size win since before they were expanding to upto 16 instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75901 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
264 B
LLVM
10 lines
264 B
LLVM
; RUN: llvm-as < %s | llc -march=xcore > %t1.s
|
|
; RUN: grep "bl __misaligned_store" %t1.s | count 1
|
|
|
|
; Byte aligned store. Expands to call to __misaligned_store.
|
|
define void @align1(i32* %p, i32 %val) nounwind {
|
|
entry:
|
|
store i32 %val, i32* %p, align 1
|
|
ret void
|
|
}
|