]> granicus.if.org Git - clang/commit
CodeGen: Handle binary conditional operators in PGO instrumentation
authorJustin Bogner <mail@justinbogner.com>
Fri, 11 Apr 2014 06:10:10 +0000 (06:10 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 11 Apr 2014 06:10:10 +0000 (06:10 +0000)
commit6699b197f657547e9f3fd1ad699df68d8a19dc52
treec76cdad261d1adaced35130412e47cb58d94ed00
parent94d470b741ae6296ac42dd6809ff866c30239a93
CodeGen: Handle binary conditional operators in PGO instrumentation

This treats binary conditional operators in the same way as ternary
conditional operators for instrumentation based profiling.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206021 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPGO.cpp
test/Profile/Inputs/c-general.profdata
test/Profile/c-general.c