[all-commits] [llvm/llvm-project] 89fce6: AMDGPU: Add baseline test for bitcast of scalar_to...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun Jan 12 19:04:45 PST 2025


  Branch: refs/heads/users/arsenm/dag/fold-bitcast-scalar-to-vector-of-int
  Home:   https://github.com/llvm/llvm-project
  Commit: 89fce62eddcbecb38ecbfa9c1964243f9262ce21
      https://github.com/llvm/llvm-project/commit/89fce62eddcbecb38ecbfa9c1964243f9262ce21
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-01-13 (Mon, 13 Jan 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/scalar_to_vector.ll

  Log Message:
  -----------
  AMDGPU: Add baseline test for bitcast of scalar_to_vector combine


  Commit: 01094500d7faadfdb17b4c25c95f1df6bd3c8a0e
      https://github.com/llvm/llvm-project/commit/01094500d7faadfdb17b4c25c95f1df6bd3c8a0e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-01-13 (Mon, 13 Jan 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AMDGPU/scalar_to_vector.ll

  Log Message:
  -----------
  DAG: Fold bitcast of scalar_to_vector to anyext

scalar_to_vector is difficult to make appear and test,
but I found one case where this makes an observable difference.
It fires more often than this in the test suite, but most of them
have no net result in the final code. This helps reduce regressions
in a future commit.


Compare: https://github.com/llvm/llvm-project/compare/89fce62eddcb%5E...01094500d7fa

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list