Displaying 1 result from an estimated 1 matches for "op_f_neg".
2008 Sep 10
2
[LLVMdev] Custom Lowering and fneg
...match on an
i32 when there are no i32's in my test program.
I've tried a custom lowering function that lowers it to dst = sub 0,
src0 and forcing it to f32, but it complains that result and the op
value types are incorrect.
My table descriptor rule is:
def FNEG : OneInOneOut<OP_F_NEG, (outs GPR:$dst), (ins GPR:$src0),
!strconcat(OP_F_NEG.Text, " $dst, $src0"),
[(set GPR:$dst, (fneg GPR:$src0))]>;
With GPR defined as either an i32 or an f32.
On another not, is there any known examples of using Tableg...