Nikita Popov
3713bc8a0b
[FunctionImport] Convert tests to opaque pointers (NFC)
2022-12-13 16:14:34 +01:00
Fangrui Song
a9af1b9a30
[test] Change -function-import tests to use -passes=
2022-07-17 21:43:00 -07:00
Fangrui Song
59fafdd815
[test] Migrate FunctionImport/cg_profile.ll to new PM
2022-07-16 01:10:39 -07:00
Wolfgang Pieb
ff87ee4dee
[Metadata] Utilize the resizing capability of MDNodes in Moduleflag processing.
...
This mostly affects PGO/LTO builds which use module flags describing the call
graph. Fixes Issue #51893 .
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D125999
2022-07-06 10:18:33 -07:00
Yuanfang Chen
a223354161
[CGProfile] allows bitcast in metadata node storing function pointers
...
For example, during RAUW in IRMover, the `Function` ValueAsMetadata in "CG Profile" could become bitcast.
Reviewed By: tejohnson
Differential Revision: https://reviews.llvm.org/D88433
2020-11-13 09:28:21 -08:00