[llvm-commits] [llvm] r48279 - in /llvm/trunk/lib: CodeGen/SelectionDAG/DAGCombiner.cpp Target/X86/X86InstrMMX.td Target/X86/X86InstrSSE.td

Chris Lattner clattner at apple.com
Wed Mar 12 11:44:29 PDT 2008

On Mar 12, 2008, at 11:25 AM, Evan Cheng wrote:

> No it doesn't if the transformation happens after legalizer since it's
> up to target lowering to convert a v_set0 to the normalized typw. The
> only way to ensure that would require
> 1) A target hook to specify the *normalized* v_set0 vector type.
> 2) getConstant() or dag combiner check if it's a v_set0 and issue the
> v_set0 with right type.
> Frankly I think this can only happen in a bugpoint reduced test case
> so I don't think it's worth adding a target hook for. We have too many
> random hooks as it is.

Ok, fair enough!


More information about the llvm-commits mailing list