summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sebastien Hertz <shertz@google.com> 2016-09-26 07:09:43 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-09-26 07:09:44 +0000
commita1d66b9050aeecd7e698c51155f0dbc0198a6822 (patch)
tree66fed79f18769b9a584f723b636e9521cfa5ca9e
parentad1f0ad512cac82e5db05aa8237608ba8424c130 (diff)
parent55418e12a530893d25e18d0beb94bde1a4552bd9 (diff)
Merge "Add DCE check to test 458-checker-instruct-simplification"
-rw-r--r--test/458-checker-instruct-simplification/src/Main.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/458-checker-instruct-simplification/src/Main.java b/test/458-checker-instruct-simplification/src/Main.java
index e71a0e150b..40baa15938 100644
--- a/test/458-checker-instruct-simplification/src/Main.java
+++ b/test/458-checker-instruct-simplification/src/Main.java
@@ -1202,6 +1202,10 @@ public class Main {
/// CHECK-DAG: <<NotArg:z\d+>> BooleanNot [<<Arg>>]
/// CHECK-DAG: Return [<<Arg>>]
+ /// CHECK-START: boolean Main.$noinline$NotNotBool(boolean) dead_code_elimination$final (after)
+ /// CHECK-DAG: <<Arg:z\d+>> ParameterValue
+ /// CHECK-DAG: Return [<<Arg>>]
+
public static boolean NegateValue(boolean arg) {
return !arg;
}