[llvm] r179272 - Rename the C function to create a SLPVectorizerPass to something sane and expose it in the header file.
Eric Christopher
echristo at gmail.com
Thu Apr 11 10:31:17 PDT 2013
On Thu, Apr 11, 2013 at 8:32 AM, Benjamin Kramer <benny.kra at gmail.com> wrote:
>
> On 11.04.2013, at 17:26, Eric Christopher <echristo at gmail.com> wrote:
>
>> Extra commit in there?
>
> The anonymous namespace addition should've been in a separate commit, but it doesn't hurt and I wanted to commit it anyways.
>
Fair enough. That's what I meant though :)
-eric
> - Ben
>
>>
>> On Apr 11, 2013 4:39 AM, "Benjamin Kramer" <benny.kra at googlemail.com> wrote:
>> Author: d0k
>> Date: Thu Apr 11 06:36:36 2013
>> New Revision: 179272
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=179272&view=rev
>> Log:
>> Rename the C function to create a SLPVectorizerPass to something sane and expose it in the header file.
>>
>> Modified:
>> llvm/trunk/include/llvm-c/Transforms/Vectorize.h
>> llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp
>> llvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp
>>
>> Modified: llvm/trunk/include/llvm-c/Transforms/Vectorize.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm-c/Transforms/Vectorize.h?rev=179272&r1=179271&r2=179272&view=diff
>> ==============================================================================
>> --- llvm/trunk/include/llvm-c/Transforms/Vectorize.h (original)
>> +++ llvm/trunk/include/llvm-c/Transforms/Vectorize.h Thu Apr 11 06:36:36 2013
>> @@ -39,6 +39,9 @@ void LLVMAddBBVectorizePass(LLVMPassMana
>> /** See llvm::createLoopVectorizePass function. */
>> void LLVMAddLoopVectorizePass(LLVMPassManagerRef PM);
>>
>> +/** See llvm::createSLPVectorizerPass function. */
>> +void LLVMAddSLPVectorizePass(LLVMPassManagerRef PM);
>> +
>> /**
>> * @}
>> */
>>
>> Modified: llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp?rev=179272&r1=179271&r2=179272&view=diff
>> ==============================================================================
>> --- llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp (original)
>> +++ llvm/trunk/lib/DebugInfo/DWARFFormValue.cpp Thu Apr 11 06:36:36 2013
>> @@ -18,10 +18,11 @@
>> using namespace llvm;
>> using namespace dwarf;
>>
>> -template <uint8_t AddrSize, uint8_t RefAddrSize>
>> -struct FixedFormSizes {
>> +namespace {
>> +template <uint8_t AddrSize, uint8_t RefAddrSize> struct FixedFormSizes {
>> static const uint8_t sizes[];
>> };
>> +}
>>
>> template <uint8_t AddrSize, uint8_t RefAddrSize>
>> const uint8_t FixedFormSizes<AddrSize, RefAddrSize>::sizes[] = {
>>
>> Modified: llvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp?rev=179272&r1=179271&r2=179272&view=diff
>> ==============================================================================
>> --- llvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp (original)
>> +++ llvm/trunk/lib/Transforms/Vectorize/Vectorize.cpp Thu Apr 11 06:36:36 2013
>> @@ -1,4 +1,4 @@
>> - //===-- Vectorize.cpp -----------------------------------------------------===//
>> +//===-- Vectorize.cpp -----------------------------------------------------===//
>> //
>> // The LLVM Compiler Infrastructure
>> //
>> @@ -43,6 +43,6 @@ void LLVMAddLoopVectorizePass(LLVMPassMa
>> unwrap(PM)->add(createLoopVectorizePass());
>> }
>>
>> -void LLVMAddLoopRollerPass(LLVMPassManagerRef PM) {
>> +void LLVMAddSLPVectorizePass(LLVMPassManagerRef PM) {
>> unwrap(PM)->add(createSLPVectorizerPass());
>> }
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list