diff options
| author | OCHyams <orlando.hyams@sony.com> | 2022-11-09 10:41:28 +0000 |
|---|---|---|
| committer | OCHyams <orlando.hyams@sony.com> | 2022-11-09 10:46:04 +0000 |
| commit | a9025f57bac1121a2aa5ac05f48f611cd2b3a64f (patch) | |
| tree | 28aa97d38885d7278b6b3a4724f576a77cefa64f /llvm/unittests/Support/TargetParserTest.cpp | |
| parent | a621e799168ff6e57c27a49e6badd40b16bc44a8 (diff) | |
| download | llvm-a9025f57bac1121a2aa5ac05f48f611cd2b3a64f.zip llvm-a9025f57bac1121a2aa5ac05f48f611cd2b3a64f.tar.gz llvm-a9025f57bac1121a2aa5ac05f48f611cd2b3a64f.tar.bz2 | |
[Assignment Tracking][8/*] Add DIAssignID merging utilities
The Assignment Tracking debug-info feature is outlined in this RFC:
https://discourse.llvm.org/t/
rfc-assignment-tracking-a-better-way-of-specifying-variable-locations-in-ir
Add method:
Instruction::mergeDIAssignID(
ArrayRef<const Instruction* > SourceInstructions)
which merges the DIAssignID metadata attachments on `SourceInstructions` and
`this` and replaces uses of the original IDs with the new shared one.
This is used when stores are merged, for example sinking stores out of a
if-diamond CFG or vectorizing contiguous stores.
Reviewed By: jmorse
Differential Revision: https://reviews.llvm.org/D133291
Diffstat (limited to 'llvm/unittests/Support/TargetParserTest.cpp')
0 files changed, 0 insertions, 0 deletions
