llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.3k stars 12.11k forks source link

AArch64 atomicrmw fmin/fmax codegen results are host dependent or non-deterministic #106579

Open arsenm opened 2 months ago

arsenm commented 2 months ago

To avoid bot failures, I had to delete tests for lowering fp128 atomicrmw fmin/fmax. e.g. https://lab.llvm.org/buildbot/#/builders/174/builds/4162

On some hosts, the stack temporary after the call is at offset 48, and on others it's at 64.

Commit e05c22484efb5c767115525adfa4273e48b1ae26 should be reverted to restore this fp128 test coverage.

llvmbot commented 2 months ago

@llvm/issue-subscribers-backend-aarch64

Author: Matt Arsenault (arsenm)

To avoid bot failures, I had to delete tests for lowering fp128 atomicrmw fmin/fmax. e.g. https://lab.llvm.org/buildbot/#/builders/174/builds/4162 On some hosts, the stack temporary after the call is at offset 48, and on others it's at 64. Commit e05c22484efb5c767115525adfa4273e48b1ae26 should be reverted to restore this fp128 test coverage.
efriedma-quic commented 2 months ago

Do you have -print-after-all output to compare?

arsenm commented 2 months ago

before-pei-macos.mir.txt print-changed-macos.txt

I don't have the output on the failing hosts