[DAG] Teach DAG to also reassociate vector operations

Press ? to show keyboard shortcuts.
Committed
ributzkaJan 13 2014, 12:51 PM
Parents
rL199134: This is a macosx specific test case for stepping & setting breakpoints on…
Branches
Unknown
Tags
Unknown
Description

[DAG] Teach DAG to also reassociate vector operations

This commit teaches DAG to reassociate vector ops, which in turn enables
constant folding of vector op chains that appear later on during custom lowering
and DAG combine.

Reviewed by Andrea Di Biagio

rL199135

llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

Loading...

llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Loading...

llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Loading...

llvm/trunk/test/CodeGen/X86/vector-gep.ll

Loading...

Add Comment