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

https://gcc.godbolt.org/z/ov8Tf1PcT `opt -instcombine` crashed with this IR ```llvm @percent_s = constant [3 x i8] c"%s\00" declare i32 @sprintf(i8**, i32*, ...) define void @PR51200(i8** %p, i32* %p2) { %call = call...

llvm:crash
llvm:instcombine

```c #define N 256 typedef char T; extern T a[N]; extern T b[N]; extern T c[N]; extern _Bool pb[N]; extern char pc[N]; void predicate_by_bool() { for (int i = 0;...

loopoptim
vectorization
missed-optimization

The following snippet causes an assertion failure when compiled with `-std=c++17`: ```c++ struct S { int i; }; void crash() { S s[2][2]; int res[4]; res[0] = [s] { return...

c++17
clang:frontend
crash

Consider the following C++ program, built with `clang++ -g` and no other special flags. ``` namespace ns { enum MyEnum { VALUE = 1 }; enum { ANON_ENUM_VALUE = 2...

lldb

Note: this issue may be a duplicate. Consider this code: ```c /* h2.h */ #define F() F( /* t10.c */ #include "h2.h" ) int x; /* fix for "warning: ISO...

accepts-invalid
clang:diagnostics

Repro: ```cpp int(*f)(int) = [](auto t) -> decltype([=] { return t; } ()) { return t; }; ``` Stack dump: ```console Stack dump: 0. Program arguments: /opt/compiler-explorer/clang-14.0.0/bin/clang++ -gdwarf-4 -g -o...

clang:frontend
crash

Example input: ```console $ cat /tmp/main.cpp #include void foo(const std::int32_t x, const std::int32_t& y) {} ``` Output: ```console $ ./clang-format --style="{QualifierAlignment: Right}" /tmp/main.cpp #include void foo(const std::int32_t x, std::int32_t const...

clang-format

CodeGen/AMDGPU/attr-amdgpu-flat-work-group-size-vgpr-limit.ll is failing on EXPENSIVE_CHECKS builds: ```console Command Output (stdout): -- $ ":" "RUN: at line 3" $ "e:\llvm\ninja\bin\llc.exe" "-march=amdgcn" "-mcpu=gfx900" "-amdgpu-function-calls=false" "-enable-misched=false" "-sgpr-regalloc=fast" "-vgpr-regalloc=fast" # command stderr: # After...

backend:AMDGPU
llvm:crash

llvm commit: df4878d28d3 Reproduce with: ```opt -passes="loop-interchange" -o /dev/null bbi-72571.ll``` [bbi-72571.ll.gz](https://github.com/llvm/llvm-project/files/9336057/bbi-72571.ll.gz) Result: ```console opt: ../lib/Transforms/Scalar/LoopInterchange.cpp:578: bool (anonymous namespace)::LoopInterchange::processLoop(llvm::Loop *, llvm::Loop *, unsigned int, unsigned int, std::vector &, const DenseMap &):...

loopoptim
llvm:crash

Given `test.cpp`: ```c++ void foo() { std::ostringstream outStream; json outJSON = { { "type", "asdf"}, { "name", "asdfasdfasdfsadfasdfasdf"}, {"callback", "asdfasdfasdfasdfasdfasdfasdfasdfasdfasdfsadfasdf"}, { "items", foobar} }; } ``` and `_clang-format` ```yaml ---...

clang-format