[PATCH] Always assert in DAGCombine and not only when -debug is enabled

Owen Anderson resistor at mac.com
Tue Dec 23 10:25:05 PST 2014


LGTM.

—Owen

> On Dec 23, 2014, at 12:57 AM, Mehdi Amini <mehdi.amini at apple.com> wrote:
> 
> Hi,
> 
> 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. 
> I think an Assert build should always check this.
> 
> Mehdi
> 
> <Always-Assert-In-DAG-Combine.patch>





More information about the llvm-commits mailing list