Commit 5338708
authored
Arm backend: Handle None arg for creating empty TosaArg (#12952)
### Summary
In order to get the same number and order of arguments from fx.Node.args
and the list[TosaArg] used in nodevisitor, we need to allow for empty
(None) args. The empty TosaArg is represented with fields set to None
and empty string for name.1 parent b0dda93 commit 5338708
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
| |||
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
128 | 133 | | |
129 | 134 | | |
130 | 135 | | |
| |||
0 commit comments