gh-131798: Use sym_new_type instead of sym_new_not_null for _BUILD_LIST, _BUILD_SLICE, and _BUILD_MAP#132434
Conversation
|
|
|
@Fidget-Spinner I think I still have some work for this PR A few days ago, In #132289, @brandtbucher setup optimization path for I'm not sure this is what we want to get(I guess it's, so maybe we just need to patch the test?) |
sym_new_type instead of sym_new_not_null for _BUILD_LIST, _BUILD_SET, _BUILD_MAPsym_new_type instead of sym_new_not_null for _BUILD_LIST, _BUILD_SLICE, _BUILD_MAP
sym_new_type instead of sym_new_not_null for _BUILD_LIST, _BUILD_SLICE, _BUILD_MAPsym_new_type instead of sym_new_not_null for _BUILD_LIST, _BUILD_SLICE, and _BUILD_MAP
|
@Zheaoli, that's actually a good thing! The additional information that you've added to the optimizer for (I don't think writing a test for the |
Yes, I guess the |
5101fc8 to
1e69348
Compare
| self.assertIsNotNone(ex) | ||
| uops = get_opnames(ex) | ||
| self.assertEqual(uops.count("_GUARD_NOS_LIST"), 1) | ||
| self.assertEqual(uops.count("_GUARD_NOS_LIST"), 0) |
There was a problem hiding this comment.
Can you please update the comment above and change Guarded to Unguarded. The guard has now been removed.
Same for test_remove_guard_for_known_type_dict
… _BUILD_LIST, _BUILD_SET, _BUILD_MAP Signed-off-by: Manjusaka <me@manjusaka.me>
Signed-off-by: Manjusaka <me@manjusaka.me>
Signed-off-by: Manjusaka <me@manjusaka.me>
Signed-off-by: Manjusaka <me@manjusaka.me>
Signed-off-by: Manjusaka <me@manjusaka.me>
8d55bc4 to
839a749
Compare
|
@Zheaoli please don't force push, just normal push so we can see the commit diff. We will squash and merge at the end as one commit. Thanks! |
Fidget-Spinner
left a comment
There was a problem hiding this comment.
Thanks again! Great job.
Uh oh!
There was an error while loading. Please reload this page.