Issue 136107
Summary missed optimization (LLVM)?
Labels new issue
Assignees
Reporter alex-s168
    https://godbolt.org/z/bxs4zvWj7

I don't know if that is supposed to be like this for some reason, but it could just be simplified to:
```
i64 fn(i64* ptr, i64 len) {
  return (len == 0) ? 1 : ptr[0]
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to