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://godbolt.org/z/xdce1e8P4 Run opt -passes=indvars on the following IR: ``` target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128-ni:1-p2:32:8:8:32-ni:2" target triple = "x86_64-unknown-linux-gnu" define void @test(i32 %tmp) { bb: br label %bb2 bb1: ; preds =...

miscompilation
loopoptim

Example: ```c++ char abc[] = "test str"; void __attribute__((naked)) func() { __asm { push offset abc } } ``` I trying compile it with ```clang++ test.cpp -masm=intel -fasm-blocks``` If I...

new issue

libc++ is currently non-conforming in `basic_string::substr()`, because it returns `basic_string(*this, __pos, __n, __alloc())` while the standard says it should return `basic_string(*this, __pos, __n)`. See https://wg21.link/LWG3752.

libc++

| | | | --- | --- | | Bugzilla Link | [38280](https://llvm.org/bz38280) | | Version | 6.0 | | OS | Windows NT | | Depends On | llvm/llvm-project#40224...

bugzilla
loopoptim
llvm:optimizations

Hi, @River707 , @eric-k256 I am experimenting on how to use different dialects and lower them into LLVM code. Then I came across the TOSA dialect which has the layers...

mlir

Branched from Issue #49812 https://github.com/llvm/llvm-project/blob/6f7f5b54c81be59ec7876649d1f9aa6b104658ec/llvm/lib/Target/X86/X86InstrCompiler.td#L1761-L1770 The comment admits to the fold being unsafe, and just hopes it'll be OK - but now that we have better poison detection/handling in DAG...

backend:X86

| | | | --- | --- | | Bugzilla Link | [47674](https://llvm.org/bz47674) | | Version | 10.0 | | OS | Linux | | Reporter | LLVM Bugzilla Contributor...

c++
bugzilla

As a possible optimization, we could look into using rcall instead of call instructions when the target is close enough. For example, here: https://godbolt.org/z/rEz9j71dq (apparently avr-gcc doesn't do this optimization)....

backend:AVR

https://alive2.llvm.org/ce/z/FCT5eJ ``` define void @src(i1 %a, i1 %b) { entry: br i1 %a, label %a.true_b.false, label %a.false a.false: ; preds = %entry br i1 %b, label %b.true, label %if.end b.true:...

llvm:optimizations

The [docs say](https://clang.llvm.org/docs/LanguageExtensions.html#guaranteed-inlined-memset): > Guaranteed inlined memset void __builtin_memset_inline(void *dst, int value, size_t size); ... but also guarantees not to call any external functions. In the following program it emits...

llvm:optimizations