[all-commits] [llvm/llvm-project] b5f897: [DAGCombine] Checking the cost directly to improve...
QingShan Zhang via All-commits
all-commits at lists.llvm.org
Tue Apr 28 18:50:07 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b5f89744cca1f12c452b7ce4504bc6fad32eae0e
https://github.com/llvm/llvm-project/commit/b5f89744cca1f12c452b7ce4504bc6fad32eae0e
Author: QingShan Zhang <qshanz at cn.ibm.com>
Date: 2020-04-29 (Wed, 29 Apr 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/PowerPC/qpx-recipest.ll
Log Message:
-----------
[DAGCombine] Checking the cost directly to improve the code readability
Call getNegatedExpression(Cost) and check the Cost to make the code more clear.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D78347
More information about the All-commits
mailing list