diff options
author | Richard Osborne <richard@xmos.com> | 2009-07-15 15:46:56 +0000 |
---|---|---|
committer | Richard Osborne <richard@xmos.com> | 2009-07-15 15:46:56 +0000 |
commit | 3af282f16a5189c864ac3032387b593adfad49fe (patch) | |
tree | b0f3e321152f49dd95d1354c245cc99d3d91ca09 /test/CodeGen/XCore/2009-07-15-store192.ll | |
parent | f301c2299c95a1f60e879be4a3b0179ed3935d44 (diff) | |
download | llvm-3af282f16a5189c864ac3032387b593adfad49fe.tar.gz llvm-3af282f16a5189c864ac3032387b593adfad49fe.tar.bz2 llvm-3af282f16a5189c864ac3032387b593adfad49fe.tar.xz |
Fix XCoreTargetLowering::isLegalAddressingMode to handle non simple VTs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/XCore/2009-07-15-store192.ll')
-rw-r--r-- | test/CodeGen/XCore/2009-07-15-store192.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/XCore/2009-07-15-store192.ll b/test/CodeGen/XCore/2009-07-15-store192.ll new file mode 100644 index 0000000000..874d8dc3d7 --- /dev/null +++ b/test/CodeGen/XCore/2009-07-15-store192.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=xcore > %t1.s +define void @store32(i8* %p) nounwind { +entry: + %0 = bitcast i8* %p to i192* + store i192 0, i192* %0, align 4 + ret void +} |