[clang] [llvm] [InstCombine] Infer nuw for gep inbounds from base of object (PR #119225)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 04:58:48 PST 2024
dtcxzyw wrote:
> Seems that this change causes Segment Fault on multiple targets including aarch64, loongarch64 and riscv64.
>
> This is detected by a LoongArch [buildbot](https://lab.llvm.org/staging/#/builders/20/builds/6282) and manually checked on aarch64 and riscv64 QEMUs.
>
> I wonder why aarch64 buildbot doesn't report this. I find that `CMAKE_CXX_FLAGS_RELEASE` is empty on [aarch64 bot](https://lab.llvm.org/buildbot/#/builders/121/builds/614) while it is `-O3 -DNDEBUG` on loongarch64. Is it an issue of the llvm-zorg framework?
>
> UPDATE: This [buildbot](https://lab.llvm.org/buildbot/#/builders/143)(aarch64) also fail which uses `-O3`.
>
> # Reproduce
> $ clang llvm-test-suite/SingleSource/Benchmarks/CoyoteBench/huffbench.c -O3 -o huffbench $ ./huffbench
Reproduced on Loongson-3A5000. I will provide a reduced test case later.
https://github.com/llvm/llvm-project/pull/119225
More information about the llvm-commits
mailing list