Evan Cheng
|
3d8d381600
|
Possible JT improvements.
llvm-svn: 33733
|
2007-02-01 01:07:48 +00:00 |
|
Chris Lattner
|
f4e5c29cb9
|
Fix CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll
llvm-svn: 33732
|
2007-02-01 00:39:08 +00:00 |
|
Chris Lattner
|
c0baa88c14
|
new testcase
llvm-svn: 33731
|
2007-02-01 00:38:56 +00:00 |
|
Evan Cheng
|
b689aef6e2
|
Fix test case.
llvm-svn: 33730
|
2007-01-31 23:51:35 +00:00 |
|
Evan Cheng
|
54a1324bae
|
Don't emit unnecessary .align directive.
llvm-svn: 33729
|
2007-01-31 23:39:39 +00:00 |
|
Evan Cheng
|
765de99fac
|
Handle an interesting corner case: the constpool_entry being reference is two
instructions away, i.e. its address is equal to PC.
%r0 = tLDRpci <cp#0>
bx
CONSTPOOL_ENTRY 0 <cp#0>, 4
llvm-svn: 33728
|
2007-01-31 23:35:18 +00:00 |
|
Evan Cheng
|
082e441207
|
Don't want to add FramePtr to callee save spill list twice.
llvm-svn: 33727
|
2007-01-31 23:17:29 +00:00 |
|
Reid Spencer
|
a22881da40
|
Fix build breakage by using correct arguments to getIndexedType in the
GEP constructors.
llvm-svn: 33726
|
2007-01-31 22:30:26 +00:00 |
|
Evan Cheng
|
5b168e6bc2
|
Fix test cases.
llvm-svn: 33725
|
2007-01-31 22:27:07 +00:00 |
|
Evan Cheng
|
457d429cab
|
Darwin ABI requires FP to point to stack slot of prev FP.
llvm-svn: 33724
|
2007-01-31 22:25:33 +00:00 |
|
Evan Cheng
|
0ce094c7a8
|
Add entry.
llvm-svn: 33723
|
2007-01-31 22:11:38 +00:00 |
|
Evan Cheng
|
41bee13a0e
|
Thumb add sp, #imm requires the immediate value be multiple of 4. For now,
change preferred alignment of short, byte, bool to 4.
llvm-svn: 33722
|
2007-01-31 22:08:40 +00:00 |
|
Evan Cheng
|
476cd5c2d1
|
Update comment.
llvm-svn: 33721
|
2007-01-31 22:06:44 +00:00 |
|
Reid Spencer
|
4736f2b02d
|
Preview of the shift instructions becoming Binary Operators.
llvm-svn: 33720
|
2007-01-31 21:39:12 +00:00 |
|
Evan Cheng
|
8596afac45
|
Dead comment.
llvm-svn: 33719
|
2007-01-31 21:31:25 +00:00 |
|
Reid Spencer
|
6d6e7a072b
|
Add some debug output.
llvm-svn: 33718
|
2007-01-31 21:27:38 +00:00 |
|
Evan Cheng
|
a08ef111bb
|
Thumb asm syntax does not want 's' suffix for flag setting opcodes.
llvm-svn: 33717
|
2007-01-31 20:12:31 +00:00 |
|
Chris Lattner
|
ff0987ee01
|
shutdown the app when done.
llvm-svn: 33716
|
2007-01-31 20:10:54 +00:00 |
|
Chris Lattner
|
bebab8c026
|
remove temporary vectors.
llvm-svn: 33715
|
2007-01-31 20:08:52 +00:00 |
|
Chris Lattner
|
d9c5442b61
|
add missing ctor
llvm-svn: 33714
|
2007-01-31 20:08:34 +00:00 |
|
Chris Lattner
|
237fa61eb7
|
eliminate temporary vectors
llvm-svn: 33713
|
2007-01-31 20:07:32 +00:00 |
|
Chris Lattner
|
8b052ca7d0
|
eliminate temporary vectors
llvm-svn: 33712
|
2007-01-31 19:59:55 +00:00 |
|
Evan Cheng
|
1df8529721
|
When determining whether a pc relative branch / load displacement fits in the
instruction field, adjust it for PC value (4 for thumb, 8 for arm).
llvm-svn: 33711
|
2007-01-31 19:57:44 +00:00 |
|
Chris Lattner
|
539d9c81fd
|
eliminate a temporary vector while parsing gep's from bc files.
llvm-svn: 33710
|
2007-01-31 19:56:15 +00:00 |
|
Chris Lattner
|
084d1d8706
|
A relatively simple PPC optimization.
llvm-svn: 33709
|
2007-01-31 19:49:20 +00:00 |
|
Chris Lattner
|
55e5440018
|
implement the new GEP instruction ctors.
llvm-svn: 33708
|
2007-01-31 19:47:18 +00:00 |
|
Evan Cheng
|
f6e0e6cada
|
Some comments.
llvm-svn: 33707
|
2007-01-31 18:29:27 +00:00 |
|
Evan Cheng
|
16edf4f9bf
|
ConstPool island bug: watch out for cases where UserMI is the last MI of the BB.
llvm-svn: 33706
|
2007-01-31 18:19:07 +00:00 |
|
Chris Lattner
|
b32b59cd84
|
Revert another incorrectly applied chunk, which fixes InstCombine/vec_insert_to_shuffle.ll
llvm-svn: 33705
|
2007-01-31 18:09:17 +00:00 |
|
Chris Lattner
|
46ce2a4cca
|
Fix a minor bug in my patch yesterday that broken ConstProp/bswap.ll
llvm-svn: 33704
|
2007-01-31 18:04:55 +00:00 |
|
Lauro Ramos Venancio
|
e22bc8635e
|
ARM fix: Miscompilation when frame pointer can't be eliminated. Uninitialized frame pointer register is used.
llvm-svn: 33703
|
2007-01-31 13:12:46 +00:00 |
|
Evan Cheng
|
608ad034b0
|
Specify the right CC for comparison libcalls.
llvm-svn: 33702
|
2007-01-31 09:30:58 +00:00 |
|
Evan Cheng
|
3ec2e08a37
|
Allow the target to override the ISD::CondCode that's to be used to test the
result of the comparison libcall against zero.
llvm-svn: 33701
|
2007-01-31 09:29:11 +00:00 |
|
Evan Cheng
|
aa6f0f3b3b
|
Added O_F32 and O_64 in addition to UO_F32 and UO_64 even though by
default they call the same libgcc routine. The result of the calls are
"tested" differently.
llvm-svn: 33700
|
2007-01-31 09:26:31 +00:00 |
|
Evan Cheng
|
e5f5439313
|
Observe -soft-float.
llvm-svn: 33699
|
2007-01-31 08:40:13 +00:00 |
|
Chris Lattner
|
b8f4cada84
|
minor cleanups. Fix off-by-one in accounting the number of nodes when the
table grows.
llvm-svn: 33698
|
2007-01-31 06:04:41 +00:00 |
|
Chris Lattner
|
c2b59bba2a
|
shutdown at end of run
llvm-svn: 33697
|
2007-01-31 04:45:28 +00:00 |
|
Chris Lattner
|
0deac2a51d
|
regenerate
llvm-svn: 33696
|
2007-01-31 04:44:08 +00:00 |
|
Chris Lattner
|
b0a0d4f999
|
eliminate a temporary vector
llvm-svn: 33695
|
2007-01-31 04:43:46 +00:00 |
|
Chris Lattner
|
9888e0a048
|
elimiante a temporary vector
llvm-svn: 33694
|
2007-01-31 04:42:05 +00:00 |
|
Chris Lattner
|
f456997cb6
|
eliminate temporary vectors
llvm-svn: 33693
|
2007-01-31 04:40:53 +00:00 |
|
Chris Lattner
|
b5aa990588
|
Revise APIs for creating constantexpr GEPs to not require the use of vectors.
This allows us to eliminate many temporary vectors, and theirassociated malloc/free pairs.
llvm-svn: 33692
|
2007-01-31 04:40:28 +00:00 |
|
Chris Lattner
|
677cab8ef3
|
Revise APIs for creating constantexpr GEPs to not require the use of
vectors. This allows us to eliminate many temporary vectors, and their
associated malloc/free pairs.
llvm-svn: 33691
|
2007-01-31 04:39:29 +00:00 |
|
Evan Cheng
|
0ee9a27976
|
- Added Thumb constpool island support.
- Islands are inserted right after the user MI since thumb LDR cannot encode
negative offset.
llvm-svn: 33690
|
2007-01-31 02:22:22 +00:00 |
|
Reid Spencer
|
0dd2b76a98
|
Fix version information for new instructions.
llvm-svn: 33689
|
2007-01-31 01:18:59 +00:00 |
|
Chris Lattner
|
eb3d93c6a8
|
Move symbolic constant folding code to libanalysis.
llvm-svn: 33688
|
2007-01-31 00:53:10 +00:00 |
|
Chris Lattner
|
be153e31f3
|
Move some symbolic constant folding code out of instcombine into a place
it can be used by multiple clients. This specifically allows the inliner
to constant fold symbolically.
llvm-svn: 33687
|
2007-01-31 00:51:48 +00:00 |
|
Reid Spencer
|
ec249e7f4e
|
Correct the instruction op codes to meet current head changes.
llvm-svn: 33686
|
2007-01-31 00:38:46 +00:00 |
|
Reid Spencer
|
0a7b4d71e6
|
Excise documentation about Compaction Tables.
llvm-svn: 33685
|
2007-01-31 00:26:08 +00:00 |
|
Chris Lattner
|
937bf05f43
|
The local "ConstantFold" method is now just a watered down version of
ConstantFoldInstOperands. Switch to ConstantFoldInstOperands and remove
ConstantFold.
llvm-svn: 33683
|
2007-01-30 23:52:44 +00:00 |
|