[all-commits] [llvm/llvm-project] 8b445a: [CodeGen] Fix performance regression introduced in...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Tue Sep 30 08:17:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b445ab68452fc81a1f0e662c11c3989ca98928c
      https://github.com/llvm/llvm-project/commit/8b445ab68452fc81a1f0e662c11c3989ca98928c
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/ValueTypes.td

  Log Message:
  -----------
  [CodeGen] Fix performance regression introduced in b05101b

The isNormalValueType = false flag was not set for this pseudo value
type, which caused significant size increases for some classes: the
size of the TargetLoweringBase class to 1.5 MB, because the size of
that class is quadratic in MVT::VALUETYPE_SIZE, and this commit
increased that from 256 to 504.

Reported by: abadams
Fixes: b05101b ("[TableGen, CodeGen, CHERI] Add support for the cPTR wildcard value type.")

Reviewed By: nikic

Pull Request: https://github.com/llvm/llvm-project/pull/161313



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