[all-commits] [llvm/llvm-project] 1b043c: [RISCV] Simplify RISCVMCExpr::evaluateAsConstant

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Mar 2 22:44:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b043c25573aa0b13ad4241c641c38ca26f26bc1
      https://github.com/llvm/llvm-project/commit/1b043c25573aa0b13ad4241c641c38ca26f26bc1
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-03-02 (Sun, 02 Mar 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp

  Log Message:
  -----------
  [RISCV] Simplify RISCVMCExpr::evaluateAsConstant

Most VariantKind cannot be evaluated at the parsing time.
It makes more sense to list the evaluable cases.



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