As the test shows, a simple switch used to emit the undesirable
"movslq (%rax,%rdi,4), %rsi" jumps when -code-model=Large.
Emit EK_BlockAddress jumps instead.
Details
Details
- Reviewers
eli.friedman joerg lhames
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The file was auto-formatted via clang-format on save, via Atom. Sorry about the noise.
Comment Actions
The diff is completely unreviewable in the current form. It is also the wrong approach.
https://reviews.llvm.org/D26779 should be reasonable easy to adapt to x86.