[PATCH] D15315: [X86ISelLowering] Replace uint64_t with APInt to prevent overflow

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 06:15:22 PST 2015


RKSimon added a comment.

Just to be clear - APInt operators don't prevent or assert on overflow, it just provides *_ov methods that make it easier to recognise when overflow occurs. Please can you confirm that this approach will work for http://reviews.llvm.org/D14603?


http://reviews.llvm.org/D15315





More information about the llvm-commits mailing list