- Dec 07, 2006
-
-
Bill Wendling authored
now cerr, cout, and NullStream resp. llvm-svn: 32298
-
- Dec 06, 2006
-
-
Reid Spencer authored
llvm-svn: 32288
-
Chris Lattner authored
is 'unsigned'. llvm-svn: 32279
-
- Dec 05, 2006
-
-
Chris Lattner authored
7.48s. This regression is due to unforseen consequences of the cast patch. llvm-svn: 32209
-
- Dec 04, 2006
-
-
Reid Spencer authored
llvm-svn: 32166
-
- Dec 02, 2006
-
-
Chris Lattner authored
Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll llvm-svn: 32112
-
- Dec 01, 2006
-
-
Reid Spencer authored
llvm-svn: 32051
-
- Nov 29, 2006
-
-
Chris Lattner authored
unsigned short swp(unsigned short a) { return ((a & 0xff00) >> 8 | (a & 0x00ff) << 8); } as an idiom for bswap. llvm-svn: 32011
-
Chris Lattner authored
This implements InstCombine/cast.ll:test34. It fires hundreds of times on 176.gcc. llvm-svn: 32009
-
Chris Lattner authored
folding seteq (bswap(x)), c -> seteq(x,bswap(c)) llvm-svn: 32006
-
Reid Spencer authored
llvm-svn: 31996
-
- Nov 28, 2006
-
-
Reid Spencer authored
llvm-svn: 31977
-
Reid Spencer authored
producing code for "trunc to bool". This passes all tests on Linux. llvm-svn: 31963
-
- Nov 27, 2006
-
-
Chris Lattner authored
llvm-svn: 31941
-
Reid Spencer authored
The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
-
- Nov 26, 2006
-
-
Bill Wendling authored
llvm-svn: 31923
-
- Nov 21, 2006
-
-
Chris Lattner authored
llvm-svn: 31889
-
- Nov 15, 2006
-
-
Chris Lattner authored
llvm-svn: 31751
-
- Nov 14, 2006
-
-
Chris Lattner authored
(X >> Z) op (Y >> Z) -> (X op Y) >> Z for all shifts and all ops={and/or/xor}. llvm-svn: 31729
-
Chris Lattner authored
typedef struct { unsigned prefix : 4; unsigned code : 4; unsigned unsigned_p : 4; } tree_common; int foo(tree_common *a, tree_common *b) { return a->code == b->code; } into: _foo: movl 4(%esp), %eax movl 8(%esp), %ecx movl (%eax), %eax xorl (%ecx), %eax # TRUNCATE movb %al, %al shrb $4, %al testb %al, %al sete %al movzbl %al, %eax ret instead of: _foo: movl 8(%esp), %eax movb (%eax), %al shrb $4, %al movl 4(%esp), %ecx movb (%ecx), %cl shrb $4, %cl cmpb %al, %cl sete %al movzbl %al, %eax ret saving one cycle by eliminating a shift. llvm-svn: 31727
-
- Nov 11, 2006
-
-
Chris Lattner authored
by the shr -> [al]shr patch. This was reduced from 176.gcc. llvm-svn: 31653
-
- Nov 09, 2006
-
-
Chris Lattner authored
add.ll:test33, add.ll:test34, shift-sra.ll:test2 llvm-svn: 31586
-
- Nov 08, 2006
-
-
Chris Lattner authored
case that it bad to do. llvm-svn: 31563
-
Chris Lattner authored
delete in the first place. This also makes it simpler. llvm-svn: 31562
-
Chris Lattner authored
loops. llvm-svn: 31560
-
Reid Spencer authored
This patch converts the old SHR instruction into two instructions, AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not dependent on the sign of their operands. llvm-svn: 31542
-
- Nov 03, 2006
-
-
Andrew Lenharth authored
llvm-svn: 31431
-
- Nov 02, 2006
-
-
Reid Spencer authored
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
-
Reid Spencer authored
Replace the REM instruction with UREM, SREM and FREM. llvm-svn: 31369
-
- Nov 01, 2006
-
-
Chris Lattner authored
llvm-svn: 31346
-
Chris Lattner authored
result. This can significantly shrink code and exposes identities more aggressively. llvm-svn: 31344
-
Chris Lattner authored
llvm-svn: 31342
-
Chris Lattner authored
This triggers thousands of times on multisource. llvm-svn: 31341
-
- Oct 26, 2006
-
-
Reid Spencer authored
InsertNewInstBefore(new CastInst(Val, ValTy, Val->GetName()), I) into: InsertCastBefore(Val, ValTy, I) llvm-svn: 31204
-
Reid Spencer authored
Make necessary changes to support DIV -> [SUF]Div. This changes llvm to have three division instructions: signed, unsigned, floating point. The bytecode and assembler are bacwards compatible, however. llvm-svn: 31195
-
- Oct 20, 2006
-
-
Chris Lattner authored
but apparently didn't make it into the final patch. llvm-svn: 31070
-
Reid Spencer authored
This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
-
Devang Patel authored
llvm-svn: 31062
-
- Oct 19, 2006
-
-
Devang Patel authored
and destination sign may not match but other conditions are met. llvm-svn: 31056
-
Devang Patel authored
llvm-svn: 31055
-