TerrorJack wrote:
This breaks wasm codegen: https://github.com/llvm/llvm-project/issues/108770
https://github.com/llvm/llvm-project/pull/105496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
nikic wrote:
This should be ready to re-apply now.
https://github.com/llvm/llvm-project/pull/105496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
nikic wrote:
I don't think we need to revert it. Without this patch it's mostly harmless.
I've been working on a fix for this issue. I think we need to track NUW through
LinearExpression using something along these lines:
https://gist.github.com/nikic/d6986bb62539bba048ced15dd497a4fb
https://
hazzlim wrote:
> @mikaelholmen Thanks for the reproducer, this makes the issue clear. BasicAA
> is incorrectly returning NoAlias for the pointers due to #98608.
>
> The issue is that the `add` gets decomposed, but we preserve the nuw flag,
> effectively making it an `add nuw i16 n, -1`.
Thank
nikic wrote:
@mikaelholmen Thanks for the reproducer, this makes the issue clear. BasicAA is
incorrectly returning NoAlias for the pointers due to
https://github.com/llvm/llvm-project/pull/98608.
The issue is that the `add` gets decomposed, but we preserve the nuw flag,
effectively making it
zmodem wrote:
We're seeing many test failures in Chromium after this change as well:
https://crbug.com/362522336
https://github.com/llvm/llvm-project/pull/105496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
vitalybuka wrote:
Maybe the patch introduced some miscompile?
The patch affects only clang, but failing tests are LLVM, but tools compiled
with patched clang with UBSAN enabled.
Also there are branches checking sanitizers.
https://github.com/llvm/llvm-project/pull/105496
__
david-arm wrote:
> > > This patch breaks:
> > > https://lab.llvm.org/buildbot/#/builders/25/builds/1952
> > > https://lab.llvm.org/buildbot/#/builders/52/builds/1775
> >
> >
> > From the buildbot run I can see 12 or 13 changes in the build that failed.
> > Just out of curiosity how did you f
vitalybuka wrote:
> > This patch breaks: https://lab.llvm.org/buildbot/#/builders/25/builds/1952
> > https://lab.llvm.org/buildbot/#/builders/52/builds/1775
>
> From the buildbot run I can see 12 or 13 changes in the build that failed.
> Just out of curiosity how did you find out it was this p
david-arm wrote:
> This patch breaks: https://lab.llvm.org/buildbot/#/builders/25/builds/1952
> https://lab.llvm.org/buildbot/#/builders/52/builds/1775
>From the buildbot run I can see 12 or 13 changes in the build that failed.
>Just out of curiosity how did you find out it was this patch that
vitalybuka wrote:
This patch breaks:
https://lab.llvm.org/buildbot/#/builders/25/builds/1952
https://lab.llvm.org/buildbot/#/builders/52/builds/1775
https://github.com/llvm/llvm-project/pull/105496
___
cfe-commits mailing list
cfe-commits@lists.llvm.or
https://github.com/hazzlim closed
https://github.com/llvm/llvm-project/pull/105496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
hazzlim wrote:
I plan to land this patch later today, unless there are any objections /
further comments.
Thanks for reviewing @nikic @efriedma-quic
https://github.com/llvm/llvm-project/pull/105496
___
cfe-commits mailing list
cfe-commits@lists.llvm
https://github.com/efriedma-quic approved this pull request.
LGTM; the approach here seems appropriate.
(The EmitCheckedInBoundsGEP API could probably use a refactor so we don't have
calls to isSignedOverflowDefined() scattered all over the place, but that's a
separate issue.)
https://github.
@@ -7,13 +7,6 @@
struct X { int a[2]; };
extern int bar();
-//.
-// CHECK: @test.i23 = internal global i32 4, align 4
-// CHECK: @i = global i32 4, align 4
-// CHECK: @Arr = global [100 x i32] zeroinitializer, align 16
-// CHECK: @foo2.X = internal global ptr getelementptr (i8
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Hari Limaye (hazzlim)
Changes
Add nuw attribute to inbounds GEPs where the expression used to form the GEP is
an addition of unsigned indices.
---
Patch is 576.17 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Hari Limaye (hazzlim)
Changes
Add nuw attribute to inbounds GEPs where the expression used to form the GEP is
an addition of unsigned indices.
---
Patch is 576.17 KiB, truncated to 20.00 KiB below, full version:
https://github.c
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Hari Limaye (hazzlim)
Changes
Add nuw attribute to inbounds GEPs where the expression used to form the GEP is
an addition of unsigned indices.
---
Patch is 576.17 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/l
18 matches
Mail list logo