fix amd64 addressing selection bug (afl)
commit7f4ab8d801edd1db8518ecd110c53483f847a8e9
authorQuentin Carbonneaux <quentin@c9x.me>
Tue, 27 Jul 2021 22:29:50 +0000 (28 00:29 +0200)
committerQuentin Carbonneaux <quentin@c9x.me>
Tue, 27 Jul 2021 22:29:50 +0000 (28 00:29 +0200)
treef647116048e12ea1c10d4378583b15bf8e4b67e4
parent6d9ee1389572ae985f6a39bb99dbd10cdf42c123
fix amd64 addressing selection bug (afl)

Reported by Alessandro Mantovani.
Unlikely to be hit in practice
because we don't add addresses to
addresses.

type :biggie = { l, l, l }
function $repro(:biggie %p) {
@start
%x =l add %p, $a
storew 42, %x
ret
}
amd64/emit.c
amd64/isel.c