[PATCH] D77076: [InstSimplify] Allow some arithmetic optimizations for add/sub/div/rem look through freeze

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 19:08:49 PDT 2020


aqjune added a comment.

In D77076#1951042 <https://reviews.llvm.org/D77076#1951042>, @nikic wrote:

> > This is a patch to relieve possible performance degradation after D76483 <https://reviews.llvm.org/D76483>.
>
> To clarify, does this address a specific issue encountered there, or is this more of a hypothetical optimization? (The last comment on that thread indicates that the issue is lack of Freeze support in SCEV.)


This is more of a hypothetical optimization, but making a few existing optimizations in InstSimplify to expand seemed straightforward to me. I'll clarify this in the summary.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77076





More information about the llvm-commits mailing list