Issue 146213
Summary [llvm] [M68k] CallSeq assertion failure in SelectionDAG
Labels bug, backend:m68k, llvm
Assignees
Reporter knickish
    ```ll
; RUN: llc < %s -mtriple=m68k-linux | FileCheck %s

define double @minimized() {
start:
  %_58 = call double null(double 0.000000e+00)
 %_60 = load double, ptr null, align 8
  %_57 = fmul double 0.000000e+00, %_60
  store double %_57, ptr null, align 8
  ret double 0.000000e+00
}
```

fails with `.../bin/FileCheck .../llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp:510: llvm::SDNode* FindCallSeqStart(llvm::SDNode*, unsigned int&, unsigned int&, const llvm::TargetInstrInfo*): Assertion 'Best' failed.`

Something appears to be wrong with the `callseq_start/end` ordering with these instructions, but not yet sure what the exact problem is


_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to