- Nov 11, 2008
-
-
Devang Patel authored
llvm-svn: 59012
-
Devang Patel authored
llvm-svn: 59011
-
- 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 08, 2008
-
-
Daniel Dunbar authored
promotion. - Eliminate uses after free and simplify tests. Devang: Please check that this is still doing what you intended. llvm-svn: 58887
-
- Nov 07, 2008
-
-
Bill Wendling authored
llvm-svn: 58830
-
Devang Patel authored
llvm-svn: 58826
-
- Nov 06, 2008
-
-
Mon P Wang authored
when simplify a vector. llvm-svn: 58820
-
Devang Patel authored
llvm-svn: 58787
-
- Nov 05, 2008
-
-
Devang Patel authored
llvm-svn: 58744
-
Devang Patel authored
llvm-svn: 58742
-
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
-
Devang Patel authored
llvm-svn: 58651
-
- Nov 03, 2008
-
-
Devang Patel authored
llvm-svn: 58631
-
Andrew Lenharth authored
add a period at the end of the comment, ignoring the fact that the comment would be hard pressed to be considered a sentence, but if it makes Bill happy... llvm-svn: 58630
-
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
-
Andrew Lenharth authored
llvm-svn: 58615
-
Nick Lewycky authored
llvm-svn: 58593
-
- Nov 02, 2008
-
-
Nick Lewycky authored
* merge two weak functions by making them both alias a third non-weak fn * don't reimplement CallSite::hasArgument * whitelist the safe linkage types llvm-svn: 58568
-
Duncan Sands authored
cast from ‘const llvm::PointerType*’ to ‘unsigned int’ loses precision). llvm-svn: 58561
-
Oscar Fuentes authored
llvm-svn: 58559
-
Nick Lewycky authored
This triggers only 60 times in llvm-test (look at .llvm.bc, not .linked.rbc) and so it probably wont be turned on by default. Also, may of those are likely to go away when PR2973 is fixed. llvm-svn: 58557
-
Nick Lewycky authored
by Richard Osborne. llvm-svn: 58555
-
Dan Gohman authored
ConstantInt, and SI is the original cast instruction. This fixes PR2996. llvm-svn: 58549
-
- Oct 31, 2008
-
-
Daniel Dunbar authored
llvm-svn: 58486
-
- Oct 30, 2008
-
-
Dan Gohman authored
optimizations accordingly. llvm-svn: 58457
-
Daniel Dunbar authored
function. - This explicitly models the costs for functions which should "always" or "never" be inlined. This fixes bugs where such costs were not previously respected. llvm-svn: 58450
-
- Oct 29, 2008
-
-
Chris Lattner authored
I don't really see this as being needed, but there is little harm from doing it. llvm-svn: 58385
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58355
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58352
-
- Oct 28, 2008
-
-
Dan Gohman authored
llvm-svn: 58351
-
- Oct 27, 2008
-
-
Torok Edwin authored
that need it to require it by ID. llvm-svn: 58238
-
Chris Lattner authored
LargeBlockInfo, we can now dramatically simplify their implementation and speed them up at the same time. Now the code has time proportional to the number of uses of the alloca, not the size of the block. This also eliminates code that tried to batch up different allocas which are used in the same blocks, and eliminates the 'retry list' logic which was baroque and no unneccesary. In addition to being a speedup for crazy cases, this is also a nice cleanup: PromoteMemoryToRegister.cpp | 270 +++++++++++++++----------------------------- 1 file changed, 96 insertions(+), 174 deletions(-) llvm-svn: 58229
-