[all-commits] [llvm/llvm-project] 4db57a: [Coroutines] Improve dump of BB label to avoid str...
Tyler Nowicki via All-commits
all-commits at lists.llvm.org
Tue Oct 15 21:37:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4db57ab958f5bac1d85927a955f989625badf962
https://github.com/llvm/llvm-project/commit/4db57ab958f5bac1d85927a955f989625badf962
Author: Tyler Nowicki <tyler.nowicki at amd.com>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M llvm/include/llvm/Transforms/Coroutines/SuspendCrossingInfo.h
M llvm/lib/Transforms/Coroutines/MaterializationUtils.cpp
M llvm/lib/Transforms/Coroutines/SuspendCrossingInfo.cpp
Log Message:
-----------
[Coroutines] Improve dump of BB label to avoid str copies (#112374)
* This avoids the need to call printAsOperand that requires use of an
ostream and thus avoids a str copy.
* ModuleSlotTracker is used to get a BB # for BB's without names when
dumping SuspendCrossingInfo and materialization info.
* getBasicBlockLabel() is changed to dumpBasicBlockLabel() that directly
prints the label to dbgs()
* The label corresponds with the print-before BB #s.
* This change does not require any additional arguments to be added to
dump() methods, at least those that currently do not require any args.
Co-authored-by: tnowicki <tnowicki.nowicki at amd.com>
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