agostonrobert

Results comments of agostonrobert

Had a closer look on the first reproducer, changed it a bit and could reproduce the behavior, but I am not sure if the compiler would be wrong here. At...

I think the other example is similar: `p` was set to point to `x`, and no other pointer was set to point to `x` in a "defined behavior" manner. Having...

Even more minimal reproducer. Compiled with `-Os` to prevent lowering `@llvm.memset` calls to inline memset by the backend. ```c #include __attribute__((used)) static void *memset(void *s, int c, unsigned long n)...

Before I figure out how to propose fixes properly, I just leave my prototype here as a comment: ```diff diff --git a/llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp b/llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp index d6a009744161..732102b4137d 100644 --- a/llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp +++ b/llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp...

@niwinanto is working on the issue, see https://reviews.llvm.org/D136843

Is it a duplicate of https://github.com/llvm/llvm-project/issues/89285 ?