[all-commits] [llvm/llvm-project] 28a896: CloneModule: Map global initializers after mapping...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Apr 2 06:29:42 PDT 2025
Branch: refs/heads/users/arsenm/clone-module-map-initializers-after-function
Home: https://github.com/llvm/llvm-project
Commit: 28a896dfb3536d4d44063273314f2d612ff9bac4
https://github.com/llvm/llvm-project/commit/28a896dfb3536d4d44063273314f2d612ff9bac4
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-04-02 (Wed, 02 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Utils/CloneModule.cpp
M llvm/test/tools/llvm-reduce/reduce-functions-blockaddress-wrong-function.ll
Log Message:
-----------
CloneModule: Map global initializers after mapping the function
Global initializers may contain references to blockaddresses, which
won't have their VMap entries until after the function body is processed.
Fixes emitting broken initializers in llvm-reduce when functions using
blockaddress are deleted.
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