[PATCH] D68930: [InstCombine] Shift amount reassociation in shifty sign bit test (PR43595)
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 24 15:25:55 PDT 2019
lebedev.ri added a comment.
@spatel
In D68930#1715726 <https://reviews.llvm.org/D68930#1715726>, @lebedev.ri wrote:
> In D68930#1715721 <https://reviews.llvm.org/D68930#1715721>, @spatel wrote:
>
> > In D68930#1715680 <https://reviews.llvm.org/D68930#1715680>, @lebedev.ri wrote:
> >
> > >
> >
> >
> > , and I agree it's out-of-scope to beat up on this patch alone, so I won't hold it up. But we should take a step back, do some measurements, and decide how things can be split up.
>
>
> Any thoughts on the approach i suggested:
>
> > All that being said, if it's really this much of a concern to warrant immediate action,
> > can't we simply expose `"Depth"` in the `llvm::SimplifyAddInst()`
> > and call it with such a depth that either disallows recursive reasoning,
> > or severely limits it? Some fastpaths will likely needed to be added then most likely.
> > That may be the best outcome considering the options..
>
> ?
Up
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68930/new/
https://reviews.llvm.org/D68930
More information about the llvm-commits
mailing list