commit | efe4c058dab6859490a067436e1784d07dccb5b7 | [log] [tgz] |
---|---|---|
author | Kyle Butt <kyle+llvm@iteratee.net> | Wed Jul 27 20:19:33 2016 +0000 |
committer | Kyle Butt <kyle+llvm@iteratee.net> | Wed Jul 27 20:19:33 2016 +0000 |
tree | 2eb02cb567f7c5e07df76d725a7d3d968f70467e | |
parent | 3fcba988901f94b383469fc9418d1471f43d492c [diff] |
Codegen: IfConversion: Factor out a function to count dup instrs. Factor out countDuplicatedInstructions to Count duplicated instructions at the beginning and end of a diamond pattern. This is in prep for adding support for diamonds that need to be tail-merged. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276910 91177308-0d34-0410-b5e6-96231b3b80d8