Ignore dbg instructions when collecting stack slot markers. This is
to make sure the coloring is invariant regarding presence of dbg
instructions (even in cases when the dbg instructions might be
badly placed in the input).
Details
Details
- Reviewers
djtodoro - Commits
- rGcd2bff1ef105: [StackColoring] Fix a debug invariance problem
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This looks reasonable to me.
llvm/lib/CodeGen/StackColoring.cpp | ||
---|---|---|
717 | an early continue at the begging of the loop as: if (MI.isDebugInstr()) continue; ? |
llvm/lib/CodeGen/StackColoring.cpp | ||
---|---|---|
717 | Thanks for taking a look (I haven't figured out whom to add as a reviewer yet, but maybe you are signing up as a volounteer)! And sure, probably cleaner to add such an early continue to show that we ignore debug instructions throughout the analysis. I'll fix that. |
clang-format not found in user’s local PATH; not linting file.