[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 08:26:21 PDT 2013
Extra commit in there?
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130411/2f27fc0d/attachment.html>
More information about the llvm-commits
mailing list