This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ] Return a higher cost for fdiv from getUserCost()
AbandonedPublic

Authored by jonpa on Feb 4 2019, 3:22 PM.

Details

Reviewers
uweigand
Summary

It seems that fdiv on SystemZ is so expensive that it shouldn't be moved up in the CFG by SpeculativeExecution.cpp.

Not sure if this adjustment makes sense on the target, but it seems at least on a high level to be unreasonable to speculate fdiv.

This also affects other decisions, such as the amount of unrolling, it seems.

Diff Detail

Event Timeline

jonpa created this revision.Feb 4 2019, 3:22 PM
jonpa abandoned this revision.Feb 7 2019, 9:28 AM

This didn't seem to do much good on any benchmarks, so abandoning.