macaw/macaw-aarch32/tests/arm/read-globals.c
Tristan Ravitch 196a81ad29
Fix a bug in the AArch32-specific simplifier (#188)
Some important simplifications for classification were failing to fire because
other simplifications fired first, short circuiting the search.  It turns out
that more than one rule may apply at any given step (and it is important to
apply all of the rules that can be applied).  This commit modifies the
simplifier to apply rules until saturation.
2021-01-27 23:55:44 -08:00

7 lines
66 B
C

int g = -11;
int b = 0;
void _start() {
b = g > 0 && g < 10;
}