macaw/macaw-aarch32/tests/arm/global-conditionals.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

10 lines
87 B
C

int g = -11;
int h = -12;
void _start() {
if (g != h) {
g = 1;
h = 2;
}
}