summaryrefslogtreecommitdiffstats
path: root/test/474-checker-boolean-input
Commit message (Collapse)AuthorAgeFilesLines
* ART: Run BooleanSimplifier after inliningDavid Brazdil2015-04-231-41/+4
| | | | | | Inlined methods are currently not simplified. Change-Id: I075130c9df55e2f55032a2c81b08d42cb2cc01f6
* ART: Extend list of instructions accepted as boolean inputsDavid Brazdil2015-04-201-6/+76
| | | | | | | | | Previous change allowed integer Phis as inputs of instructions expecting a boolean type. This list, however, was not exhaustive as binary operations And, Or and Xor are also valid inputs. This patch extends the list in SSAChecker. Change-Id: I5b5c9e7a17992cc4987e3a078ee23ea80028ecfc
* ART: Remove DCHECKs for boolean typeDavid Brazdil2015-04-163-0/+76
Since bool and int are interchangeable types, checking whether an input is kPrimBoolean can fail when replaced with 0/1 constant or a phi. This patch removes the problematic DCHECKs, adds a best-effort verification into SSAChecker but leaves the phi case empty until a suitable analysis is implemented. Change-Id: I31e8daf27dd33d2fd74049b82bed1cb7c240c8c6