[llvm] r185269 - R600: Unbreak GCC build.
Vincent Lejeune
vljn at ovi.com
Sat Jun 29 13:22:52 PDT 2013
Sorry I didn't know that (I always build llvm with clang).
Thank for the quick fix !
Vincent
----- Mail original -----
> De : Benjamin Kramer <benny.kra at googlemail.com>
> À : llvm-commits at cs.uiuc.edu
> Cc :
> Envoyé le : Samedi 29 juin 2013 22h04
> Objet : [llvm] r185269 - R600: Unbreak GCC build.
>
> Author: d0k
> Date: Sat Jun 29 15:04:19 2013
> New Revision: 185269
>
> URL: http://llvm.org/viewvc/llvm-project?rev=185269&view=rev
> Log:
> R600: Unbreak GCC build.
>
> operator++ on an enum is not legal. clang happens to accept it anyways, I think
> that's a known bug.
>
> Modified:
> llvm/trunk/lib/Target/R600/R600InstrInfo.cpp
>
> Modified: llvm/trunk/lib/Target/R600/R600InstrInfo.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/R600InstrInfo.cpp?rev=185269&r1=185268&r2=185269&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/R600/R600InstrInfo.cpp (original)
> +++ llvm/trunk/lib/Target/R600/R600InstrInfo.cpp Sat Jun 29 15:04:19 2013
> @@ -398,7 +398,8 @@ NextPossibleSolution(
> }
> if (ResetIdx == -1)
> return false;
> - SwzCandidate[ResetIdx]++;
> + int NextSwizzle = SwzCandidate[ResetIdx] + 1;
> + SwzCandidate[ResetIdx] = (R600InstrInfo::BankSwizzle)NextSwizzle;
> return true;
> }
>
>
>
> _______________________________________________
> 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