[LLVMbugs] [Bug 23832] New: Switch statement lowering leads to incorrect profile data.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jun 12 10:32:49 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23832
Bug ID: 23832
Summary: Switch statement lowering leads to incorrect profile
data.
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: congh at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
In lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp, switch statements are
lowered to nested if statements or jump table. When building those if
statements, the original edge weights information are lost, leading to
incorrect block frequencies/branch probabilities in generated code.
--
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/20150612/84d19b7b/attachment.html>
More information about the llvm-bugs
mailing list