Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
2187 | Update the comment. |
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
2189 | I strongly suspect you need , /* NoOpaque */ true here, else folding can fail. |
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
2193 | Probably safer to assume FoldConstantArithmetic can fail: if (SDValue Add0 = DAG.FoldConstantArithmetic(ISD::ADD, DL, VT, {N1, N0.getOperand(1)})) return DAG.getNode(ISD::ADD, DL, VT, N0.getOperand(0), Add0); |
Update the comment.