aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorKai Luo <lkail@cn.ibm.com>2020-12-08 03:22:32 +0000
committerKai Luo <lkail@cn.ibm.com>2020-12-08 03:24:07 +0000
commit44bd8ea167f2138de9317196a7b199840e29fb59 (patch)
tree671dc48a5df10f0009c98f5df249a4e2d4d1b781 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent49599cb1a20cc4f4d6d2f71965f2069ae8d4f96a (diff)
downloadllvm-44bd8ea167f2138de9317196a7b199840e29fb59.zip
llvm-44bd8ea167f2138de9317196a7b199840e29fb59.tar.gz
llvm-44bd8ea167f2138de9317196a7b199840e29fb59.tar.bz2
[DAGCombine][PowerPC] Simplify nabs by using legal `smin` operation
Convert `0 - abs(x)` to `smin (x, -x)` if `smin` is a legal operation. Verification: https://alive2.llvm.org/ce/z/vpquFR Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D92637
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions