Skip to content
Snippets Groups Projects
Commit b51a6868 authored by Quentin Colombet's avatar Quentin Colombet
Browse files

During SelectionDAG building explicitly set a node to constant zero when the

value is zero.
This allows optmizations to kick in more easily.
Fix some test cases so that they remain meaningful (i.e., not completely dead
coded) when optimizations apply.

<rdar://problem/14096009> superfluous multiply by high part of zero-extended
value.

llvm-svn: 184222
parent 54c83695
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment