diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-11-05 14:36:17 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-11-05 14:36:17 +0000 |
commit | 9e6506299a10884ae20a51d8c91a812a73c16433 (patch) | |
tree | 68183b6786da46d9bd98c68fcd6163905be08eab /llvm/lib/Analysis/ValueTracking.cpp | |
parent | ad617183bb29c72cedd6ec2e29dc9d1ac3cbdf7f (diff) | |
download | llvm-9e6506299a10884ae20a51d8c91a812a73c16433.zip llvm-9e6506299a10884ae20a51d8c91a812a73c16433.tar.gz llvm-9e6506299a10884ae20a51d8c91a812a73c16433.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions