[all-commits] [llvm/llvm-project] de775f: [DAG] Add constant SPLAT handling in getNodes SIGN...
David Green via All-commits
all-commits at lists.llvm.org
Tue Aug 8 02:28:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: de775f264d5916d3c67967328b68064ab0d59953
https://github.com/llvm/llvm-project/commit/de775f264d5916d3c67967328b68064ab0d59953
Author: David Green <david.green at arm.com>
Date: 2023-08-08 (Tue, 08 Aug 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/AArch64/sve-fp-int-min-max.ll
A llvm/test/CodeGen/AArch64/sve-splat-sext.ll
Log Message:
-----------
[DAG] Add constant SPLAT handling in getNodes SIGN_EXTEND_INREG
This helps simplify constant splats a little. Without this the code in
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp#L14072 always returns the
existing node.
Differential Revision: https://reviews.llvm.org/D157259
More information about the All-commits
mailing list