[all-commits] [llvm/llvm-project] e1aa5b: [DAG] visitSCALAR_TO_VECTOR - don't fold scalar_to...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Jan 23 08:29:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1aa5b1fd12d548863cf73c1ec09f98fe89d117b
      https://github.com/llvm/llvm-project/commit/e1aa5b1fd12d548863cf73c1ec09f98fe89d117b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/pr78897.ll

  Log Message:
  -----------
  [DAG] visitSCALAR_TO_VECTOR - don't fold scalar_to_vector(bin(extract(x),extract(y)) -> bin(x,y) if extracts have other uses

Fixes #78897 - although the test case still has a number of poor codegen issues (in particular for i686 triples) that will need addressing (combining the nodes in topological order should help).




More information about the All-commits mailing list