llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.

Results 700 llvm-project issues
Sort by recently updated
recently updated
newest added

`SLPVectorizer` transforms the following input `@src` into `@tgt`. According to Alive2, the target is more poisonous than source. ```ll define @src(i32 %a2, i32 %a3) #0 { %cvt2 = sitofp i32...

miscompilation
llvm:SLPVectorizer

`InstCombine` transforms the following input `@src` into `@tgt`. According to Alive2, the target is more poisonous than source. Source is `@test_shrink_intrin_fabs_fast_double_src` in `llvm/test/Transforms/InstCombine/double-float-shrink-2.ll` ```ll declare double @llvm.fabs.f64(double) declare float @llvm.fabs.f32(float)...

miscompilation
llvm:instcombine

As commented in `X86Subtarget.h`: ```hpp /// Use mfence if we have SSE2 or we're on x86-64 (even if we asked for /// no-sse2). There isn't any reason to disable it...

backend:X86
missing-feature

When clang-tidy has a config file specified by the `--config-file` flag, the `InheritParentConfig` option in the file does not inherit parent config files. The search of parent config files starts...

clang-tidy

```console $ cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_FLAGS_RELWITHDEBINFO="-O1 -g -fno-optimize-sibling-calls" -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O1 -g -fno-optimize-sibling-calls" -DLLVM_ENABLE_PROJECTS='clang;lldb;cross-project-tests' -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_UNREACHABLE_OPTIMIZE=OFF -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_LLD=ON ../../llvm # using a relative close to head clang as host compiler $ ninja...

lldb
crash

Reproducer Compiling the following code ```f90 subroutine sb1 integer :: i, n integer :: tmp !$omp parallel do do ifld=1,n do isum=1,n if (tmp > n) then exit endif enddo...

openmp
flang:ir

`t.cpp` ```cpp #include #include "t.h" TT::TT(const int a) : n(a) { printf("{%s}[%s](%d) : %d\n", __FILE__, __func__, __LINE__, n); } ``` `m.cpp` ```cpp #include #include "t.h" int main() { int c...

backend:MIPS
lld:ELF

I have a small reproducer. I get the following error ```console error: Semantic errors in my_test.f90 ./my_test.f90:5:12: error: Internal error: Expression analysis failed on: Expr -> ArrayConstructor -> AcSpec |...

flang:frontend

```console Stack dump: 0. Program arguments: D:\\dev\\toolchain\\llvm-mingw\\llvm-mingw-20220906-ucrt-x86_64\\bin\\clang-15 --start-no-unused-arguments --driver-mode=g++ -target x86_64-w64-mingw32 -rtlib=compiler-rt -unwindlib=libunwind -stdlib=libc++ -fuse-ld=lld --end-no-unused-arguments -DCPPWINRT_VERSION_STRING=\"2.3.4.5\" -DNEEDS_UUIDOF_ICONTEXTCALLBACK_HACK -D_WIN32_WINNT=0x0602 -ID:/dev/mingw-winrt/cppwinrt/test -ID:/dev/mingw-winrt/cppwinrt/mingw-support -ID:/dev/mingw-winrt/cppwinrt/cppwinrt -ID:/dev/mingw-winrt/cppwinrt/build/x64/test/cppwinrt -g -std=gnu++20 -Winvalid-pch -Xclang -include-pch -Xclang D:/dev/mingw-winrt/cppwinrt/build/x64/test/CMakeFiles/cppwinrt-test.dir/cmake_pch.hxx.pch...

clang:frontend
crash

An average function written with intrinsics produces inaccurate values when optimized. It works with `-O0` but fails with all levels of optimization `-Os`, `-Oz`, `-O1`, `-O2` It also works when...

backend:ARM