LoopVectorizer: Use the "optsize" attribute to decide if we are allowed to increase the function size.

llvm-svn: 170004
This commit is contained in:
Nadav Rotem
2012-12-12 19:29:45 +00:00
parent 24b8dd6eb7
commit d0bb22bba3
6 changed files with 185 additions and 10 deletions

View File

@@ -39,5 +39,5 @@ void LLVMAddBBVectorizePass(LLVMPassManagerRef PM) {
}
void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM) {
unwrap(PM)->add(createLoopVectorizePass(0));
unwrap(PM)->add(createLoopVectorizePass());
}