[llvm-dev] Multi-Threading Compilers

Chris Lattner via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 25 13:23:04 PDT 2020



> On Mar 25, 2020, at 12:52 AM, Doerfert, Johannes <jdoerfert at anl.gov> wrote:
> 
> 
> Some random thoughts:
> 
> If no pass ever walks the use list of a constant, except globals which
> we could handle differently, we could get rid of their use-list or
> overwrite their use-list interface functions to make them no-ops. 

This would be really problematic because it breaks orthogonality in the compiler.  Today, you can walk the use-list of any operand to an instruction.  This would be broken by this change, which would make it much easier to write buggy/incorrect compiler code and passes.

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200325/3d08c954/attachment-0001.html>


More information about the llvm-dev mailing list