[llvm-dev] Invalid llvm-ir and unreachable code

Jeroen Dobbelaere via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 15 04:40:49 PDT 2021


[..]
> > I am wondering if we should allow (analysis) passes to follow code into dead
> blocks at all ?
> I wouldn't think so. It's a waste of time i would say.
> 

Then, how can an analysis pass easily detect that it is following a PHI node into a dead basic block ?

Greetings,

Jeroen



More information about the llvm-dev mailing list