summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/inlineasm3.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-06-01 19:55:10 +0000
committerEric Christopher <echristo@apple.com>2011-06-01 19:55:10 +0000
commit690030c11645c8d39b6689d34ff5044eee394e08 (patch)
treed42747c420941f8041cbe7b611f1235297f455a2 /llvm/test/CodeGen/ARM/inlineasm3.ll
parentaab130d9955dd9cae2f0207d59f9228c830927db (diff)
downloadbcm5719-llvm-690030c11645c8d39b6689d34ff5044eee394e08.tar.gz
bcm5719-llvm-690030c11645c8d39b6689d34ff5044eee394e08.zip
Allow bitcasts between valid types of the same size and vector
types if the vector type is legal. Fixes rdar://9306086 llvm-svn: 132420
Diffstat (limited to 'llvm/test/CodeGen/ARM/inlineasm3.ll')
-rw-r--r--llvm/test/CodeGen/ARM/inlineasm3.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/inlineasm3.ll b/llvm/test/CodeGen/ARM/inlineasm3.ll
index 9d6eba85301..fffb39aa0e9 100644
--- a/llvm/test/CodeGen/ARM/inlineasm3.ll
+++ b/llvm/test/CodeGen/ARM/inlineasm3.ll
@@ -23,3 +23,13 @@ entry:
%asmtmp2 = tail call i32 asm sideeffect "vmov d30, $1\0Avmov.32 $0, d30[0]\0A", "=r,w,~{d30}"(<2 x i32> undef) nounwind
ret void
}
+
+; Radar 9306086
+
+%0 = type { <8 x i8>, <16 x i8>* }
+
+define hidden void @conv4_8_E() nounwind {
+entry:
+%asmtmp31 = call %0 asm "vld1.u8 {$0}, [$1, :128]!\0A", "=w,=r,1"(<16 x i8>* undef) nounwind
+unreachable
+}
OpenPOWER on IntegriCloud