Use a type alias for the RootSet declaration in Float2IntPass.
This is just a minor refactoring in case we want to change the
type in the future (e.g. to something with deterministic iteration
order).
Paths
| Differential D74533
[Float2Int] Use a type alias for the RootSet. NFC AbandonedPublic Authored by bjope on Feb 13 2020, 1:54 AM.
Details
Summary Use a type alias for the RootSet declaration in Float2IntPass. This is just a minor refactoring in case we want to change the
Diff Detail
Event Timelinebjope added a child revision: D74534: [Float2Int] Make iteration over Roots deterministic.Feb 14 2020, 3:00 AM Comment Actions(not sure whom to add as reviewer to patches like this, added some random people who has contributed to this pass earlier)
Revision Contents
Diff 244361 llvm/include/llvm/Transforms/Scalar/Float2Int.h
llvm/lib/Transforms/Scalar/Float2Int.cpp
|
Why is Roots both a member variable and passed to multiple member functions?