OSDN Git Service

Always assert in DAGCombine and not only when -debug is enabled
authorMehdi Amini <mehdi.amini@apple.com>
Tue, 23 Dec 2014 18:59:02 +0000 (18:59 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Tue, 23 Dec 2014 18:59:02 +0000 (18:59 +0000)
commit8548c2453f04e3ea80087e0a925ed17862c78081
treea5d56231a831fdc40b2a34619b5b34ec5d8a5564
parent50c8c5686ec5fbae19d8ec72d46b228feb960862
Always assert in DAGCombine and not only when -debug is enabled

Right now in DAG Combine check the validity of the returned type
only when -debug is given on the command line. However usually
the test cases in the validation does not use -debug.
An Assert build should always check this.

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