| Issue |
209276
|
| Summary |
Missed optimization opportunity: collapsing jump table
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
coastalwhite
|
While working on a bytecode interpreter, we used the following Rust code that can be found in the attached godbolt link. It does not seem to recognize that the jump table is essentially just an identity and can be completely removed unless we remove one or two more lines from the bottom.
https://godbolt.org/z/bbdbbd595
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs