[llvm-dev] Instcombine-code-sinking increases the value’s live range

Chuang-Yu Cheng via llvm-dev llvm-dev at lists.llvm.org
Fri Oct 15 02:54:40 PDT 2021

Thanks Amara :)
Yep that matches my experiment results on aarch64 and amdgcn!

> On Thu, Oct 14, 2021 at 6:02 AM Amara Emerson <amara at apple.com> wrote:
> > Can this be solved by llvm’s GlobalISel?
> GlobalISel’s function-scope optimization doesn’t really help in these cases unless the target can somehow fold expressions into simpler instructions. If that’s not possible, the generated code should be fairly similar to that of SelectionDAG.

More information about the llvm-dev mailing list