[all-commits] [llvm/llvm-project] 6c334e: [RelLookupTableConverter][NFC] Hoist loop invarian...

PiJoules via All-commits all-commits at lists.llvm.org
Tue Sep 15 14:20:22 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c334efd9df6cacb2c5b5ca7fc3533db95e5fff7
      https://github.com/llvm/llvm-project/commit/6c334efd9df6cacb2c5b5ca7fc3533db95e5fff7
  Author: PiJoules <leonardchan at google.com>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Utils/RelLookupTableConverter.cpp

  Log Message:
  -----------
  [RelLookupTableConverter][NFC] Hoist loop invariants in createRelLookupTable (#223557)

IntPtrTy, Int32Ty, and Base (ptrtoint of the relative lookup table) are
invariant across all elements of the lookup table. Hoist them out of the
element iteration loop to avoid redundant recomputations.



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