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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to