[llvm-dev] Loop predication pass

legend xx via llvm-dev llvm-dev at lists.llvm.org
Sun Jun 21 09:03:50 PDT 2020


Hi,

I am trying the pass "loop-predication" of opt in the SPEC CPU 2017
benchmarks.

I generate a original version with "clang -O3" and "opt -O3". Later, I
generate a loop-predication version with "clang -O3" and "opt -O3
-loop-predication". If I compare the two versions I expected that the
branch instructions are reduced with loop-predication. However, they are
the same that in the original version.

Why do this happen?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200621/e110afdc/attachment.html>


More information about the llvm-dev mailing list