search for: _tmp3

Displaying 11 results from an estimated 11 matches for "_tmp3".

Did you mean: tmp3
2016 Mar 30
2
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_p...
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
...i16:$src2) >> and a few other variants without 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),...
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
...ael >>>> >>>> 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 >...
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
...ing 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< >...
2016 Feb 08
2
LoopIdiomRegognize vs Preserved
Hi, I'm having problems with the LoopIdiomRegognizer crashing on me with An asserting value handle still pointed to this value! UNREACHABLE executed at ../lib/IR/Value.cpp:695! If I remove AU.addPreserved<LoopInfoWrapperPass>(); or AU.addPreserved<AAResultsWrapperPass>(); everything goes well. The C-code triggering this is void foo(int a[10][10]) { int i, j,
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
...udo:i16:i16:i16 ?:i16:$src1, ?:i16:$src2) error: 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. I...
2007 Dec 27
0
SAS to R - if you have SAS 8.2+
...uot; cont3 <- paste(cont3,"if type=1 then do; if format in ('DATE','DATETIME') then dummy='date'; ",sep="") cont3 <- paste(cont3,"else dummy='numeric'; end; run;",sep="") cont4 <- "proc transpose data=_tmp2 out=_tmp3(DROP=_NAME_); id name; var dummy; run;" cont5 <- paste("proc export data=_tmp3 outfile='",coldef,"' dbms=csv; run;",sep="") obSAS.LanguageService$Submit(cont1) obSAS.LanguageService$Submit(cont2) obSAS.LanguageService$Submit(cont3) obSAS.LanguageS...
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
...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, t...
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
...; error: 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...
2016 Feb 09
2
LoopIdiomRegognize vs Preserved
...gt; -------------- next part -------------- define void @set_array() { %j.3 = alloca i8 %k.4 = alloca i8 br label %bb1 bb4: ; preds = %bb3 store i8 0, i8* %k.4 br label %bb5 bb6: ; preds = %bb5 %_tmp31 = sext i8 %_tmp3 to i64 %_tmp4 = mul i64 %_tmp31, 10 %_tmp5 = getelementptr i8, i8* undef, i64 %_tmp4 %_tmp6 = load i8, i8* %k.4 %_tmp7 = getelementptr i8, i8* %_tmp5, i8 %_tmp6 store i8 42, i8* %_tmp7 %_tmp8 = load i8, i8* %k.4 %_tmp9 = add i8 %_tmp8, 1 store i8 %_tmp9, i8* %k.4...
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