diff options
author | gkoehler <gkoehler@cvs.openbsd.org> | 2020-05-02 05:34:09 +0000 |
---|---|---|
committer | gkoehler <gkoehler@cvs.openbsd.org> | 2020-05-02 05:34:09 +0000 |
commit | d59f6f96219aaf0db8324a26b289ca35466ecbb2 (patch) | |
tree | 0e77c5b5cf783edeababae1d5e0275cd94c3f54d /usr.bin/mg/dired.c | |
parent | d6eb54220157a9afd74dab08a6e7895f2a7928ad (diff) |
Don't make an illegal adde. Avoids fatal error on PowerPC.
When the DAG truncates an ISD::ADDE node, DAGCombiner may optimize it
by making an adde with smaller operands. PowerPC has i1 registers,
and may truncate an i32 adde to i1, but an i1 adde is not legal for
PowerPC, and the legalize-ops phase can't fix it. This was causing
"fatal error: error in backend: Cannot select..."
cwen@ reported the error
ok mortimer@ kettenis@ deraadt@
Diffstat (limited to 'usr.bin/mg/dired.c')
0 files changed, 0 insertions, 0 deletions