]> granicus.if.org Git - llvm/commit
[MVT][SVE] Scalable vector MVTs (1/3)
authorAmara Emerson <amara.emerson@arm.com>
Thu, 20 Apr 2017 13:08:17 +0000 (13:08 +0000)
committerAmara Emerson <amara.emerson@arm.com>
Thu, 20 Apr 2017 13:08:17 +0000 (13:08 +0000)
commit780f89d9610ac173ac7e0b468a206aa5747d688c
treecb037bc2ea1e8460fb80e21640bf8cbc7a087a09
parent4d16adb1878de762b9075b5752072cc681b10420
[MVT][SVE] Scalable vector MVTs (1/3)

This patch adds a few helper functions to obtain new vector
value types based on existing ones without needing to care
about whether they are scalable or not.

I've confined their use to a few common locations right now,
and targets that don't have scalable vectors should never
need to care about these.

Patch by Graham Hunter.

Differential Revision: https://reviews.llvm.org/D32017

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300838 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ValueTypes.h
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp