summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode
diff options
context:
space:
mode:
authorGraham Hunter <graham.hunter@arm.com>2019-05-29 12:22:54 +0000
committerGraham Hunter <graham.hunter@arm.com>2019-05-29 12:22:54 +0000
commitf4fc01f8dd3a5dfd2060d1ad0df6b90e8351ddf7 (patch)
tree56875bf42be9322f947178d01385a813ea566f46 /llvm/test/Bitcode
parent4c5a0d1683e1bc5d0e12de8806b37ffbdc8c5904 (diff)
downloadbcm5719-llvm-f4fc01f8dd3a5dfd2060d1ad0df6b90e8351ddf7.tar.gz
bcm5719-llvm-f4fc01f8dd3a5dfd2060d1ad0df6b90e8351ddf7.zip
[SVE][IR] Scalable Vector IR Type
* Adds a 'scalable' flag to VectorType * Adds an 'ElementCount' class to VectorType to pass (possibly scalable) vector lengths, with overloaded operators. * Modifies existing helper functions to use ElementCount * Adds support for serializing/deserializing to/from both textual and bitcode IR formats * Extends the verifier to reject global variables of scalable types * Updates documentation See the latest version of the RFC here: http://lists.llvm.org/pipermail/llvm-dev/2018-July/124396.html Reviewers: rengolin, lattner, echristo, chandlerc, hfinkel, rkruppe, samparker, SjoerdMeijer, greened, sebpop Reviewed By: hfinkel, sebpop Differential Revision: https://reviews.llvm.org/D32530 llvm-svn: 361953
Diffstat (limited to 'llvm/test/Bitcode')
-rw-r--r--llvm/test/Bitcode/compatibility.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/compatibility.ll b/llvm/test/Bitcode/compatibility.ll
index 6c3a6887346..06b81fa14a8 100644
--- a/llvm/test/Bitcode/compatibility.ll
+++ b/llvm/test/Bitcode/compatibility.ll
@@ -917,6 +917,10 @@ define void @typesystem() {
; CHECK: %t7 = alloca x86_mmx
%t8 = alloca %opaquety*
; CHECK: %t8 = alloca %opaquety*
+ %t9 = alloca <4 x i32>
+ ; CHECK: %t9 = alloca <4 x i32>
+ %t10 = alloca <vscale x 4 x i32>
+ ; CHECK: %t10 = alloca <vscale x 4 x i32>
ret void
}
OpenPOWER on IntegriCloud