[all-commits] [llvm/llvm-project] 7c7350: IR: Reorder ConstantData enum values

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue May 6 08:26:06 PDT 2025


  Branch: refs/heads/users/arsenm/ir/reorder-constant-data-enum-values
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c7350fabf5e2626538acd8f9dc84c25789fb1f8
      https://github.com/llvm/llvm-project/commit/7c7350fabf5e2626538acd8f9dc84c25789fb1f8
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M llvm/include/llvm/IR/Value.def

  Log Message:
  -----------
  IR: Reorder ConstantData enum values

This sorts ConstantData to the low values, so we can perform
a hasUseList check in a single compare instead of requiring 2
compares plus an and for the range check.



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