Skip to content

Commit

Permalink
Remove the TODO comment
Browse files Browse the repository at this point in the history
While correct, it has questionable value.
  • Loading branch information
SingleAccretion committed Jun 2, 2021
1 parent 9782f3c commit 050041c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/coreclr/jit/decomposelongs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1848,11 +1848,6 @@ GenTree* DecomposeLongs::OptimizeCastFromDecomposedLong(GenTreeCast* cast)

if (varTypeIsSmall(dstType))
{
// TODO-Cleanup: this path is not reachable right now
// because morph splits "long -> small type" casts into
// "long -> int -> small type" chains. Investigate what
// happens if you disable this decomposition.
// Likely, there will be CSE-related regressions.
cast->CastOp() = loSrc;
}
else
Expand Down

0 comments on commit 050041c

Please sign in to comment.