Describe the bug
Some xls_benchmark_ir targets fail due to an internal error e.g.:
F1209 20:24:43.801930 52301 lazy_node_data.h:289 Check failed: f_->Contains(node) Must be attached to foo in order to get info from baz. Currently attached to bar
A workaround was introduced with a commit in #3636 which checks if a node is tracked by the current function before getting the node info.
To Reproduce
This bug was reproduced during the latest Test ZSTD module job while running xls_benchmark_ir targets.
Expected behavior
Failing targets should pass and generate the IR benchmark data.