[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.cpp

Chris Lattner clattner at apple.com
Wed Jun 6 21:53:49 PDT 2007


On Jun 6, 2007, at 6:38 PM, Evan Cheng wrote:

>
> Stupid cut-n-paste bug caused me soooo much grief. Why wasn't there  
> a compilation warning? I blame it on the FE folks.

Geeze, if backend people wouldn't write code like this, the f.e.  
people would have a much easier time ;-)

-Chris

> ---
> Diffs of the changes:  (+1 -1)
>
>  ARMInstrInfo.cpp |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
>
>
> Index: llvm/lib/Target/ARM/ARMInstrInfo.cpp
> diff -u llvm/lib/Target/ARM/ARMInstrInfo.cpp:1.32 llvm/lib/Target/ 
> ARM/ARMInstrInfo.cpp:1.33
> --- llvm/lib/Target/ARM/ARMInstrInfo.cpp:1.32	Tue May 29 13:42:18 2007
> +++ llvm/lib/Target/ARM/ARMInstrInfo.cpp	Wed Jun  6 20:37:54 2007
> @@ -476,7 +476,7 @@
>      return CC2 == ARMCC::LO || CC2 == ARMCC::EQ;
>    case ARMCC::GE:
>      return CC2 == ARMCC::GT || CC2 == ARMCC::EQ;
> -  case ARMCC::LE:  return "le";
> +  case ARMCC::LE:
>      return CC2 == ARMCC::LT || CC2 == ARMCC::EQ;
>    }
>  }
>
>
>
> _______________________________________________
> 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