[all-commits] [llvm/llvm-project] 0894c2: [DAGCombiner] Avoid the pre-truncate of BUILD_VECT...

Rin via All-commits all-commits at lists.llvm.org
Tue Dec 19 07:25:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0894c2ee5f602e1766c8d8c5911797bf31cb8c4a
      https://github.com/llvm/llvm-project/commit/0894c2ee5f602e1766c8d8c5911797bf31cb8c4a
  Author: Rin <irina.dobrescu at arm.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/AArch64/avoid-pre-trunc.ll

  Log Message:
  -----------
  [DAGCombiner] Avoid the pre-truncate of BUILD_VECTOR sources. (#75792)

Avoid the pre-truncate of BUILD_VECTOR sources when there is more than
one use. This can avoid using unnecessary movs later down the
instruction selection pipeline.




More information about the All-commits mailing list