[LLVMdev] Custom Lowering and fneg

Eli Friedman eli.friedman at gmail.com
Tue Sep 16 17:22:06 PDT 2008


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



More information about the llvm-dev mailing list