Commit eff4861
Define edge exception and preserve as global (#12300)
Summary:
Pull Request resolved: #12300
There is a list of ops provided as arguments to the to_edge_with_preserved_ops and EdgeCompileConfig. This PR pulls these lists out of the function and hoists it above the function as a global variable, allowing it to be imported into other code to align compiler behavior between different callsites.
Reviewed By: mcremon-meta
Differential Revision: D780088711 parent defa089 commit eff4861
1 file changed
+17
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
213 | 228 | | |
214 | 229 | | |
215 | 230 | | |
| |||
226 | 241 | | |
227 | 242 | | |
228 | 243 | | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
| 244 | + | |
239 | 245 | | |
240 | 246 | | |
241 | 247 | | |
242 | | - | |
| 248 | + | |
243 | 249 | | |
244 | 250 | | |
245 | 251 | | |
| |||
0 commit comments