[llvm-commits] CVS: llvm-gcc/gcc/llvm-expand.c

Chris Lattner lattner at cs.uiuc.edu
Fri Apr 8 21:41:42 PDT 2005



Changes in directory llvm-gcc/gcc:

llvm-expand.c updated: 1.91 -> 1.92
---
Log message:

fix a bug in previous checkin


---
Diffs of the changes:  (+1 -1)

 llvm-expand.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-gcc/gcc/llvm-expand.c
diff -u llvm-gcc/gcc/llvm-expand.c:1.91 llvm-gcc/gcc/llvm-expand.c:1.92
--- llvm-gcc/gcc/llvm-expand.c:1.91	Fri Apr  8 23:34:34 2005
+++ llvm-gcc/gcc/llvm-expand.c	Fri Apr  8 23:41:26 2005
@@ -6606,7 +6606,7 @@
     if (!llvm_type_is_fp(op1->Ty))
       op1 = llvm_constant_get_null(op0->Ty);
     else
-      op1 = llvm_constant_new(op1->Ty, "-0.0");
+      op1 = llvm_constant_new(op0->Ty, "-0.0");
     Result = llvm_expand_minmaxabs_expr(Fn, exp, op0, op1);
     break;
   }






More information about the llvm-commits mailing list