[LLVMdev] Tablegen question
bob.wilson at apple.com
Wed Apr 15 13:34:58 PDT 2009
On Apr 15, 2009, at 1:11 PM, Villmow, Micah wrote:
> If I force it to use v2f32 for my register class, it still fails with:
> 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,
> TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference
> 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 F32 data type.
Well, I'm out of ideas. Maybe it's time to debug TableGen and figure
out why the type inferencing isn't working? Good luck in any case.
More information about the llvm-dev