[all-commits] [llvm/llvm-project] 078eb4: [RISCV] Fix a UBSAN failure for passing INT64_MIN ...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Aug 18 12:48:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 078eb4bd85ddaac530bf2919bb32c6daa6c3e36f
      https://github.com/llvm/llvm-project/commit/078eb4bd85ddaac530bf2919bb32c6daa6c3e36f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Fix a UBSAN failure for passing INT64_MIN to std::abs.

clang recently started checking for INT64_MIN being passed to 64-bit std::abs.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D158304




More information about the All-commits mailing list