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

Given: ```c++ class Foo { const bool _isFooBar1234; bool isFooBar1234() const { return _isFooBar1234; } }; ``` and `_clang-format` ```yaml --- BasedOnStyle: Google IndentWidth: 4 AlignConsecutiveAssignments: Consecutive AlignConsecutiveDeclarations: Consecutive AllowShortFunctionsOnASingleLine:...

clang-format

| | | | --- | --- | | Bugzilla Link | [50653](https://llvm.org/bz50653) | | Version | trunk | | OS | Linux | | CC | @Arnaud-de-Grandmaison-ARM,@DMG862,@smithp35 | ##...

good first issue
backend:AArch64
bugzilla

I'm trying to do a workaround with `platform put-file`, but [LLDB should upload the specified target automatically](https://lldb.llvm.org/use/remote.html#install-and-run-in-the-platform-working-directory). Can anyone try to reproduce this? Running `lldb version 14.0.0`. ```console (lldb) platform...

lldb

llvm commit: d9e5462da6 Reproduce with: ```shell opt bbi-72447_x86.ll -S -o bbi-72447_x86_result.ll -passes='gvn' ``` [bbi-72447_x86.ll.gz](https://github.com/llvm/llvm-project/files/9289887/bbi-72447_x86.ll.gz) [bbi-72447_x86_result.ll.gz](https://github.com/llvm/llvm-project/files/9289888/bbi-72447_x86_result.ll.gz) I've annotated the instructions in the input `bbi-72447_x86.ll` as well as in the output `bbi-72447_x86_result.ll`...

llvm:GVN

The following proof of concept shows the issue: ```C #include uint32_t foo(void) { uint32_t result; __asm__ volatile( "ldi %A0, 1" "\n\t" "ldi %B0, 2" "\n\t" "ldi %C0, 3" "\n\t" "ldi...

backend:AVR

avr-gcc [provides a number of built-in defines](https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/AVR-Options.html) that is useful to implement context switching code for AVR, most notably `__AVR_3_BYTE_PC__`, `__AVR_2_BYTE_PC__`, `__AVR_HAVE_RAMPD__`, `__AVR_HAVE_RAMPX__`, `__AVR_HAVE_RAMPY__`, `__AVR_HAVE_RAMPZ__`. There are also other built-in...

backend:AVR
clang:driver

LPMX is not avaliable on avr2, but for the following C code ``` void foo(int *p, int a) { static __flash const int arr[] = {123, 234, 456, 67}; p[0]...

backend:AVR

Here is example of a simple polynomial hash that could not be auto-vectorized with SSE 4.1 (LV could not prove legality): https://godbolt.org/z/86o9zPT51 Original test: ```cpp unsigned rabin_karp_naive(unsigned *s, unsigned len)...

vectorization
missed-optimization

```llvm define external i16 @"test"() { Entry: call i32 asm "nop", "=m"() ret i16 0 } ``` Compiling with `llc test.ll` segfaults (LLVM 14.0.5): ```console Stack dump: 0. Program arguments:...

llvm:codegen
llvm:crash

This issue was prompted by a discussion in [D129224](https://reviews.llvm.org/D129224) of applying attributes to arguments of calls to known library functions. It shows that the middle end doesn't apply such attributes...

llvm:optimizations
missed-optimization