[all-commits] [llvm/llvm-project] 2f8f58: [IR] Add method to GlobalVariable to change type o...
Eli Friedman via All-commits
all-commits at lists.llvm.org
Fri Aug 9 09:23:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2f8f58dd17a11934e8c8ec212b6474f76fb18e61
https://github.com/llvm/llvm-project/commit/2f8f58dd17a11934e8c8ec212b6474f76fb18e61
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2024-08-09 (Fri, 09 Aug 2024)
Changed paths:
M clang/lib/CodeGen/CGDecl.cpp
M llvm/include/llvm/IR/GlobalVariable.h
M llvm/lib/IR/Globals.cpp
Log Message:
-----------
[IR] Add method to GlobalVariable to change type of initializer. (#102553)
With opaque pointers, nothing directly uses the value type, so we can
mutate it if we want. This avoid doing a complicated RAUW dance.
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