[all-commits] [llvm/llvm-project] 9ba438: [RISCV] Remove some unnecessary casts from int64_t...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Feb 20 10:10:49 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ba438d3217505c48a7b9fb4cbe75ab9e055093f
      https://github.com/llvm/llvm-project/commit/9ba438d3217505c48a7b9fb4cbe75ab9e055093f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

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

  Log Message:
  -----------
  [RISCV] Remove some unnecessary casts from int64_t to uint64_t. NFC

We have a lot of casts near this to avoid undefined behavior or
arithmetic on arbitrary signed integers, but the casts removed here
don't appear to be necessary.



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