[all-commits] [llvm/llvm-project] 645f0e: IR: Make Module::getOrInsertGlobal() return a Glob...
Peter Collingbourne via All-commits
all-commits at lists.llvm.org
Tue May 27 12:23:33 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 645f0e6723f21aef8099d8d65f5719fd9feb125e
https://github.com/llvm/llvm-project/commit/645f0e6723f21aef8099d8d65f5719fd9feb125e
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: 2025-05-27 (Tue, 27 May 2025)
Changed paths:
M llvm/include/llvm/IR/Module.h
M llvm/lib/CodeGen/LowerEmuTLS.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/CodeGen/WasmEHPrepare.cpp
M llvm/lib/IR/Module.cpp
M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
M llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
M llvm/unittests/Analysis/BasicAliasAnalysisTest.cpp
M llvm/unittests/IR/ConstantsTest.cpp
Log Message:
-----------
IR: Make Module::getOrInsertGlobal() return a GlobalVariable.
After pointer element types were removed this function can only return
a GlobalVariable, so reflect that in the type and comments and clean
up callers.
Reviewers: nikic
Reviewed By: nikic
Pull Request: https://github.com/llvm/llvm-project/pull/141323
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