This is not a correctness fix because the set is only used for debug
output. However, it helps avoid noise when looking at diffs between
compiler runs.
The set is only maintained with debug output enabled, so the added cost
should be acceptable.
Paths
| Differential D139465
GISel/Combiner: maintain created instructions in a SetVector ClosedPublic Authored by nhaehnle on Dec 6 2022, 2:30 PM.
Details Summary This is not a correctness fix because the set is only used for debug The set is only maintained with debug output enabled, so the added cost
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 6 2022, 11:19 PM Closed by commit rG1598dc84bd61: GISel/Combiner: maintain created instructions in a SetVector (authored by nhaehnle). · Explain WhyDec 7 2022, 12:41 PM This revision was automatically updated to reflect the committed changes. Comment Actions
This is in a .cpp file, so not part of the ABI, so that seems perfectly safe. Good idea!
Revision Contents
Diff 481019 llvm/lib/CodeGen/GlobalISel/Combiner.cpp
|