summaryrefslogtreecommitdiff
path: root/bin/ed/re.c
diff options
context:
space:
mode:
authorgkoehler <gkoehler@cvs.openbsd.org>2020-05-02 05:34:09 +0000
committergkoehler <gkoehler@cvs.openbsd.org>2020-05-02 05:34:09 +0000
commitd59f6f96219aaf0db8324a26b289ca35466ecbb2 (patch)
tree0e77c5b5cf783edeababae1d5e0275cd94c3f54d /bin/ed/re.c
parentd6eb54220157a9afd74dab08a6e7895f2a7928ad (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 'bin/ed/re.c')
0 files changed, 0 insertions, 0 deletions