[PATCH] D22440: Use a faster implementation of maxUIntN.

Ivan Krasin via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 09:55:30 PDT 2016


krasin added a subscriber: krasin.
krasin added a comment.

FYI: this made UBSan bot unhappy: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/14727/steps/check-llvm%20ubsan/logs/stdio

  [ RUN      ] MathExtras.minIntN
  /mnt/b/sanitizer-buildbot3/sanitizer-x86_64-linux-fast/build/llvm/include/llvm/Support/MathExtras.h:340:10: runtime error: negation of -9223372036854775808 cannot be represented in type 'long'; cast to an unsigned type to negate this value to itself
      #0 0x4fb9e3 in llvm::minIntN(long) /mnt/b/sanitizer-buildbot3/sanitizer-x86_64-linux-fast/build/llvm/include/llvm/Support/MathExtras.h:340:10


Repository:
  rL LLVM

https://reviews.llvm.org/D22440





More information about the llvm-commits mailing list