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 | 74e5225c92078c5ea15ea4bc19e86dd2e36a63f4 (patch) | |
tree | 753c2eb18617feb4c443f23c1beacb285fc1c2b7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a2ccbf0f85969807df1d77a2ff0c07ea0bb6bef2 (diff) | |
download | bcm5719-llvm-74e5225c92078c5ea15ea4bc19e86dd2e36a63f4.tar.gz bcm5719-llvm-74e5225c92078c5ea15ea4bc19e86dd2e36a63f4.zip |
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.
llvm-svn: 159329
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions