new UNDEF Ref
commit5e9726946dcb9248dbd34ded1bdd4f7af8dc2d31
authorQuentin Carbonneaux <quentin@c9x.me>
Sun, 18 Dec 2022 16:35:19 +0000 (18 17:35 +0100)
committerQuentin Carbonneaux <quentin@c9x.me>
Sun, 25 Dec 2022 15:37:33 +0000 (25 16:37 +0100)
tree9842f9837784911e386357af18b08a2ca1b69896
parentc5cd65261e05029889450ca27050785504164853
new UNDEF Ref

Crashing loads of uninitialized memory
proved to be a problem when implementing
unions using qbe.  This patch introduces
a new UNDEF Ref to represent data that is
known to be uninitialized.  Optimization
passes can make use of it to eliminate
some code.  In the last compilation stages,
UNDEF is treated as the constant 0xdeaddead.
all.h
amd64/isel.c
copy.c
fold.c
mem.c
parse.c
ssa.c
util.c