[all-commits] [llvm/llvm-project] 576e56: [RelLookupTableConverter][NFC] Remove unused Func ...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 576e56a6ac966699ce857bf34309bdf1c6d636d1
      https://github.com/llvm/llvm-project/commit/576e56a6ac966699ce857bf34309bdf1c6d636d1
  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] Remove unused Func parameter from createRelLookupTable (#223556)

The Function &Func parameter was only used to access the parent Module
via Func.getParent(). However, createRelLookupTable already takes
GlobalVariable &LookupTable, which has the same parent Module.

Remove the redundant parameter and the now-unused Func reference at the
callsite in convertToRelLookupTable.



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