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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon May 19 03:12:28 PDT 2025


  Branch: refs/heads/users/arsenm/ir/reorder-constant-data-enum-values
  Home:   https://github.com/llvm/llvm-project
  Commit: dc6faaba4ad6d4eea88d7f759601b3bb86e7d164
      https://github.com/llvm/llvm-project/commit/dc6faaba4ad6d4eea88d7f759601b3bb86e7d164
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-05-19 (Mon, 19 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