Change if-conversion to keep track of the extra cost due to microcoded
authorBob Wilson <bob.wilson@apple.com>
Tue, 26 Oct 2010 00:02:21 +0000 (00:02 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 26 Oct 2010 00:02:21 +0000 (00:02 +0000)
commit2ad40d34947ced36d96f351f6c2a4d57a044e2a4
treeb4a3cb0ea0fcf26a21d33357ee1a7fb729b5ae5d
parentb3a6817d06ab88f410012b5c5cc17fc4f07058c3
Change if-conversion to keep track of the extra cost due to microcoded
instructions separately from the count of non-predicated instructions.  The
instruction count is used in places to determine how many instructions to
copy, predicate, etc. and things get confused if that count includes the
extra cost for microcoded ops.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117332 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/IfConversion.cpp