]> granicus.if.org Git - llvm/commit
[IntrinsicEmitter] Add overloaded type VecOfBitcastsToInt for SVE intrinsics
authorKerry McLaughlin <kerry.mclaughlin@arm.com>
Wed, 2 Oct 2019 09:25:02 +0000 (09:25 +0000)
committerKerry McLaughlin <kerry.mclaughlin@arm.com>
Wed, 2 Oct 2019 09:25:02 +0000 (09:25 +0000)
commite9c6f620f43deda4808f5ba2c20090f7535c252f
treeb2bdbdd61e755f38cf9511335299bb110f38c04f
parent26b694efd7fce0efc9461c7c1badc78bfa18a68e
[IntrinsicEmitter] Add overloaded type VecOfBitcastsToInt for SVE intrinsics

Summary:
This allows intrinsics such as the following to be defined:
 - declare <n x 4 x i32> @llvm.something.nxv4f32(<n x 4 x i32>, <n x 4 x i1>, <n x 4 x float>)

...where <n x 4 x i32> is derived from <n x 4 x float>, but
the element needs bitcasting to int.

Reviewers: c-rhodes, sdesmalen, rovka

Reviewed By: c-rhodes

Subscribers: tschuett, hiraditya, jdoerfert, llvm-commits, cfe-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373437 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Intrinsics.h
include/llvm/IR/Intrinsics.td
lib/IR/Function.cpp
utils/TableGen/IntrinsicEmitter.cpp