[all-commits] [llvm/llvm-project] 221858: MIPS: Support isLegalICmpImmediate and isLegalAddI...

YunQiang Su via All-commits all-commits at lists.llvm.org
Fri Mar 28 08:04:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2218587b5b131bb8ed57c3e6c7a5c0c589493300
      https://github.com/llvm/llvm-project/commit/2218587b5b131bb8ed57c3e6c7a5c0c589493300
  Author: YunQiang Su <syq at debian.org>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

  Changed paths:
    M llvm/lib/Target/Mips/MipsISelLowering.cpp
    M llvm/lib/Target/Mips/MipsISelLowering.h

  Log Message:
  -----------
  MIPS: Support isLegalICmpImmediate and isLegalAddImmediate (#133400)

Set it to true only if isInt<16>.
By default implemention defines them to true always. For most cases,
MIPS uses 16bit IMM, and for microMIPS, ICMP and ADDiu have 16bit IMM
flavors.



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