Alive2 Part 3: Things You Can and Can’t Do with Undef in LLVM

from blog Embedded in Academia, | ↗ original
[Also see Part 1 and Part 2 in this series.] Let’s talk about these functions: unsigned add(unsigned x) { return x + x; } unsigned shift(unsigned x) { return x << 1; } From the point of view of the C and C++ abstract machines, their behavior is equivalent: in a program you’re writing, you […]