[EarlyCSE] delete abs/nabs handling
authorChen Zheng <czhengsz@cn.ibm.com>
Tue, 10 Nov 2020 02:24:36 +0000 (21:24 -0500)
committerChen Zheng <czhengsz@cn.ibm.com>
Wed, 11 Nov 2020 02:10:58 +0000 (21:10 -0500)
commit4eb8359e742beac06f1594e64396256a8ecc30a3
tree95cc2aff84760533c7b4bbed0694b23038375dbe
parent29a3056bb5346d9b38e4dcb13700576efbff9425
[EarlyCSE] delete abs/nabs handling

delete abs/nabs handling in earlycse pass to avoid bugs related to
hashing values. After abs/nabs is canonicalized to intrinsics in D87188,
we should get CSE ability for abs/nabs back.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D90734
llvm/lib/Transforms/Scalar/EarlyCSE.cpp
llvm/test/Transforms/EarlyCSE/commute.ll