[all-commits] [llvm/llvm-project] 87e8ce: [llvm] Re-use original global name in RelLookupTab...
PiJoules via All-commits
all-commits at lists.llvm.org
Wed May 29 13:28:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87e8ce376771f8c88a12776544cd81ec5a4993fb
https://github.com/llvm/llvm-project/commit/87e8ce376771f8c88a12776544cd81ec5a4993fb
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/RelLookupTableConverter.cpp
M llvm/test/Transforms/RelLookupTableConverter/X86/opaque-ptr.ll
M llvm/test/Transforms/RelLookupTableConverter/X86/relative_lookup_table.ll
Log Message:
-----------
[llvm] Re-use original global name in RelLookupTableConverter (#93626)
Prior, the reltable we create was "reltable." + FuncName which can
result in multiple tables named "reltable." + FuncName + ".{number}" if
we substitute multiple tables in a function. Since we replace the
original global, it makes it easier to just take over the original
global's name. Functionally, this doesn't change the IR emitted, just
global names.
This is a subset of PR 93355 that I'm breaking into multiple patches.
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