[LLVMdev] Shouldn't DAGCombine insert legal nodes?

Eli Friedman eli.friedman at gmail.com
Tue Jan 20 01:23:45 PST 2009


On Tue, Jan 20, 2009 at 12:24 AM, Duncan Sands <baldrick at free.fr> wrote:
> So if LegalTypes is true and nonetheless a constant with an
> illegal type is being created then that is a DAG combiner bug.

The issue here isn't that i64 is illegal, it's that constants of type
i64 are illegal.  I'm tempted to say that having legal constants
should be a requirement for marking an integer type legal...

-Eli



More information about the llvm-dev mailing list