Teach DAG combine to fold (trunc (fptoXi x)) to (fptoXi x)
authorMichael Liao <michael.liao@intel.com>
Tue, 16 Oct 2012 19:38:35 +0000 (19:38 +0000)
committerMichael Liao <michael.liao@intel.com>
Tue, 16 Oct 2012 19:38:35 +0000 (19:38 +0000)
commit19006206a187baca591652a5c1bdc4d959b656e4
treedd536600fe74462836611aa180223c6b71b31cec
parent93283d0933d0784dc29a10bb37001979d998f0fa
Teach DAG combine to fold (trunc (fptoXi x)) to (fptoXi x)

llvm-svn: 166049
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/trunc-fp2int.ll [new file with mode: 0644]