llvm-project
llvm-project copied to clipboard
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
`cat case.c #226621` ```c int b, c; short f; void foo(); short(a)(short g) { return g; } int(d)(int g, int i) { return g && g > 7 - i...
If wondering this happened while testing out yarpgen with my own frontend. - other compiles work fine but this specific ones hangs seemingly forever. `llc --version` ``` LLVM (http://llvm.org/): LLVM...
And similar story when I tried compiling the driver: (linked to this one https://github.com/llvm/llvm-project/issues/55736) ``` PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump: 0....
Formatting https://github.com/OpenMPT/openmpt/blob/072d4ccc83d842cfa34601dddf2c69a4cc889c74/src/mpt/arch/x86_amd64.hpp (~50kB) using https://github.com/OpenMPT/openmpt/blob/072d4ccc83d842cfa34601dddf2c69a4cc889c74/src/mpt/.clang-format with clang-format 14 takes about 14 minutes for me (CPU is a 3.4GHz AMD Piledriver). I am using `clang-format version 14.0.5` (as shipped with Visual...
The following snippet crashes: https://wandbox.org/permlink/ypCN8tQA9I26lW5L
Monolithic LTO bug results in call to `f()` being erased by `InstCombinerImpl::visitUnreachableInst` ```c // File f.c extern void __attribute__((noreturn))f(); extern volatile int b,c,d,e; int main() { if (b) { c...
This bug was found by Azul FuzzGen IR test generator. https://godbolt.org/z/1vd3zYzen Run `opt` with `-passes=indvars`: ```llvm ; ModuleID = 'bugpoint-reduced-simplified.bc' source_filename = "gen_05726" target triple = "x86_64-unknown-linux-gnu" define void @function_0()...
For the following program ```cpp class HardwareSerial { public: virtual int available(void); }; int HardwareSerial::available(void) { return 1; } ``` Build it with command `clang++ --target=avr -mmcu=atmega328 -O3 -S b.cc`,...
| | | | --- | --- | | Bugzilla Link | [47749](https://llvm.org/bz47749) | | Version | 10.0 | | OS | Linux | | Attachments | [Example Program showing...
| | | | --- | --- | | Bugzilla Link | [31348](https://llvm.org/bz31348) | | Version | trunk | | OS | All | ## Extended Description We should write...