stellar-aria wrote:

> What is the expected behavior of `+128` `-127`?

I feel like they shouldn't be matched, since with opposite signs they're not 
really within the set of limits? It just feels unintuitive to me for `-127` to 
be replaced by something like `-std::numeric_limits<int8_t>::max()`. I've added 
test cases for this, but I'm open to other possibilities as well. 

https://github.com/llvm/llvm-project/pull/127430
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to