This allows cases like float x; fmin(1.0, x); to be optimized to fminf(1.0f, x);
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This should't block committing, but could you please also add a test for a constant which does lose info when converted to float, and so fails this optimization.
Thanks,
Pete