Do this if the truncate is free and the select is legal.
Details
Details
Diff Detail
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jul 9 2014, 12:20 PM
Paths
| Differential D4439
Add trunc (select c, a, b) -> select c (trunc a), (trunc b) combine. ClosedPublic Authored by arsenm on Jul 9 2014, 10:29 AM.
Details
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jul 9 2014, 12:20 PM
Revision Contents
Diff 11208 lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/R600/select64.ll
test/CodeGen/X86/shift-parts.ll
|