diff options
author | Tyler Nowicki <tyler.nowicki@amd.com> | 2024-08-27 17:55:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-27 18:55:33 -0400 |
commit | 51aceb5b30ff9934c476eeb5cd7ff584c3e27049 (patch) | |
tree | c16e289e975a2c01ae2077a1c5ba0e0d607a1612 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | d22bee143f4a1d867103571e23c992bf97f8e4b3 (diff) | |
download | llvm-51aceb5b30ff9934c476eeb5cd7ff584c3e27049.zip llvm-51aceb5b30ff9934c476eeb5cd7ff584c3e27049.tar.gz llvm-51aceb5b30ff9934c476eeb5cd7ff584c3e27049.tar.bz2 |
[llvm/llvm-project][Coroutines] Improve debugging and minor refactoring (#104642)
No Functional Changes
* Fix comments in several places
* Instead of using BB-getName() (in dump methods) use
getBasicBlockLabel. This fixes the poor output of the dumped info that
resulted in missing BB labels.
* Use RPO when dumping SuspendCrossingInfo. Without this the dump order
is determined by the ptr addresses and so is not consistent from run to
run making IR diffs difficult to read.
* Inference -> Interference
* Pull the logic that determines insertion location out of insertSpills
and into getSpillInsertionPt, to differentiate between these two
operations.
* Use Shape getters for CoroId instead of getting it manually.
---------
Co-authored-by: tnowicki <tnowicki.nowicki@amd.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions