[all-commits] [llvm/llvm-project] 6346af: IR: Reorder ConstantData enum values

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon May 5 23:44:56 PDT 2025


  Branch: refs/heads/users/arsenm/ir/reorder-constant-data-enum-values
  Home:   https://github.com/llvm/llvm-project
  Commit: 6346af35b1058d7da0fcffb63d6054da80de4056
      https://github.com/llvm/llvm-project/commit/6346af35b1058d7da0fcffb63d6054da80de4056
  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