summaryrefslogtreecommitdiffstats
path: root/llvm/test/Other/cfg-printer-branch-weights.ll
Commit message (Collapse)AuthorAgeFilesLines
* [CFG Printer] Add support for writing the dot files with a customChandler Carruth2018-10-091-2/+2
| | | | | | | | | | prefix. Use this to direct these files to a specific location in the test suite so that we don't write files out to random directories (or fail if the working directory isn't writable). llvm-svn: 344014
* Fix incorrect Twine usage in CFGPrinterKristina Brooks2018-10-081-0/+19
CFGPrinter (-view-cfg, -dot-cfg) invokes an undefined behaviour (dangling pointer to rvalue) on IR files with branch weights. This patch fixes the problem caused by Twine initialization and string conversion split into two statements. This change fixes the bug 37019. A similar patch to this problem was provided in the llvmlite project Patch by mcopik (Marcin Copik). Differential Revision: https://reviews.llvm.org/D52933 llvm-svn: 343984
OpenPOWER on IntegriCloud