summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.cc
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2025-02-12 13:59:45 +0000
committer Santiago Aboy Solanes <solanes@google.com> 2025-02-14 06:11:40 -0800
commit115169004430011a3328345769e0b014508208fe (patch)
tree3405d95e77121a3b34a201b95ac0eb6f1c622502 /compiler/optimizing/optimizing_compiler.cc
parent1a3ce3502dd8b72ab51bddfee0ac894a2d987f4e (diff)
Optimize HConstantFoldingVisitor::PropagateValue
We can avoid creating constants which were created with GetGraph()->GetIntConstant. In theory, we could still be creating a constant that ReplaceUsesDominatedBy doesn't use. In practice, we can eliminate most (95%+) of constants being created without impacting or refactoring ReplaceUsesDominatedBy. Bug: 240543764 Bug: 393108375 Test: art/test/testrunner/testrunner.py --host --64 -b --optimizing Change-Id: I91f93c373b9097d5598398cc92767ecde5d4aec7
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
0 files changed, 0 insertions, 0 deletions