2013/1/9 David Tweed <[email protected]>: > > |This test breaks on a Release-Asserts build with CMake+ninja. The > |generated IR is: > > Thanks for reporting. I'll change the name regexps to be more general, but I > wonder why it's happening? I'd thought the command line was suitably > specific, though I'm using configure+make. It'd be a bit concerning if the > choice of build system changed the compiler at all.
In general, each Instruction's name is affected by --enable-assertions, aka, NDEBUG. See also clang/lib/CodeGen/CGBuilder.h // Don't preserve names on values in an optimized build. #ifdef NDEBUG typedef llvm::IRBuilder<false> CGBuilderTy; #else typedef llvm::IRBuilder<> CGBuilderTy; #endif _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
