[llvm-dev] Codegen difference between Asserts and No-Asserts mode

Hal Finkel via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 23 14:48:00 PDT 2015


Hi Sumanth,

I don't know to what you're referring, but the output from Release vs. Release+Asserts should be identical. There might be differences in the IR value names, but if that is affecting the final result, that's a bug.

 -Hal

----- Original Message -----
> From: "Sumanth Gundapaneni via llvm-dev" <llvm-dev at lists.llvm.org>
> To: llvmdev at cs.uiuc.edu, llvm-dev at lists.llvm.org
> Sent: Wednesday, September 23, 2015 4:44:05 PM
> Subject: [llvm-dev] Codegen difference between Asserts and No-Asserts mode
> 
> Hi,
> 
> What is the guarantee that the codegen is same across Release and
> Release+Asserts build (except the known differences)?
> 
> I assume there is no guarantee and it is possible to drop a bug like
> this. Personally I feel it is very expensive to debug and it depends
> on each scenario.
> 
> Most of the bots test the Release+Asserts mode and any thoughts on
> how we can catch this sort of a problem with minimal set of changes
> to build infrastructure?
> 
> --Sumanth G
> 
> 
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory


More information about the llvm-dev mailing list