https://bugs.llvm.org/show_bug.cgi?id=38011
Bug ID: 38011
Summary: Pragma metadata wrong for do-while loops resulting in
wrong loop unrolling.
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangb...@nondot.org
Reporter: deepak2...@gmail.com
CC: llvm-bugs@lists.llvm.org
For do-while loops, the loop pragma metadata is attached to the wrong block.
This results in the LLVM loop unroller using the wrong unroll count.
The tests and the patch for the bug have been added to Phabricator,
https://reviews.llvm.org/D48721
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs