]> granicus.if.org Git - clang/commit
Do not put instrumentation counters before phis in ObjC for-in loops.
authorBob Wilson <bob.wilson@apple.com>
Mon, 24 Feb 2014 01:13:09 +0000 (01:13 +0000)
committerBob Wilson <bob.wilson@apple.com>
Mon, 24 Feb 2014 01:13:09 +0000 (01:13 +0000)
commitbe421297e0e5e6b416a75e4230fe2b45e7876f73
tree2f0bef06acca58db087ca1a1e60aa5dfea064578
parentd403cc9e76509787e46c4ae659ae981430b17047
Do not put instrumentation counters before phis in ObjC for-in loops.

We still don't use the PGO to set branch weights for these loops, but at
least this keeps the compiler from crashing. <rdar://problem/16137778>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202002 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjC.cpp
test/CodeGenObjC/Inputs/instr-profile.profdata [new file with mode: 0644]
test/CodeGenObjC/instr-profile.m [new file with mode: 0644]