Regression test for array aliasing bug.
Rationale:
Bug b/64018485 exposed a ARM scheduling bug that
was traced back to the load/store eliminiation utility
ArrayAccessHeapLocation(). The original bug (showing
up on device only obviously) was a bit hard to reproduce
as it required compiling boot image first. This unit
test shows failure out of the box though.
(cherry-picked from commit 428a209b6c48373fe43c48f4f49f9ea0c31bc978)
Bug: 64018485
Test: itself
Change-Id: I6d0cbce591d0a142e82ae9e440421e95270055a2
4 files changed