bjope wrote: There are a couple of other situations in EmitScalarPrePostIncDec (and also in ScalarExprEmitter::EmitIncDecConsiderOverflowBehavior) when we create a 1/-1 ConstantInt based on isInc.
I've only touched one of those 4 cases in this patch. Not sure if there could be similar problems for the other 3 cases. But I think those cases are for signed types, or when having done promotions. So I focused on the situation that I could reproduce. https://github.com/llvm/llvm-project/pull/175152 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
