[llvm-dev] Dumping branch weights in loop unroll phase

Shubham Narlawar via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 24 08:46:49 PST 2021


Hello,

I am using a cross compiler built from llvm trunk source.

Host - x86
Target - AArch64

I am seeing the same loop unroll dump before and after loop unroll pass
using flags - "-O2 -funroll-loops". Is there a way to check whether the
loop has unrolled or not?

As I am seeing both before and after loop unroll dumps as same, is there a
way to dump branch weights? I tried flag "-stats" but I am not getting any
warnings or actual branch weights.

Thanks and Regards,
Shubham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211124/33557d24/attachment.html>


More information about the llvm-dev mailing list