[all-commits] [llvm/llvm-project] e3156c: [RISCV] Support RISCV BitInt larger than 128 (#175...

Piyou Chen via All-commits all-commits at lists.llvm.org
Mon Jan 12 23:35:51 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3156c531da5aa4ec604605ed4e19638879d773c
      https://github.com/llvm/llvm-project/commit/e3156c531da5aa4ec604605ed4e19638879d773c
  Author: Piyou Chen <piyou.chen at sifive.com>
  Date:   2026-01-13 (Tue, 13 Jan 2026)

  Changed paths:
    M clang/lib/Basic/Targets/RISCV.h
    M clang/test/CodeGen/RISCV/bitint.c
    M clang/test/CodeGen/ext-int-cc.c
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/bitint-fp-conv-200.ll
    M llvm/test/CodeGen/RISCV/fpclamptosat.ll

  Log Message:
  -----------
  [RISCV] Support RISCV BitInt larger than 128 (#175515)

fa57074d146925a303263905af415cc78f58f353 constraint the RISCV BitInt
with 128 bits.

It is due to fp <-> int convension will crash in backend.
(https://godbolt.org/z/9o1qr4rje)

This patch enable larger than 128 bits BitInt type by
`setMaxLargeFPConvertBitWidthSupported`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list