[all-commits] [llvm/llvm-project] 9e6506: [DAG] FoldConstantVectorArithmetic - remove SDNode...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Nov 5 07:36:45 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9e6506299a10884ae20a51d8c91a812a73c16433
https://github.com/llvm/llvm-project/commit/9e6506299a10884ae20a51d8c91a812a73c16433
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-11-05 (Fri, 05 Nov 2021)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[DAG] FoldConstantVectorArithmetic - remove SDNodeFlags argument
Another minor step towards merging FoldConstantVectorArithmetic into FoldConstantArithmetic.
We don't use SDNodeFlags in any constant folding inside DAG, so passing the Flags argument is a waste of time - an alternative would be to wire up FoldConstantArithmetic to take SDNodeFlags just-in-case we someday start using it, but we don't have any way to test it and I'd prefer to avoid dead code.
Differential Revision: https://reviews.llvm.org/D113276
More information about the All-commits
mailing list