[llvm-dev] Questions about jump threading optimization and what we can do (original) (raw)

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 3 12:09:07 PST 2020


I assumed the LLVM-IR behind the godbolt link represented the C code you used before.

SimplifyCFG actually helps the loop being removed: https://godbolt.org/z/5v7SXh

But this doesn't even involve JumpThreading.

Michael



More information about the llvm-dev mailing list