summaryrefslogtreecommitdiffstats
path: root/test/485-checker-dce-loop-update
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2015-05-18 12:06:52 +0100
committerDavid Brazdil <dbrazdil@google.com>2015-05-18 12:06:52 +0100
commit84daae5ce19038156c0fa0cdbc33d47efdb7e66b (patch)
tree5f507470744edd6b1a436c9e4514f0d464ca38eb /test/485-checker-dce-loop-update
parentc88b09fc1d67413e814a10d20752e46aa28bc0e4 (diff)
downloadandroid_art-84daae5ce19038156c0fa0cdbc33d47efdb7e66b.tar.gz
android_art-84daae5ce19038156c0fa0cdbc33d47efdb7e66b.tar.bz2
android_art-84daae5ce19038156c0fa0cdbc33d47efdb7e66b.zip
ART: Removed redundant Phis as part of DCE
Removing dead blocks can render some phis redundant but they do not get removed. This patch adds running SsaRedundantPhiElimination to adress that. Change-Id: Iec9a16f3c20b2d5b5607cd5aaf802917c155a0f1
Diffstat (limited to 'test/485-checker-dce-loop-update')
-rw-r--r--test/485-checker-dce-loop-update/smali/TestCase.smali5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/485-checker-dce-loop-update/smali/TestCase.smali b/test/485-checker-dce-loop-update/smali/TestCase.smali
index 71da510c6e..487a5dfbff 100644
--- a/test/485-checker-dce-loop-update/smali/TestCase.smali
+++ b/test/485-checker-dce-loop-update/smali/TestCase.smali
@@ -228,13 +228,12 @@
# CHECK-DAG: <<Cst7:i\d+>> IntConstant 7
#
# CHECK-DAG: <<PhiX:i\d+>> Phi [<<ArgX>>,<<Add7:i\d+>>] loop:<<HeaderY:B\d+>>
-# CHECK-DAG: <<PhiZ1:i\d+>> Phi [<<ArgZ>>,<<PhiZ1>>] loop:<<HeaderY>>
# CHECK-DAG: If [<<ArgY>>] loop:<<HeaderY>>
# CHECK-DAG: <<Add7>> Add [<<PhiX>>,<<Cst7>>] loop:<<HeaderY>>
#
# ### Inner loop ###
-# CHECK-DAG: <<PhiZ2:i\d+>> Phi [<<PhiZ1>>,<<XorZ:i\d+>>] loop:<<HeaderZ:B\d+>>
-# CHECK-DAG: <<XorZ>> Xor [<<PhiZ2>>,<<Cst1>>] loop:<<HeaderZ>>
+# CHECK-DAG: <<PhiZ:i\d+>> Phi [<<ArgZ>>,<<XorZ:i\d+>>] loop:<<HeaderZ:B\d+>>
+# CHECK-DAG: <<XorZ>> Xor [<<PhiZ>>,<<Cst1>>] loop:<<HeaderZ>>
# CHECK-DAG: <<CondZ:z\d+>> Equal [<<XorZ>>,<<Cst0>>] loop:<<HeaderZ>>
# CHECK-DAG: If [<<CondZ>>] loop:<<HeaderZ>>
#