You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the weight review, the precision-build-based per-instance disambiguation was the heaviest piece (its own module + a build flag + CMake plumbing + tests) for the narrowest trigger (fires only when the most-flagrant hotspot is also inside a #:for/#:def expansion). Removed in full:
- deleted toolchain/mfc/fp_precision_lines.py and its tests; deleted _disambiguate_instances
- reverted CMakeLists.txt and build.py to upstream (no MFC_FP_PRECISION_LINES option, no marker-strip step, no -D flag); dropped the --fp-precision-lines build arg and the --precision-sim-binary fp-stability arg
- removed the E3 disambiguation stage, its docstring section, and the per-instance summary display
Kept: the lightweight '#:for/#:def-expanded — may represent multiple instances' hotspot warning (cheap, honest, separate from the disambiguation machinery). 57 toolchain tests, ruff, precheck all 7 green; CMakeLists.txt and build.py are byte-identical to upstream.
Copy file name to clipboardExpand all lines: toolchain/mfc/cli/commands.py
-14Lines changed: 0 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -141,13 +141,6 @@
141
141
default=False,
142
142
dest="deps_only",
143
143
),
144
-
Argument(
145
-
name="fp-precision-lines",
146
-
help="(fp-stability) Strip fypp line markers so each expanded instance gets a distinct line; emits sidecars for per-instance attribution.",
147
-
action=ArgAction.STORE_TRUE,
148
-
default=False,
149
-
dest="fp_precision_lines",
150
-
),
151
144
],
152
145
examples=[
153
146
Example("./mfc.sh build", "Build all default targets (CPU)"),
@@ -945,13 +938,6 @@
945
938
default=None,
946
939
metavar="PATH",
947
940
),
948
-
Argument(
949
-
name="precision-sim-binary",
950
-
help="Path to a simulation binary built with --fp-precision-lines. When given, macro-ambiguous hotspots are disambiguated to the individual fypp-expanded instance.",
0 commit comments