[all-commits] [llvm/llvm-project] c9b7d2: [CFI/MergeFunctions] Modify MergeFunctions to prop...
Oskar Wirga via All-commits
all-commits at lists.llvm.org
Wed Oct 18 11:22:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9b7d21dc577b10dce2b8d67b86b279cfc374d40
https://github.com/llvm/llvm-project/commit/c9b7d21dc577b10dce2b8d67b86b279cfc374d40
Author: Oskar Wirga <10386631+oskarwirga at users.noreply.github.com>
Date: 2023-10-18 (Wed, 18 Oct 2023)
Changed paths:
M llvm/lib/Transforms/IPO/MergeFunctions.cpp
A llvm/test/Transforms/MergeFunc/cfi-thunk-merging.ll
Log Message:
-----------
[CFI/MergeFunctions] Modify MergeFunctions to propagate type information (#68628)
When MergeFuncs creates a thunk, it does not modify the function in
place, but creates a new one altogether. If type metadata is not
properly forwarded to this new function, LowerTypeTests will be unable
to put this thunk into the dispatch table.
The fix here is to just forward the type metadata to the newly created
functions.
More information about the All-commits
mailing list