mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Don't crash SPU BE with memory accesses with big alignmnet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123620 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -162,3 +162,12 @@ define void @store_misaligned( i32 %val, i32* %ptr) {
|
||||
store i32 %val, i32*%ptr, align 2
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @store_v8( <8 x float> %val, <8 x float>* %ptr )
|
||||
{
|
||||
;CHECK: stq
|
||||
;CHECK: stq
|
||||
;CHECK: bi $lr
|
||||
store <8 x float> %val, <8 x float>* %ptr
|
||||
ret void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user