[LLVMdev] Instruction does not dominate all uses

John Criswell criswell at cs.uiuc.edu
Tue Jun 17 09:20:29 PDT 2008


Gary Benson 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?
>   
Are you running your own optimization passes, or just the standard LLVM 
passes?

If it's your own optimization pass, there might be a bug.  Otherwise, 
you might be running into a bug that I found last week in the standard 
LLVM optimization passes.  That bug has since been fixed 
(http://llvm.org/bugs/show_bug.cgi?id=2434); if you update your LLVM 
tree from SVN mainline and rebuild, it should fix the problem.

-- John T.
> Cheers,
> Gary
>
> --
> http://gbenson.net/
>   




More information about the llvm-dev mailing list