CodeGenPrep: sink extends of illegal types into use block.
authorTim Northover <tnorthover@apple.com>
Fri, 7 Mar 2014 11:04:30 +0000 (11:04 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 7 Mar 2014 11:04:30 +0000 (11:04 +0000)
commitad3d81d320408a5baf50d61c6f666e0d854502d2
treeb4edcc7e524635c81cdf50b39712bfa9ec5d3795
parentfad2761ca0924216c9296cbdbaefc81b58067128
CodeGenPrep: sink extends of illegal types into use block.

This helps the instruction selector to lower an i64 * i64 -> i128
multiplication into a single instruction on targets which support it.

Patch by Manuel Jacob.

llvm-svn: 203230
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/lib/Target/X86/README.txt
llvm/test/CodeGen/X86/mul128_sext_loop.ll [new file with mode: 0644]
llvm/test/Transforms/CodeGenPrepare/X86/extend-sink-hoist.ll [new file with mode: 0644]