[cfe-commits] r39858 - in /cfe/trunk: CodeGen/CGExpr.cpp test/CodeGen/complex.c
Gabor Greif
ggreif at gmail.com
Sat Jul 14 13:05:18 PDT 2007
Author: ggreif
Date: Sat Jul 14 15:05:18 2007
New Revision: 39858
URL: http://llvm.org/viewvc/llvm-project?rev=39858&view=rev
Log:
add FIXME and un-XFAIL test
Modified:
cfe/trunk/CodeGen/CGExpr.cpp
cfe/trunk/test/CodeGen/complex.c
Modified: cfe/trunk/CodeGen/CGExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGExpr.cpp?rev=39858&r1=39857&r2=39858&view=diff
==============================================================================
--- cfe/trunk/CodeGen/CGExpr.cpp (original)
+++ cfe/trunk/CodeGen/CGExpr.cpp Sat Jul 14 15:05:18 2007
@@ -1252,6 +1252,8 @@
EmitLoadOfComplex(LHS, LHSR, LHSI);
EmitLoadOfComplex(RHS, RHSR, RHSI);
+ // FIXME: need to consider _Complex over integers too!
+
ResultR = Builder.CreateFCmp((llvm::FCmpInst::Predicate)FCmpOpc,
LHSR, RHSR, "cmp.r");
ResultI = Builder.CreateFCmp((llvm::FCmpInst::Predicate)FCmpOpc,
Modified: cfe/trunk/test/CodeGen/complex.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/complex.c?rev=39858&r1=39857&r2=39858&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/complex.c (original)
+++ cfe/trunk/test/CodeGen/complex.c Sat Jul 14 15:05:18 2007
@@ -1,5 +1,4 @@
// RUN: clang -emit-llvm %s
-// XFAIL: *
int main(void)
{
More information about the cfe-commits
mailing list