[all-commits] [llvm/llvm-project] 068a62: AMDGPU: Add baseline test for bitcast of scalar_to...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Jan 13 04:36:42 PST 2025
Branch: refs/heads/users/arsenm/dag/fold-bitcast-scalar-to-vector-of-int
Home: https://github.com/llvm/llvm-project
Commit: 068a62296aa569db6eaa53e2ed2918982691579c
https://github.com/llvm/llvm-project/commit/068a62296aa569db6eaa53e2ed2918982691579c
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: 78675d11d67e343b29a6cdc13f2f7337dc664cf4
https://github.com/llvm/llvm-project/commit/78675d11d67e343b29a6cdc13f2f7337dc664cf4
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/01094500d7fa...78675d11d67e
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