[all-commits] [llvm/llvm-project] eb2a40: [NFC] [DAGCombiner] Remove unnecessary negation in...
Qiu Chaofan via All-commits
all-commits at lists.llvm.org
Mon Aug 31 09:37:40 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: eb2a405c181c9833eb8676d147619b8c893dc6fa
https://github.com/llvm/llvm-project/commit/eb2a405c181c9833eb8676d147619b8c893dc6fa
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2020-09-01 (Tue, 01 Sep 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/PowerPC/fneg.ll
Log Message:
-----------
[NFC] [DAGCombiner] Remove unnecessary negation in visitFNEG
In visitFNEG of DAGCombiner, the folding of (fneg (fsub c, x)) is
redundant since getNegatedExpression already handles it.
More information about the All-commits
mailing list