diff options
author | Eric Christopher <echristo@apple.com> | 2011-06-01 19:55:10 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-06-01 19:55:10 +0000 |
commit | 9aaa02a1d26a0969e95b285ea1190920a5bb37db (patch) | |
tree | 1abe38e491c7250219a29fe82edf5f3634784f46 /test/CodeGen/ARM | |
parent | 4abc5fea9c6c3b329fec58840999db06e108e535 (diff) | |
download | llvm-9aaa02a1d26a0969e95b285ea1190920a5bb37db.tar.gz llvm-9aaa02a1d26a0969e95b285ea1190920a5bb37db.tar.bz2 llvm-9aaa02a1d26a0969e95b285ea1190920a5bb37db.tar.xz |
Allow bitcasts between valid types of the same size and vector
types if the vector type is legal.
Fixes rdar://9306086
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r-- | test/CodeGen/ARM/inlineasm3.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/inlineasm3.ll b/test/CodeGen/ARM/inlineasm3.ll index 9d6eba8530..fffb39aa0e 100644 --- a/test/CodeGen/ARM/inlineasm3.ll +++ b/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 +} |