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 { ...@@ -569,10 +569,9 @@ class RepresentationSelector {
void Run(SimplifiedLowering* lowering) { void Run(SimplifiedLowering* lowering) {
RunTruncationPropagationPhase(); RunTruncationPropagationPhase();
if (lowering->flags() & SimplifiedLowering::kTypeFeedbackEnabled) { // Run type propagation.
ResetNodeInfoState(); ResetNodeInfoState();
RunTypePropagationPhase(); RunTypePropagationPhase();
}
// Run lowering and change insertion phase. // Run lowering and change insertion phase.
TRACE("--{Simplified lowering phase}--\n"); 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