[llvm-commits] CVS: gcc-3.4/gcc/llvm-expand.c
Chris Lattner
lattner at cs.uiuc.edu
Sun Mar 7 22:52:00 PST 2004
Changes in directory gcc-3.4/gcc:
llvm-expand.c updated: 1.20 -> 1.21
---
Log message:
Fix PR272: [llvmgcc] Invalid code created for complex /= operation
---
Diffs of the changes: (+1 -1)
Index: gcc-3.4/gcc/llvm-expand.c
diff -u gcc-3.4/gcc/llvm-expand.c:1.20 gcc-3.4/gcc/llvm-expand.c:1.21
--- gcc-3.4/gcc/llvm-expand.c:1.20 Sun Mar 7 22:11:34 2004
+++ gcc-3.4/gcc/llvm-expand.c Sun Mar 7 22:50:58 2004
@@ -5513,7 +5513,7 @@
Tmp1 = append_inst(Fn, create_binary_inst("tmp", O_Mul, Op0i, Op1r)); /*bc*/
Tmp2 = append_inst(Fn, create_binary_inst("tmp", O_Mul, Op0r, Op1i)); /*ad*/
Tmp3 = append_inst(Fn, create_binary_inst("tmp", O_Sub, Tmp1, Tmp2));
- ResultR = append_inst(Fn, create_binary_inst("tmp", O_Div, Tmp3, Tmp6));
+ ResultI = append_inst(Fn, create_binary_inst("tmp", O_Div, Tmp3, Tmp6));
break;
}
default:
More information about the llvm-commits
mailing list