[all-commits] [llvm/llvm-project] d68eb9: [Local] Preserve !callees when merging calls (#225...
Mian Miftah via All-commits
all-commits at lists.llvm.org
Thu Sep 24 00:02:05 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d68eb988705ce5e14ca6eba12c74ebdadf573ad7
https://github.com/llvm/llvm-project/commit/d68eb988705ce5e14ca6eba12c74ebdadf573ad7
Author: Mian Miftah <mmiftah.duna at gmail.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M llvm/include/llvm/IR/Metadata.h
M llvm/lib/IR/Metadata.cpp
M llvm/lib/Transforms/Utils/Local.cpp
A llvm/test/Transforms/GVN/callees-metadata.ll
A llvm/test/Transforms/SimplifyCFG/merge-callees-metadata.ll
Log Message:
-----------
[Local] Preserve !callees when merging calls (#225307)
When `SimplifyCFG` hoists or sinks two calls, `combineMetadata` drops `!callees`
even if both calls have it. Take the union of the lists when the retained
call moves, since it must allow the targets of either call. If either call
has no `!callees`, drop it from the merged call. For CSE, keep the list on
the call that stays in place.
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