[llvm-bugs] [Bug 38011] New: Pragma metadata wrong for do-while loops resulting in wrong loop unrolling.
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Jul 1 14:03:39 PDT 2018
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: unassignedclangbugs at nondot.org
Reporter: deepak2427 at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180701/c5b5765f/attachment.html>
More information about the llvm-bugs
mailing list