Commit 7c12418
authored
[GISel] Avoid creating a virtual register we don't need. (llvm#119305)
narrowScalarAddSub was creating a virtual register and then overwriting
the Register variable without using it. Add an else and only create it
when needed.1 parent 7bcd459 commit 7c12418
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6406 | 6406 | | |
6407 | 6407 | | |
6408 | 6408 | | |
6409 | | - | |
| 6409 | + | |
6410 | 6410 | | |
6411 | 6411 | | |
6412 | 6412 | | |
| 6413 | + | |
| 6414 | + | |
6413 | 6415 | | |
6414 | 6416 | | |
6415 | 6417 | | |
| |||
0 commit comments