Commit 902e360
spirv-opt: clarify declaration of FindNumberOfIterations (KhronosGroup#6727)
This function takes the branch instruction, not the condition
instruction as returned by GetConditionInst(). Rename the parameter in
the header (the implementation already uses the right name) and update
the comment to save the next person discovering this a bit of time.
---------
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Co-authored-by: alan-baker <alanbaker@google.com>1 parent 9b51d3d commit 902e360
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| |||
0 commit comments