3 ms·
I also see this come up a lot in code generation and simd code. On the code generation it's way easier to just push all optimizations to the compiler, including
by vgatherps 4y ago
I also see this come up a lot in code generation and simd code. On the code generation it's way easier to just push all optimizations to the compiler, including constant propagation (i.e. easier to just mark an upstream boolean as constexpr true, instead of adding your own constant propagation). For simd it's common in my experience to do lots of (if size > X), where size and X are both known at compile time but might vary by target.