[all-commits] [llvm/llvm-project] 3864bf: [IR] Fix ignoring `non-global-value-max-name-size`...
Daniil Fukalov via All-commits
all-commits at lists.llvm.org
Tue May 28 07:10:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3864bfd2e0ce7e32fd623c550660885599383e6a
https://github.com/llvm/llvm-project/commit/3864bfd2e0ce7e32fd623c550660885599383e6a
Author: Daniil Fukalov <1671137+dfukalov at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/ValueSymbolTable.cpp
A llvm/test/Assembler/non-global-value-max-name-size-2.ll
A llvm/test/Bitcode/value-with-long-name-dbg.ll
M llvm/test/Bitcode/value-with-long-name.ll
Log Message:
-----------
[IR] Fix ignoring `non-global-value-max-name-size` in `ValueSymbolTable::makeUniqueName()`. (#89057)
E.g. during inlining new symbol name can be duplicated and then
`ValueSymbolTable::makeUniqueName()` will add unique suffix, exceeding
the `non-global-value-max-name-size` restriction.
Also fixed `unsigned` type of the option to `int` since `ValueSymbolTable`'
constructor can use `-1` value that means unrestricted name size.
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