[all-commits] [llvm/llvm-project] 1ead4a: IR: Reorder ConstantData enum values (#138638)

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ead4a8a85b7708f731bce83a22d807c0eded9ea
      https://github.com/llvm/llvm-project/commit/1ead4a8a85b7708f731bce83a22d807c0eded9ea
  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 (#138638)

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