Small cleanups.

Add __num_cores() to the list of symbols to remove from the module at the end.
Fix declarations of mask type for 64-bit atomics to silence warnings.
This commit is contained in:
Matt Pharr
2011-09-28 16:26:35 -07:00
parent c999c8a237
commit 6d39d5fc3e
2 changed files with 11 additions and 11 deletions

View File

@@ -2568,7 +2568,7 @@ llvm::RegisterPass<MakeInternalFuncsStaticPass>
bool
MakeInternalFuncsStaticPass::runOnModule(llvm::Module &module) {
const char *names[] = {
"__do_print", "__fast_masked_vload",
"__do_print", "__fast_masked_vload", "__num_cores",
"__gather_base_offsets_i8", "__gather_base_offsets_i16",
"__gather_base_offsets_i32", "__gather_base_offsets_i64",
"__gather_elt_8", "__gather_elt_16",