summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/err-rep-cold.ll
Commit message (Collapse)AuthorAge
* Add the cold attribute to error-reporting call sitesHal Finkel2013-11-17
Generally speaking, control flow paths with error reporting calls are cold. So far, error reporting calls are calls to perror and calls to fprintf, fwrite, etc. with stderr as the stream. This can be extended in the future. The primary motivation is to improve block placement (the cold attribute affects the static branch prediction heuristics). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194943 91177308-0d34-0410-b5e6-96231b3b80d8