- Jan 16, 2005
-
-
Tanya Lattner authored
llvm-svn: 19615
-
Chris Lattner authored
* Remove custom promotion for bool and byte select ops. Legalize now promotes them for us. * Allow folding ConstantPoolIndexes into EXTLOAD's, useful for float immediates. * Declare which operations are not supported better. * Add some hacky code for TRUNCSTORE to pretend that we have truncstore for i16 types. This is useful for testing promotion code because I can just remove 16-bit registers all together and verify that programs work. llvm-svn: 19614
-
Chris Lattner authored
llvm-svn: 19610
-
Chris Lattner authored
llvm-svn: 19604
-
Reid Spencer authored
llvm-svn: 19592
-
Tanya Lattner authored
llvm-svn: 19587
-
Chris Lattner authored
llvm-svn: 19586
-
Chris Lattner authored
llvm-svn: 19584
-
Chris Lattner authored
llvm-svn: 19581
-
- Jan 15, 2005
-
-
Chris Lattner authored
llvm-svn: 19567
-
Chris Lattner authored
llvm-svn: 19566
-
- Jan 14, 2005
-
-
Chris Lattner authored
llvm-svn: 19561
-
Chris Lattner authored
llvm-svn: 19557
-
Chris Lattner authored
llvm-svn: 19555
-
- Jan 13, 2005
-
-
Chris Lattner authored
llvm-svn: 19535
-
Chris Lattner authored
llvm-svn: 19532
-
Chris Lattner authored
llvm-svn: 19529
-
Chris Lattner authored
of cases where we accidentally emitted a load folded once and unfolded elsewhere. llvm-svn: 19522
-
- Jan 12, 2005
-
-
Chris Lattner authored
Checking to see if the load has two uses is not equivalent, as the chain value may have zero uses. llvm-svn: 19518
-
Chris Lattner authored
imul %EAX, %EAX, 400 add %ECX, %EAX add %ESI, DWORD PTR [%ECX + 4*%EDX] inc %EDX cmp %EDX, 100 instead of this: imul %EAX, %EAX, 400 add %ECX, %EAX mov %EAX, %EDX shl %EAX, 2 add %ECX, %EAX add %ESI, DWORD PTR [%ECX] inc %EDX cmp %EDX, 100 llvm-svn: 19513
-
Chris Lattner authored
llvm-svn: 19511
-
Chris Lattner authored
This fails for shifts because the constant is always 8 bits. llvm-svn: 19508
-
Chris Lattner authored
This fixes FreeBench/pcompress llvm-svn: 19507
-
Jeff Cohen authored
llvm-svn: 19504
-
Chris Lattner authored
to be dynamically initialized. :( llvm-svn: 19503
-
Chris Lattner authored
Fix a bug that caused us to crash on povray. We weren't emitting an FP_REG_KILL into a block that had a successor with a FP PHI node. llvm-svn: 19502
-
Chris Lattner authored
mov %AX, WORD PTR [0] instead of like this: mov %AX, WORD PTR [] llvm-svn: 19501
-
Chris Lattner authored
movw 0, %ax instead of like this: movw , %ax llvm-svn: 19500
-
Chris Lattner authored
llvm-svn: 19499
-
Chris Lattner authored
llvm-svn: 19496
-
Chris Lattner authored
contain FP PHI nodes but no other FP defining instructions. This fixes 183.equake llvm-svn: 19495
-
Chris Lattner authored
llvm-svn: 19494
-
Chris Lattner authored
256.bzip2 from 7142 to 7103 lines of .s file. Second, add initial support for folding loads into compares, though this code is dynamically dead for now. :( llvm-svn: 19493
-
Chris Lattner authored
several times in 256.bzip2: mov %EAX, DWORD PTR [%ESP + 204] - mov %EAX, DWORD PTR [%EAX] - or %EAX, 2097152 - mov %ECX, DWORD PTR [%ESP + 204] - mov DWORD PTR [%ECX], %EAX + or DWORD PTR [%EAX], 2097152 llvm-svn: 19492
-
Chris Lattner authored
mov %AL, BYTE PTR [%EDX + l18_length_code] movzx %EAX, %AL Emit: movzx %EAX, BYTE PTR [%EDX + l18_length_code] llvm-svn: 19489
-
Chris Lattner authored
Select [mem] += Val operations. For constants, we used to get: mov %ECX, -32768 add %ECX, DWORD PTR [l4_match_start] mov DWORD PTR [l4_match_start], %ECX Now we get: add DWORD PTR [l4_match_start], -32768 For other values we used to get: mov %EBP, %EDI ;; because the add destroys the value add %EBP, DWORD PTR [l4_input_len] mov DWORD PTR [l4_input_len], %EBP now we get: add DWORD PTR [l4_input_len], %EDI Both of these use less registers than the alternative, are faster and smaller. llvm-svn: 19488
-
- Jan 11, 2005
-
-
Chris Lattner authored
llvm-svn: 19487
-
Chris Lattner authored
folded into an instruction. llvm-svn: 19486
-
Chris Lattner authored
* Fold loads into Add, sub, and, or, xor and mul when possible. * Codegen shl X, 1 as add X, X llvm-svn: 19483
-
Chris Lattner authored
llvm-svn: 19482
-