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:
Kalle Raiskila
2011-01-17 11:59:20 +00:00
parent 5de5d4b6d0
commit 8702e8be8d
2 changed files with 13 additions and 4 deletions
+9
View File
@@ -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
}