Issue 202763
Summary [Control Flow][Missed Optimization][Bug] Duplicate jump instruction generated at O3
Labels bug, llvm:optimizations, missed-optimization
Assignees
Reporter Thibault-Monnier
    LLVM at `-O3` leaves a duplicate jump instruction: https://godbolt.org/z/PWfEvnbco

```asm
        ja      .LBB0_9
 ja      .LBB0_9
```

It seems that the Control Flow Optimizer removes `bb.10` but leaves the redundant `bb.1.land.lhs.true.i` block.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to