Displaying 12 results from an estimated 12 matches for "_tmp1".
Did you mean:
tmp1
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
...gt;>>
>>> Are you trying to return multiple values?
>>
>> Yes, the intrisic returns a record
>>
>> %rec6 = type { i16, i16 }
>>
>> so at instructions selection the original call
>>
>> %_tmp3 = call %rec6 @llvm.phx.divm.u16.rec6(i16 %_tmp1, i16 %_tmp2)
>>
>> has been lowered to
>>
>> t6: i16,i16 = llvm.phx.divm.u16 TargetConstant:i16<3778>, t2, t4
>>
>> and the instruction I want to select also returns two values
>>
>> def divm16_pseudo : MyPseudoInst<
>> (outs aNh_...
2016 Apr 21
2
(BasicAA) PartialAlias between different fields of a structure, intentional?
...cking for
aliasing beteen "noalias" attributed parameters:
opt -S -lint ./alias.ll
gave
Unusual: noalias argument aliases another argument
on the (silly) function:
%rec7 = type { i16, i16, i16 }
define void @fn1(i16* noalias %p1.1.par, i16* noalias %p2.2.par) {
%s.3 = alloca %rec7
%_tmp1 = getelementptr %rec7, %rec7* %s.3, i16 0, i32 1
%_tmp2 = getelementptr %rec7, %rec7* %s.3, i16 0, i32 2
call void @fn1(i16* %_tmp1, i16* %_tmp2)
ret void
}
If accessing fields 0 and 1 instead, with
%_tmp1 = getelementptr %rec7, %rec7* %s.3, i16 0, i32 0
%_tmp2 = getelementptr %rec7, %rec7* %s.3...
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
...hout managing to get it through.
>>
>> Thanks again,
>> Mikael
>
> Are you trying to return multiple values?
Yes, the intrisic returns a record
%rec6 = type { i16, i16 }
so at instructions selection the original call
%_tmp3 = call %rec6 @llvm.phx.divm.u16.rec6(i16 %_tmp1, i16 %_tmp2)
has been lowered to
t6: i16,i16 = llvm.phx.divm.u16 TargetConstant:i16<3778>, t2, t4
and the instruction I want to select also returns two values
def divm16_pseudo : MyPseudoInst<
(outs aNh_0_7:$dst, aNh_0_7:$dst2),
(ins aNh_0_7:$src1, aNh_0_7:$src2)>;
Bot...
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
...rying to return multiple values?
>>>
>>> Yes, the intrisic returns a record
>>>
>>> %rec6 = type { i16, i16 }
>>>
>>> so at instructions selection the original call
>>>
>>> %_tmp3 = call %rec6 @llvm.phx.divm.u16.rec6(i16 %_tmp1, i16 %_tmp2)
>>>
>>> has been lowered to
>>>
>>> t6: i16,i16 = llvm.phx.divm.u16 TargetConstant:i16<3778>, t2, t4
>>>
>>> and the instruction I want to select also returns two values
>>>
>>> def divm16_pseudo : MyPse...
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
...; Thanks again,
>>> Mikael
>>
>> Are you trying to return multiple values?
>
> Yes, the intrisic returns a record
>
> %rec6 = type { i16, i16 }
>
> so at instructions selection the original call
>
> %_tmp3 = call %rec6 @llvm.phx.divm.u16.rec6(i16 %_tmp1, i16 %_tmp2)
>
> has been lowered to
>
> t6: i16,i16 = llvm.phx.divm.u16 TargetConstant:i16<3778>, t2, t4
>
> and the instruction I want to select also returns two values
>
> def divm16_pseudo : MyPseudoInst<
> (outs aNh_0_7:$dst, aNh_0_7:$dst2),
>...
2007 Dec 27
0
SAS to R - if you have SAS 8.2+
...column definition file
coldef <- paste(inPath,"/t__sc__t.csv", sep="")
libRef <-
obSAS.DataService$AssignLibref("sasds","",inPath,"")
# create the content csv file
cont1 <- paste("proc contents data=sasds.",inSAS,"
out=_tmp1(KEEP=NAME TYPE LENGTH VARNUM FORMAT)
noprint; run;",sep="")
cont2 <- "proc sort data=_tmp1; by varnum; run;"
cont3 <- "data _tmp2; set _tmp1; if type=2 then
dummy='character'; "
cont3 <- paste(cont3,"if type=1 then do; if format in
('D...
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
...r: In anonymous_1373: Type inference contradiction found, merging
'i16' into 'Any'
def : Pat<(int_phx_divm_u16 i16:$src1, i16:$src2),
^
So is there a way I can get around this?
Before ISel the call to my intrisic looks like
%_tmp3 = call %rec6 @llvm.phx.divm.u16.rec6(i16 %_tmp1, i16 %_tmp2)
and %rec6 is
%rec6 = type { i16, i16 }
Then at ISel, before selection the call is lowered to
t6: i16,i16 = llvm.phx.divm.u16 TargetConstant:i16<3778>, t2, t4
which fits nicely to my divm16_pseudo that I want to select.
Is there any way I can select this with a tablege...
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
...#39; into 'Any'
>> def : Pat<(int_phx_divm_u16 i16:$src1, i16:$src2),
>> ^
>>
>> So is there a way I can get around this?
>>
>>
>> Before ISel the call to my intrisic looks like
>>
>> %_tmp3 = call %rec6 @llvm.phx.divm.u16.rec6(i16 %_tmp1, i16 %_tmp2)
>>
>> and %rec6 is
>>
>> %rec6 = type { i16, i16 }
>>
>> Then at ISel, before selection the call is lowered to
>>
>> t6: i16,i16 = llvm.phx.divm.u16 TargetConstant:i16<3778>, t2, t4
>>
>> which fits nicely to my divm...
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
...adiction found, merging 'i16' into 'Any'
> def : Pat<(int_phx_divm_u16 i16:$src1, i16:$src2),
> ^
>
> So is there a way I can get around this?
>
>
> Before ISel the call to my intrisic looks like
>
> %_tmp3 = call %rec6 @llvm.phx.divm.u16.rec6(i16 %_tmp1, i16 %_tmp2)
>
> and %rec6 is
>
> %rec6 = type { i16, i16 }
>
> Then at ISel, before selection the call is lowered to
>
> t6: i16,i16 = llvm.phx.divm.u16 TargetConstant:i16<3778>, t2, t4
>
> which fits nicely to my divm16_pseudo that I want to select.
>...
2016 Apr 15
3
(BasicAA) PartialAlias between different fields of a structure, intentional?
Hello all,
I observed that BasicAA alias query returns PartialAlias between different fields of a structure. Following is the test program and -print–all-alias-modref-info output:
---
; test.ll
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%"type" = type { [10 x i32], i64 }
define void
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
> On Mar 30, 2016, at 11:35, Mikael Holmén <mikael.holmen at ericsson.com> wrote:
>
> i16 (divm16_pseudo …)
>
> stuff?
>
> I've tried
> (i16, i16 (divm16_pseudo i16:$src1, i16:$src2)
> and
> ((i16, i16) (divm16_pseudo i16:$src1, i16:$src2)
> and a few other variants without managing to get it through.
>
> Thanks again,
> Mikael
Are you
2013 Nov 22
0
[LLVMdev] PrologEpilogProblems;
...st SSA
BB#0: derived from LLVM BB %0
Live Ins: %LR %S1 %S0
%SP<def> = ADDI %SP, -48
PROLOG_LABEL <MCSym=_tmp0>
ST %LR<kill>, %SP, 44; mem:ST4[FixedStack0]
ST %S1<kill>, %SP, 40; mem:ST4[FixedStack1]
ST %S0<kill>, %SP, 36; mem:ST4[FixedStack2]
PROLOG_LABEL <MCSym=_tmp1>
%S0<def> = LD %SP, 48; mem:LD4[FixedStack-1](align=8)
ST %S0, %SP, 0; mem:ST4[FixedStack-4](align=8)
JSUB <ga:@extract_l>, <regmask>, %LR<imp-def>, %SP<imp-def>, %V0<imp-def>
%V1<def> = ADDI %ZERO, 1
ST %V0<kill>, %SP, 0; mem:ST4[FixedStack-5](ali...