Issue 143606
Summary [X86] 454.calculix miscompare after #143017
Labels backend:X86
Assignees RKSimon
Reporter vzakhari
    This may not be reprodusible with the upstream Flang, because I have a customized LLVM pipeline that runs some extra passes.  At the same time, I can confirm that #143017 causes the miscompare by reverting it.

The only change in the whole benchmark appears in `stiff2mat.f` module that contains a single function.

Attaching the assembly for `stiff2mat.f`:
* With #143017: [bad.s.gz](https://github.com/user-attachments/files/20680266/bad.s.gz)
* Without #143017: [good.s.gz](https://github.com/user-attachments/files/20680273/good.s.gz)

Here is the LLVM IR and MIR dumps right before and afrer `x86-isel`:
* With #143017: [isel.bad.log.gz](https://github.com/user-attachments/files/20680318/isel.bad.log.gz)
* Without #143017: [isel.good.log.gz](https://github.com/user-attachments/files/20680321/isel.good.log.gz)

Please let me know if you need information from more passes.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to