summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.h
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2024-02-29 17:11:18 +0000
committer Santiago Aboy Solanes <solanes@google.com> 2024-03-04 13:17:55 +0000
commit31d96b5c37624e4c4c69477c6a1340cd272df7f6 (patch)
tree49a76d829fefe774459c386272d4afb4d9d04cf6 /compiler/common_compiler_test.h
parent114ac9ae5791818840ac25f38c224956dba073ad (diff)
Fold opposite values for OR and XOR into -1
We can fold operations like `a | ~a` and `a ^ ~a` into 0xFF...FF. These operations only exist for int/long. Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Change-Id: I765e294ca2938710576a94de5978994ab1227a6b
Diffstat (limited to 'compiler/common_compiler_test.h')
0 files changed, 0 insertions, 0 deletions