miniblog.
← Back to all posts
Jan 16, 2015 at 21:33
Constant propagation can break C code, if you're coding strictly to the spec:
https://thread.gmane.org/gmane.comp.compilers.llvm.devel/80355/focus=80460
(crikey!)
Wilfred Hughes
Related Posts
Dec 5, 2019 at 04:44
Rust is doing constant propagation on its internal IR before monomorphisation. This can give faster compiles because LLVM is given less code!
Redirect
blog.rust-lang.org/inside-rust/2019/12/02/const-prop-on-by-default.html
Wilfred Hughes
Shared words: propagation, Constant, code Score: 72.5
Dec 19, 2016 at 08:15
I used to think DCE and constant propagation were pointless: eg clean code shouldn't have dead sections. But inlining creates opportunities!
Wilfred Hughes
Shared words: propagation, Constant, code Score: 72.5
Dec 21, 2015 at 00:22
What does the 80/20 rule look like in compiler optimisation? I suspect basic constant propagation and DCE gets you a respectable speedup.
Wilfred Hughes
Shared words: propagation, Constant Score: 43.1