Refactor local_add_specialize and test_local_add_specialize
These changes "flatten" the nested conditions that lead to the replacement
logic.
They also clarify the tests that are labeled as being for
`local_add_specialize`, which actually aren't. Also, the unrelated tests
implicitly relied on the canonicalizations built into
`get_scalar_constant_value`; now, the actual canonicalizations are required in
anticipation of `get_scalar_constant_value`'s replacement.
正在显示
请
注册
或者
登录
后发表评论