-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Regression tests fail on builds with expensive checks enabled #68594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@llvm/issue-subscribers-bug
```
$ ninja check-all
...
Failed Tests (13):
Clang :: Misc/warning-flags-tree.c
Clang :: Misc/warning-wall.c
LLVM :: CodeGen/PowerPC/fp-strict.ll
LLVM :: CodeGen/PowerPC/pr55463.ll
LLVM :: CodeGen/PowerPC/register-pressure.ll
LLVM :: CodeGen/PowerPC/spe.ll
LLVM :: CodeGen/X86/code_placement_ext_tsp.ll
LLVM :: CodeGen/X86/code_placement_ext_tsp_large.ll
LLVM :: Transforms/Inline/nested-inline.ll
LLVM :: Transforms/SampleProfile/csspgo-import-list.ll
LLVM-Unit :: Transforms/Utils/./UtilsTests/22/37
LLVM-Unit :: Transforms/Utils/./UtilsTests/23/37
LLVM-Unit :: Transforms/Utils/./UtilsTests/24/37
Testing Time: 834.97s
|
These two (also) fail for me locally when using |
Yes, these only fail on builds using debug versions of libc++, that is, with |
See also #73935. |
…E_CHECKS is enabled This was modifying a container as it iterated it, which tripped a check in libstdc++'s debug checks. Instead, just assign to the item via the reference we already have. This fixes the following expensive checks failures on my machine: LLVM :: CodeGen/PowerPC/fp-strict.ll LLVM :: CodeGen/PowerPC/pr55463.ll LLVM :: CodeGen/PowerPC/register-pressure.ll LLVM :: CodeGen/PowerPC/spe.ll Which are some of the tests noted by llvm#68594.
With my patch for ppc included I'm now down to:
|
…E_CHECKS is enabled (#73940) This was modifying a container as it iterated it, which tripped a check in libstdc++'s debug checks. Instead, just assign to the item via the reference we already have. This fixes the following expensive checks failures on my machine: LLVM :: CodeGen/PowerPC/fp-strict.ll LLVM :: CodeGen/PowerPC/pr55463.ll LLVM :: CodeGen/PowerPC/register-pressure.ll LLVM :: CodeGen/PowerPC/spe.ll Which are some of the tests noted by #68594.
As noted in issues #68594 and #73935, `JITLink/RISCV/ELF_ehframe.s` fails with libstdc++'s expensive checks because `getRISCVPCRelHi20` calls `std::equal_range` on the edges which may not be ordered by their offset. Instead let `ELFJITLinker_riscv` build a hashmap of all edges with type `R_RISCV_PCREL_HI20` that can be looked up in constant time. Closes #73935
As noted in issues llvm#68594 and llvm#73935, `JITLink/RISCV/ELF_ehframe.s` fails with libstdc++'s expensive checks because `getRISCVPCRelHi20` calls `std::equal_range` on the edges which may not be ordered by their offset. Instead let `ELFJITLinker_riscv` build a hashmap of all edges with type `R_RISCV_PCREL_HI20` that can be looked up in constant time. Closes llvm#73935
LLVM :: Transforms/SampleProfile/csspgo-import-list.ll
.LLVM-Unit
andCodeGen/X86/*
failures. Fixed in [CodeLayout] Fixing initialization of empty ranges #68917.LLVM :: Transforms/Inline/nested-inline.ll
. Fixed in [ModuleInliner] Fix the heap maintenance #69251.CodeGen/PowerPC/*
.The text was updated successfully, but these errors were encountered: