Displaying 3 results from an estimated 3 matches for "ntrinsic_w_chain".
Did you mean:
intrinsic_w_chain
2009 Apr 15
1
[LLVMdev] Tablegen question
...v2f32 for my register class, it still fails with:
> d:\hq\main\sw\appeng\tools\hpc\opencl\compiler\llvm\test
> \AMDIL>TableGen.
> exe -gen
> -dag-isel -I../../include/ test.td > output
> GPRV2F32:v2f32:$src1 MACRO_DISTANCE_FAST_v2f32: (set
> GPRF32:f32:$dst, (i
> ntrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0,
> GPRV2F32:v2f32:$src1))
> TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference
> contradiction
> found i
> n node!
>
> So I'm not sure that is the problem. Also, my register classes only
> accept one register type, so there is...
2009 Apr 15
0
[LLVMdev] Tablegen question
If I force it to use v2f32 for my register class, it still fails with:
d:\hq\main\sw\appeng\tools\hpc\opencl\compiler\llvm\test\AMDIL>TableGen.
exe -gen
-dag-isel -I../../include/ test.td > output
GPRV2F32:v2f32:$src1 MACRO_DISTANCE_FAST_v2f32: (set
GPRF32:f32:$dst, (i
ntrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0,
GPRV2F32:v2f32:$src1))
TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference contradiction
found i
n node!
So I'm not sure that is the problem. Also, my register classes only
accept one register type, so there is no valid way for a GPRV2F32 to
accept a F...
2009 Apr 15
2
[LLVMdev] Tablegen question
..._fast : Intrinsic<[llvm_float_ty],
> [llvm_anyfloat_ty, LLVMMatchType<0>]>;
>
> The problem comes when I try to use the intrinsic. It gives me the
> following error:
> GPRV2F32:f32:$src1 MACRO_DISTANCE_FAST_v2f32: (set GPRF32:f32:$dst,
> (intrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0,
> GPRV2F32:f32:$src1))
> TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference
> contradiction
> found in node!
Your "$src1" is f32 instead of v2f32. I've run into some problems
like this before and concluded that TableGen'...