[clang] [llvm] [InstCombine] Infer nuw for gep inbounds from base of object (PR #119225)

Lu Weining via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 04:13:07 PST 2024


SixWeining 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 while it is `-O3 -DNDEBUG` on loongarch64. Is it an issue of the llvm-zorg framework?

# Reproduce
$ clang llvm-test-suite/SingleSource/Benchmarks/CoyoteBench/huffbench.c -O3 -o huffbench
$ ./huffbench


https://github.com/llvm/llvm-project/pull/119225


More information about the llvm-commits mailing list