diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-06-28 05:42:26 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-06-28 05:42:26 +0000 |
commit | ec4e85e3364f50802f2007e4b1e23661d4610366 (patch) | |
tree | 630824715448e25e4159add533273cf8e125c884 /include/llvm/Transforms/Vectorize.h | |
parent | 97a759249d6be2ad4f64b40f6bc14b0c3e77ef32 (diff) |
Refactor operation equivalence checking in BBVectorize by extending Instruction::isSameOperationAs.
Maintaining this kind of checking in different places is dangerous, extending
Instruction::isSameOperationAs consolidates this logic into one place. Here
I've added an optional flags parameter and two flags that are important for
vectorization: CompareIgnoringAlignment and CompareUsingScalarTypes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159329 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Vectorize.h')
0 files changed, 0 insertions, 0 deletions