Displaying 3 results from an estimated 3 matches for "leaf7".
Did you mean:
leaf
2018 Jul 23
2
LLVM FunctionType cannot be returned as VectorType?
...t, 1);
int64_t r2 = _mm256_extract_epi64(result, 2);
int64_t r3 = _mm256_extract_epi64(result, 3);
////////////////////////////////////////////////////////////
///////////////////////////////
I can retrieve the returned value using the following IR
define <4 x i64> @tpchq6(<4 x i64> %leaf7, <4 x i64> %leaf8, <4 x i64>
%leaf9, <4 x i64> %leaf10, <4 x i64> %leaf11, <4 x i64> %leaf12, <4 x i64>
%leaf13, <4 x i64> %leaf14) #0 {
entry:
ret <4 x i64> <i64 5, i64 6, i64 7, i64 8>
}
/////////////////////////////////////////////////////...
2018 Jul 23
2
LLVM FunctionType cannot be returned as VectorType?
...proto = FunctionType::get(vectorDataType,//int64*4 =
__m256i
vecArguments, false);
////////////////////////////////////////////////////////////
///////////////////////////////
The generated IR:
define <4 x i64> @tpchq6(<4 x i64> %leaf7, <4 x i64> %leaf8, <4 x i64>
%leaf9, <4 x i64> %leaf10, <4 x i64> %leaf11, <4 x i64> %leaf12, <4 x i64>
%leaf13, <4 x i64> %leaf14) #0 {
entry:
%addtmp = add <4 x i64> %leaf8, %leaf7
%addtmp1 = add <4 x i64> %addtmp, %leaf9
%addtmp4 = add...
2018 Jul 20
2
LLVM FunctionType cannot be returned as VectorType?
...////////////////////////////////////////////////////////////////////////
I can successfully use this way to produce the IR of my function properly
like this:
///////////////////////////////////////////////////////////////////////////////////////////
define <4 x i64> @tpchq6(<4 x i64> %leaf7, <4 x i64> %leaf8, <4 x i64>
%leaf9, <4 x i64> %leaf10, <4 x i64> %leaf11, <4 x i64> %leaf12, <4 x i64>
%leaf13, <4 x i64> %leaf14) {
entry:
%addtmp = add <4 x i64> %leaf14, %leaf13
%leaf8.neg = sub <4 x i64> zeroinitializer, %leaf8
%x...