commit | 538d666814d99ccc425aa633318938bd3bcad10b | [log] [tgz] |
---|---|---|
author | Xinliang David Li <davidxl@google.com> | Wed Feb 15 19:21:04 2017 +0000 |
committer | Xinliang David Li <davidxl@google.com> | Wed Feb 15 19:21:04 2017 +0000 |
tree | f9e15950cbde695bc9e17a7d4096f0140656d04a | |
parent | 8eb1a48540172402843035cb95ecacf005c7cdeb [diff] [blame] |
include function name in dot filename Differential Revision: http://reviews.llvm.org/D29975 llvm-svn: 295220
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index 8a57f00..bfc90e0 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp
@@ -2381,7 +2381,7 @@ if (ViewBlockLayoutWithBFI != GVDT_None && (ViewBlockFreqFuncName.empty() || F->getFunction()->getName().equals(ViewBlockFreqFuncName))) { - MBFI->view(false); + MBFI->view("MBP." + MF.getName(), false); }