[all-commits] [llvm/llvm-project] 023925: [RISCV] Use APInt in useInversedSetcc to prevent c...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Feb 16 04:37:41 PST 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 023925bcdfbc06941edaa64ba789dbad2bca2ce1
      https://github.com/llvm/llvm-project/commit/023925bcdfbc06941edaa64ba789dbad2bca2ce1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/condops.ll

  Log Message:
  -----------
  [RISCV] Use APInt in useInversedSetcc to prevent crashes when mask is larger than UINT64_MAX. (#81888)

There are no checks that the type is legal so we need to handle any
type.

(cherry picked from commit b57ba8ec514190b38eced26d541e8e25af66c485)




More information about the All-commits mailing list