Shubham Narlawar via llvm-dev
2021-Nov-25 07:06 UTC
[llvm-dev] Dumping branch weights in loop unroll phase
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