[LLVMdev] Instruction does not dominate all uses
Eli Friedman
eli.friedman at gmail.com
Tue Jun 17 09:06:55 PDT 2008
On Tue, Jun 17, 2008 at 8:29 AM, Gary Benson <gbenson at redhat.com> wrote:
> Hi all,
>
> I'm getting a weird error if I run llc on the attached module.
> Did I do something wrong (llc says the module is broken, also
> attached) or is this a bug?
The module appears to be malformed. Essentially, what the error
message means is that there is some path through the function that
reaches a use of a variable without passing through the definition,
which is illegal in SSA form.
http://llvm.org/docs/tutorial/LangImpl7.html might be useful for
understanding SSA form, and how to generate it easily.
-Eli
More information about the llvm-dev
mailing list