Small codestyle changes
This commit is contained in:
@@ -307,8 +307,9 @@ namespace {
|
|||||||
};
|
};
|
||||||
} // end anonymous namespace
|
} // end anonymous namespace
|
||||||
|
|
||||||
static void findUsedArrayTypes(const llvm::Module *m, std::vector<llvm::ArrayType*> &t, std::vector<llvm::IntegerType*> &i,
|
static void findUsedArrayAndLongIntTypes(const llvm::Module *m, std::vector<llvm::ArrayType*> &t,
|
||||||
std::vector<bool> &IsVolatile, std::vector<int> &Alignment) {
|
std::vector<llvm::IntegerType*> &i, std::vector<bool> &IsVolatile,
|
||||||
|
std::vector<int> &Alignment) {
|
||||||
TypeFinder(t, i, IsVolatile, Alignment).run(*m);
|
TypeFinder(t, i, IsVolatile, Alignment).run(*m);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2819,7 +2820,7 @@ void CWriter::printModuleTypes() {
|
|||||||
std::vector<bool> IsVolatile;
|
std::vector<bool> IsVolatile;
|
||||||
std::vector<int> Alignment;
|
std::vector<int> Alignment;
|
||||||
|
|
||||||
findUsedArrayTypes(TheModule, ArrayTypes, IntegerTypes, IsVolatile, Alignment);
|
findUsedArrayAndLongIntTypes(TheModule, ArrayTypes, IntegerTypes, IsVolatile, Alignment);
|
||||||
|
|
||||||
if (StructTypes.empty() && ArrayTypes.empty())
|
if (StructTypes.empty() && ArrayTypes.empty())
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -179,6 +179,7 @@ FORCEINLINE __vec4_i64::__vec4_i64(__vec4_d vd) {
|
|||||||
v[1] = _mm_castpd_si128(vd.v[1]);
|
v[1] = _mm_castpd_si128(vd.v[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// SSE helpers / utility functions
|
// SSE helpers / utility functions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user