- Nov 21, 2008
-
-
Bill Wendling authored
g++ -m32 -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wmissing-format-attribute -fno-common -mdynamic-no-pic -DHAVE_CONFIG_H -Wno-unused -DTARGET_NAME=\"i386-apple-darwin9.5.0\" -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include -DENABLE_LLVM -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/../llvm.src/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include ../../llvm-gcc.src/gcc/llvm-types.cpp -o llvm-types.o ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemCpy(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)': ../../llvm-gcc.src/gcc/llvm-convert.cpp:1496: error: 'memcpy_i32' is not a member of 'llvm::Intrinsic' ../../llvm-gcc.src/gcc/llvm-convert.cpp:1496: error: 'memcpy_i64' is not a member of 'llvm::Intrinsic' ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemMove(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)': ../../llvm-gcc.src/gcc/llvm-convert.cpp:1512: error: 'memmove_i32' is not a member of 'llvm::Intrinsic' ../../llvm-gcc.src/gcc/llvm-convert.cpp:1512: error: 'memmove_i64' is not a member of 'llvm::Intrinsic' ../../llvm-gcc.src/gcc/llvm-convert.cpp: In member function 'void TreeToLLVM::EmitMemSet(llvm::Value*, llvm::Value*, llvm::Value*, unsigned int)': ../../llvm-gcc.src/gcc/llvm-convert.cpp:1528: error: 'memset_i32' is not a member of 'llvm::Intrinsic' ../../llvm-gcc.src/gcc/llvm-convert.cpp:1528: error: 'memset_i64' is not a member of 'llvm::Intrinsic' make[3]: *** [llvm-convert.o] Error 1 make[3]: *** Waiting for unfinished jobs.... rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gpl.pod gcc.pod make[2]: *** [all-stage1-gcc] Error 2 make[1]: *** [stage1-bubble] Error 2 make: *** [all] Error 2 llvm-svn: 59809
-
Sanjiv Gupta authored
llvm-svn: 59802
-
Nick Lewycky authored
a subtract is cheaper than a multiply. This generalizes an existing transform. llvm-svn: 59800
-
Devang Patel authored
llvm-svn: 59778
-
- Nov 19, 2008
-
-
Devang Patel authored
llvm-svn: 59658
-
Devang Patel authored
If there are two consecutive llvm.dbg.stoppoint calls then it is likely that the optimizer deleted code in between these two intrinsics. Keep only the last llvm.dbg.stoppoint in this case. llvm-svn: 59657
-
- Nov 18, 2008
-
-
Bill Wendling authored
llvm-svn: 59518
-
Devang Patel authored
Give SIToFPInst preference over UIToFPInst because it is faster on platforms that are widely used. llvm-svn: 59476
-
Devang Patel authored
llvm-svn: 59471
-
- Nov 17, 2008
-
-
Devang Patel authored
llvm-svn: 59466
-
- Nov 16, 2008
-
-
Chris Lattner authored
llvm-svn: 59409
-
Chris Lattner authored
llvm-svn: 59403
-
Chris Lattner authored
llvm-svn: 59402
-
Chris Lattner authored
llvm-svn: 59401
-
Chris Lattner authored
llvm-svn: 59400
-
Chris Lattner authored
llvm-svn: 59398
-
Chris Lattner authored
a bit. Next step is to factor out into their own helper functions. llvm-svn: 59397
-
Chris Lattner authored
llvm-svn: 59395
-
Chris Lattner authored
llvm-svn: 59392
-
Chris Lattner authored
llvm-svn: 59390
-
Chris Lattner authored
folded into the select. llvm-svn: 59389
-
Chris Lattner authored
Eliminate the cases checking for cond?0:-1, since that is already handled by commutative checking. llvm-svn: 59388
-
Chris Lattner authored
llvm-svn: 59381
-
Chris Lattner authored
llvm-svn: 59380
-
- Nov 11, 2008
-
-
Devang Patel authored
llvm-svn: 59012
-
- Nov 10, 2008
-
-
Devang Patel authored
then do not split loop index. llvm-svn: 58995
-
Bill Wendling authored
The previous patches didn't match correctly. Also, we need to make sure that the conditional is the same before doing the transformation. llvm-svn: 58978
-
Mon P Wang authored
<result> = shufflevector <n x <ty>> <v1>, <n x <ty>> <v2>, <m x i32> <mask> llvm-svn: 58964
-
Bill Wendling authored
of the select match, not the select instruction itself. llvm-svn: 58947
-
Bill Wendling authored
original code was matching like this: if (match(A, m_Not(m_Value(B)))) B was already matched as a 'select' instruction. However, this isn't matching what we think it's matching. It would match B as a 'Value', so basically anything would match to it. In this case, a Constant matched. B was replaced with a constant representation. And then the wrong value would be used in the SelectInst::Create statement, causing a crash. After thinking on this for a moment, and after Nick L. told me how the pattern matching stuff was supposed to work, the solution was to match NOT an m_Value, but an m_Select. llvm-svn: 58946
-
- Nov 09, 2008
-
-
Nuno Lopes authored
llvm-svn: 58933
-
Bill Wendling authored
to generate signed ICMP instructions to replace the FCMP. This would violate the following: define i1 @test1(i32 %val) { %1 = uitofp i32 %val to double %2 = fcmp ole double %1, 0.000000e+00 ret i1 %2 } would be transformed into: define i1 @test1(i32 %val) { %1 = icmp slt i33 %val, 1 ret i1 %1 } which is obviously wrong. This patch modifes InstCombiner::FoldFCmp_IntToFP_Cst to handle when the LHS comes from UIToFP. llvm-svn: 58929
-
- Nov 06, 2008
-
-
Mon P Wang authored
when simplify a vector. llvm-svn: 58820
-
- Nov 05, 2008
-
-
Oscar Fuentes authored
llvm-svn: 58736
-
Dan Gohman authored
a specialized pass that it not likely to be generally useful. llvm-svn: 58732
-
- Nov 04, 2008
-
-
Dale Johannesen authored
huge performance regression in something we care about. This may not be final fix. llvm-svn: 58718
-
- Nov 03, 2008
-
-
Devang Patel authored
llvm-svn: 58631
-
Devang Patel authored
This allows SCEV users to effectively calculate trip count. LSR later on transforms back integer IVs to floating point IVs later on to avoid int-to-float casts inside the loop. llvm-svn: 58625
-
Nick Lewycky authored
llvm-svn: 58593
-
- Nov 02, 2008
-
-
Nick Lewycky authored
by Richard Osborne. llvm-svn: 58555
-