[LLVMdev] [NVPTX] Backend failure in LegalizeDAG due to unimplemented expand in target lowering

Eli Friedman eli.friedman at gmail.com
Fri Jun 29 14:49:28 PDT 2012


On Fri, Jun 29, 2012 at 2:11 PM, Dmitry N. Mikushin <maemarcus at gmail.com> wrote:
> Hi again,
>
> Kind people on #llvm helped me to utilize bugpoint to reduce the
> previously submitted test case. For record, it code be done with the
> following command:
>
> $ bugpoint -llc-safe test.ll
>
> The resulting IR is attached, and it is crashing in the same way. Is
> it a valid code?

Looks like a bug in the NVPTXISelLowering.cpp: it has
"setOperationAction(ISD::STORE, MVT::i1, Expand);", but the legalizer
doesn't know how to handle that.

-Eli



More information about the llvm-dev mailing list