https://bugs.llvm.org/show_bug.cgi?id=35732

            Bug ID: 35732
           Summary: [DAGCombiner] Remove
                    reduceBuildVecConvertToConvertBuildVec and rely on the
                    vectorizers instead
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedb...@nondot.org
          Reporter: llvm-...@redking.me.uk
                CC: efrie...@codeaurora.org, hfin...@anl.gov,
                    llvm-bugs@lists.llvm.org, michael.hl...@gmail.com,
                    spatel+l...@rotateright.com

reduceBuildVecConvertToConvertBuildVec vectorizes int2float in the DAGCombiner,
which means that even if the LV/SLP has decided to keep scalar code, this will
override this.

While there are cases where vectorization is necessary in the DAG (mainly due
to legalization artefacts), I don't think this is the case here. I think we
should get rid of this and instead assume that the vectorizers know what they
are doing. 

SVN blame says this code was added back in 2012.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to