[all-commits] [llvm/llvm-project] 6bbe7d: [RISCV][ISel] Attempt to fix UBSan error

qcolombet via All-commits all-commits at lists.llvm.org
Wed Oct 5 14:01:32 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bbe7d376e48946ea5450ca4a7d48637ed6a67a4
  Author: Quentin Colombet <quentin.colombet at gmail.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

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

  Log Message:
  [RISCV][ISel] Attempt to fix UBSan error

Explicitly check an SDValue with the invalid SDValue.

UBSan reports:
runtime error: load of value 36, which is not a valid value for type


More information about the All-commits mailing list