[PATCH] DAGCombiner: Continue combining if FoldConstantArithmetic() fails.

Matthias Braun matze at braunis.de
Mon Jan 12 19:05:54 PST 2015


Hi resistor,

DAG.FoldConstantArithmetic() can fail even though both operands are
Constants if OpaqueConstants are involved. Continue trying other combine
possibilities in this case.

http://reviews.llvm.org/D6946

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6946.18068.patch
Type: text/x-patch
Size: 6372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150113/dc696198/attachment.bin>


More information about the llvm-commits mailing list