This is an archive of the discontinued LLVM Phabricator instance.

[LICM/mustexec] Extend first iteration must exexute logic to fcmps
ClosedPublic

Authored by reames on Mar 15 2018, 2:22 PM.

Details

Summary

This builds on the work from https://reviews.llvm.org/D44287. It turned out supporting fcmp was much easier than I realized, so let's do that now.

As an aside, our -O3 handling of a floating point IV leaves a lot to be desired. We do convert the float IV to an integer IV, but do so late enough that many other optimizations are missed (e.g. we don't vectorize).

Diff Detail

Repository
rL LLVM

Event Timeline

reames created this revision.Mar 15 2018, 2:22 PM
reames edited the summary of this revision. (Show Details)Mar 15 2018, 2:23 PM
anna accepted this revision.Mar 16 2018, 6:12 AM

lgtm!

This revision is now accepted and ready to land.Mar 16 2018, 6:12 AM
This revision was automatically updated to reflect the committed changes.