[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Constants.cpp Instructions.cpp Verifier.cpp

Chris Lattner clattner at apple.com
Thu Feb 1 21:05:43 PST 2007


> Index: llvm/lib/VMCore/AsmWriter.cpp
> diff -u llvm/lib/VMCore/AsmWriter.cpp:1.257 llvm/lib/VMCore/ 
> AsmWriter.cpp:1.258
> --- llvm/lib/VMCore/AsmWriter.cpp:1.257	Tue Jan 30 14:08:38 2007
> +++ llvm/lib/VMCore/AsmWriter.cpp	Thu Feb  1 20:16:22 2007
> @@ -1272,8 +1272,7 @@
>
>      // Shift Left & Right print both types even for Ubyte LHS, and  
> select prints
>      // types even if all operands are bools.
> -    if (isa<ShiftInst>(I) || isa<SelectInst>(I) || isa<StoreInst> 
> (I) ||
> -        isa<ShuffleVectorInst>(I)) {
> +    if (isa<SelectInst>(I) || isa<StoreInst>(I) ||  
> isa<ShuffleVectorInst>(I)) {
>        PrintAllTypes = true;
>      } else {
>        for (unsigned i = 1, E = I.getNumOperands(); i != E; ++i) {

Please update the comment.

-Chris




More information about the llvm-commits mailing list