[llvm-dev] Questions about jump threading optimization and what we can do (original) (raw)
Nicolai Hähnle via llvm-dev llvm-dev at lists.llvm.org
Sun Feb 2 00:53:44 PST 2020
- Previous message: [llvm-dev] ORC JIT Weekly #1
- Next message: [llvm-dev] Questions about jump threading optimization and what we can do
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Jan 31, 2020 at 12:47 AM Karl Rehm via llvm-dev <llvm-dev at lists.llvm.org> wrote:
Since the bug report here: https://bugs.llvm.org/showbug.cgi?id=44679 I've been thinking about cases like it, such as: https://godbolt.org/z/Fwq8mn
I wonder what we can do about this in a general sense. As far as I can tell, the jump threading algorithm is really conservative, which is one reason this isn't working as well as I'd hope; however, we don't want to produce irreducible control flow that the other passes would work less effectively on. Thoughts?
Just brainstorming, really, but what about running a less conservative version of JumpThreading later, after loop passes have run?
Cheers, Nicolai
- Karl
LLVM Developers mailing list llvm-dev at lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-- Lerne, wie die Welt wirklich ist, aber vergiss niemals, wie sie sein sollte.
- Previous message: [llvm-dev] ORC JIT Weekly #1
- Next message: [llvm-dev] Questions about jump threading optimization and what we can do
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]