CVSROOT:        /cvs
Module name:    src
Changes by:     gkoeh...@cvs.openbsd.org        2020/05/01 23:34:09

Modified files:
        gnu/llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp 

Log message:
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@

Reply via email to