Commit 897b6f78 authored by bmeurer's avatar bmeurer Committed by Commit bot

[turbofan] Always run type propagation in SimplifiedLowering.

This unifies phases in SimplifiedLowering, and will enable
more optimizations, i.e. we can do the output representation
during typing then, which in turn should allow us to use the
feedback type even in unchecked operators (i.e. NumberAbs).

R=jarin@chromium.org

Review-Url: https://codereview.chromium.org/2137003002
Cr-Commit-Position: refs/heads/master@{#37639}
parent 6ade0ee3
......@@ -569,10 +569,9 @@ class RepresentationSelector {
void Run(SimplifiedLowering* lowering) {
RunTruncationPropagationPhase();
if (lowering->flags() & SimplifiedLowering::kTypeFeedbackEnabled) {
ResetNodeInfoState();
RunTypePropagationPhase();
}
// Run type propagation.
ResetNodeInfoState();
RunTypePropagationPhase();
// Run lowering and change insertion phase.
TRACE("--{Simplified lowering phase}--\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment