[PATCH] Combine a setcc->select->setcc->select chain with constants into setcc->select
Justin Holewinski
justin.holewinski at gmail.com
Tue Dec 10 10:19:09 PST 2013
For certain patterns of constants within setcc->select->setcc chains, we can
simplify the generated DAG by forwarding the values of the constants.
Patch by Okwan Kwon <okwank at nvidia.com>
http://llvm-reviews.chandlerc.com/D2373
Files:
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/NVPTX/setcc-select-setcc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2373.1.patch
Type: text/x-patch
Size: 12574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131210/2ce94b04/attachment.bin>
More information about the llvm-commits
mailing list