[LLVMdev] Custom Lowering and fneg

Eli Friedman
Wed, 17 Sep 2008 00:22:06 -0000

On Tue, Sep 16, 2008 at 3:43 PM, Villmow, Micah <Micah.Villmow at amd.com>
wrote:
> Eli,
>  I've been working on this for a few days and still haven't gotten
this
> towork. I've attached my dags that you asked for, and even there it is
> turning the floating point instruction into an integer return value.

Hmm, that's kind of strange... in that case, there's very little space
for it to get messed up.  Could you try setting a breakpoint in
"llvm::SelectionDAG::getNode(unsigned Opcode, MVT VT, SDValue
Operand)" and seeing where the fneg in question is built?

-Eli