[llvm-dev] Partial Dead Code Elimination in LLVM

Sebastiano Miano via llvm-dev llvm-dev at lists.llvm.org
Thu Dec 10 03:39:32 PST 2020


Dear all,
I apologize if the question has been asked before, but I haven't found
it anywhere.
Is there any support among the other LLVM optimization passes for
Partial Dead Code Elimination (PDCE) [1]?
Basically, this pass would remove code that is dead only for some path
of the program.

Thanks,
Sebastiano

[1] Knoop, J., RĂ¼thing, O., & Steffen, B. (1994). Partial dead code
elimination. ACM SIGPLAN Notices, 29(6), 147-158.
(https://dl.acm.org/doi/pdf/10.1145/773473.178256)


More information about the llvm-dev mailing list