[PATCH] D75815: [InstCombine] Simplify calls with "returned" attribute

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 13:22:39 PDT 2020


spatel added a comment.

In D75815#2342952 <https://reviews.llvm.org/D75815#2342952>, @xbolva00 wrote:

> @nikic, @spatel do we also need a fix for register allocator? it seems like this optimization can lead to supoptimal codegen.
>
> Check:
> https://godbolt.org/z/jPT53e

I don't know anything about that part of codegen, but yes it looks like a regression. Please file a bug, so we can track it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75815/new/

https://reviews.llvm.org/D75815



More information about the llvm-commits mailing list