[LLVMdev] Question regarding ReplaceValueWith and ReplaceNodeResults

Eli Friedman eli.friedman at gmail.com
Fri Aug 31 15:01:34 PDT 2012


On Fri, Aug 31, 2012 at 2:48 PM, Pranav Bhandarkar
<pranavb at codeaurora.org> wrote:
> Hi,
>
> I am defining Hexagons version of ReplaceNodeResults to change the a node of
> the type
> A: i8 = INTRINSIC_WO_CHAIN ... , ... ,
>
> To
> B: SIGN_EXTEND (A)
>
> After returning from my function, the type legalizer

The type legalizer asked your target to replace an node with an
illegal type with a node with a legal type, and your target returned a
use of the illegal node. This makes no sense.

-Eli



More information about the llvm-dev mailing list