OSDN Git Service

'optnone' should not disable DAG combiner.
authorPaul Robinson <paul_robinson@playstation.sony.com>
Wed, 25 Mar 2015 00:10:24 +0000 (00:10 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Wed, 25 Mar 2015 00:10:24 +0000 (00:10 +0000)
commit759015d80f16064ba4197dd8c3b1a5a1d6f6fff2
tree0b39434be2ea0e3feba65ae7ced4719cfa55210f
parentc50bf46a2290d5131e9379a7499f5451b2fbe584
'optnone' should not disable DAG combiner.

Reverts the code change from r221168 and the relevant test.
It was a mistake to disable the combiner, and based on the ultimate
definition of 'optnone' we shouldn't have considered the test case
as failing in the first place.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233153 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/fastmath-optnone.ll [deleted file]