diff options
author | 2024-06-13 16:16:43 +0200 | |
---|---|---|
committer | 2025-03-20 03:54:03 -0700 | |
commit | 2fda8f36c8ccb34a49c31d76be4eaaa6d9d45760 (patch) | |
tree | 2af072e1dae120cf6b00d29deb54e0104c8d9b12 /compiler/jit/jit_logger.cc | |
parent | 59aaec4d51436995ace22c4bd6f35ff7f6f8aaf4 (diff) |
Fix LSE to track type conversions correctly.
Add a new state to LSE's `Value` class to mark loads that
depend on loop Phi placeholders but may require a type
conversion. We store the load in the `Value` and use the
`loads_requiring_loop_phi_[load->GetId()]->value` to form
a singly-linked list leading to the actual Phi placeholder.
During `LSEVisitor::ProcessLoadsRequiringLoopPhis()`, we may
replace these records, so a walk over the singly-linked list
in that stage can terminate with a replacement instruction
instead of the loop Phi placeholder.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Bug: 341476044
Change-Id: Id8f2edf4dfaa82dc3f25ddf47f3fe1da8f2fb3ea
Diffstat (limited to 'compiler/jit/jit_logger.cc')
0 files changed, 0 insertions, 0 deletions