summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2022-09-06 15:56:26 +0100
committer Santiago Aboy Solanes <solanes@google.com> 2022-09-07 10:30:33 +0000
commitf1cf1326df84b3ac161a9189fdb6e66ba4083344 (patch)
treeb7a894b071b0667615d7faea831214423770e244 /compiler/optimizing/code_generator.cc
parent322ef183e602f304e3d093c083490dd2e766b254 (diff)
Remove TryRemovingNullCheck from LSE
TryRemovingNullCheck would remove null checks right before eliminated loads. However, it was doing it without really checking if the object it was loading from was null or not. This has been there since the first iteration of LSE, and my guess why it was implemented it was to remove NullChecks with no uses (i.e. it was assuming that the NullCheck was only uses by the load which was being eliminated). Bug: 243136201 Test: Ran ART benchmark automator and saw no increase in code size Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Change-Id: I96be9650f8b16fee7fcca114b9b330d4f3b7e0b4
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions