Revert my previous change -- the subtraction of two constants was a no-op
authorBill Wendling <isanbard@gmail.com>
Mon, 8 Sep 2008 01:56:32 +0000 (01:56 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 8 Sep 2008 01:56:32 +0000 (01:56 +0000)
commit9a0d1ba0510ef68f35c21a43861dad957759d86f
treed5dd39275a748bb3a3e3f36448ee5a344f8cb676
parentca460d5a39e09836e279405b85e2390fa7e7d859
Revert my previous change -- the subtraction of two constants was a no-op
before. This is taken care of in the selection DAG pass. In my opinion, this
should be in one place or the other. I.e., it should probably be removed from
the DAG combiner (along with the other arithmetic transformations on constants
that are essentially no-ops).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55889 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp