- Apr 21, 2005
-
-
Reid Spencer authored
current process. llvm-svn: 21400
-
Chris Lattner authored
llvm-svn: 21397
-
Chris Lattner authored
llvm-svn: 21396
-
Chris Lattner authored
llvm-svn: 21395
-
Chris Lattner authored
llvm-svn: 21394
-
Chris Lattner authored
llvm-svn: 21393
-
Chris Lattner authored
bool %test(int %X) { %Y = and int %X, 8 %Z = setne int %Y, 0 ret bool %Z } we now generate this: rlwinm r2, r3, 0, 28, 28 srwi r3, r2, 3 instead of this: rlwinm r2, r3, 0, 28, 28 srwi r2, r2, 3 rlwinm r3, r2, 0, 31, 31 I'll leave it to Nate to get it down to one instruction. :) --------------------------------------------------------------------- llvm-svn: 21391
-
Chris Lattner authored
This turns this PPC code: rlwinm r2, r3, 0, 28, 28 cmpwi cr7, r2, 8 mfcr r2 rlwinm r3, r2, 31, 31, 31 into this: rlwinm r2, r3, 0, 28, 28 srwi r2, r2, 3 rlwinm r3, r2, 0, 31, 31 Next up, nuking the extra and. llvm-svn: 21390
-
Chris Lattner authored
%shortcirc_val = select bool %tmp.1, bool true, bool %tmp.4 ; <bool> [#uses=1] %tmp.6 = cast bool %shortcirc_val to int ; <int> [#uses=1] into this: %shortcirc_val = or bool %tmp.1, %tmp.4 ; <bool> [#uses=1] %tmp.6 = cast bool %shortcirc_val to int ; <int> [#uses=1] not this: %tmp.4.cast = cast bool %tmp.4 to int ; <int> [#uses=1] %tmp.6 = select bool %tmp.1, int 1, int %tmp.4.cast ; <int> [#uses=1] llvm-svn: 21389
-
Chris Lattner authored
convert this: %tmp.1 = seteq int %i, 0 ; <bool> [#uses=1] br bool %tmp.1, label %shortcirc_done, label %shortcirc_next shortcirc_next: ; preds = %entry %tmp.4 = seteq int %j, 0 ; <bool> [#uses=1] br label %shortcirc_done shortcirc_done: ; preds = %shortcirc_next, %entry %shortcirc_val = phi bool [ %tmp.4, %shortcirc_next ], [ true, %entry ] ; <bool> [#uses=1] to this: %tmp.1 = seteq int %i, 0 ; <bool> [#uses=1] %tmp.4 = seteq int %j, 0 ; <bool> [#uses=1] %shortcirc_val = select bool %tmp.1, bool true, bool %tmp.4 ; <bool> [#uses=1] ... which is later simplified by instcombine into an or. llvm-svn: 21388
-
Chris Lattner authored
llvm-svn: 21387
-
Chris Lattner authored
llvm-svn: 21386
-
Reid Spencer authored
Standardize the error messages to be in "path: what failed: why" format. Also attempt to use the correct errno to ThrowErrno in situations where the errno value is erased by subsequent system calls. llvm-svn: 21385
-
Reid Spencer authored
Allow the ThrowErrno function to optionally accept an error number parameter so that callers can specify the error number to be used. llvm-svn: 21384
-
- Apr 20, 2005
-
-
Misha Brukman authored
llvm-svn: 21380
-
Misha Brukman authored
llvm-svn: 21379
-
Misha Brukman authored
result in returning executable files that won't be runnable. llvm-svn: 21378
-
Misha Brukman authored
Patch by Markus Oberhumer. llvm-svn: 21377
-
Misha Brukman authored
llvm-svn: 21374
-
Misha Brukman authored
llvm-svn: 21372
-
Misha Brukman authored
llvm-svn: 21371
-
Misha Brukman authored
Thanks to Markus Oberhumer for the patch! llvm-svn: 21370
-
Misha Brukman authored
Patch by Markus Oberhumer. Thanks! llvm-svn: 21369
-
Misha Brukman authored
llvm-svn: 21368
-
Misha Brukman authored
* Add option `-save-temps' Patch contributed by Markus Oberhumer. llvm-svn: 21367
-
- Apr 19, 2005
-
-
Chris Lattner authored
Make IPSCCP strip off dead constant exprs that are using functions, making them appear as though their address is taken. This allows us to propagate some more pool descriptors, lowering the overhead of pool alloc. llvm-svn: 21363
-
Chris Lattner authored
llvm-svn: 21362
-
Chris Lattner authored
llvm-svn: 21361
-
Chris Lattner authored
llvm-svn: 21360
-
Chris Lattner authored
llvm-svn: 21355
-
Chris Lattner authored
llvm-svn: 21354
-
Chris Lattner authored
llvm-svn: 21353
-
Chris Lattner authored
llvm-svn: 21352
-
Chris Lattner authored
llvm-svn: 21351
-
Chris Lattner authored
them away. llvm-svn: 21350
-
Chris Lattner authored
llvm-svn: 21349
-
Chris Lattner authored
llvm-svn: 21348
-
Chris Lattner authored
llvm-svn: 21347
-
Chris Lattner authored
llvm-svn: 21346
-
Chris Lattner authored
bits that must be passed up the inheritance hierarchy. Convert MForm and AForm instructions over llvm-svn: 21345
-