When CGP lowers select back to control flow, the weight meta data gets dropped. This patch fixed the problem
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D24161
[Profile] Preserve branch meta data in CGP lowering of select instruction AbandonedPublic Authored by davidxl on Sep 1 2016, 2:58 PM.
Details
Summary When CGP lowers select back to control flow, the weight meta data gets dropped. This patch fixed the problem
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 1 2016, 3:41 PM
Revision Contents
Diff 70078 include/llvm/IR/IRBuilder.h
lib/CodeGen/CodeGenPrepare.cpp
test/CodeGen/X86/cmov-into-branch.ll
test/CodeGen/X86/select_meta.ll
|