Chris Lattner
cb52d81eea
add nounwinds
...
llvm-svn: 66773
2009-03-12 05:35:33 +00:00
Bill Wendling
69b05ddc4f
Revert r66765 and r66766. These were causing build failures on Darwin.
...
llvm-svn: 66770
2009-03-12 04:10:09 +00:00
Nick Lewycky
29e01c5af5
Regenerate.
...
llvm-svn: 66766
2009-03-12 03:34:33 +00:00
Nick Lewycky
71fd935173
Set ARCH to x86 on mixed 32/64-bit Linux systems.
...
Remove the explicit if OS = Darwin test around the setting of -m32/-m64.
llvm-svn: 66765
2009-03-12 03:34:19 +00:00
Sanjiv Gupta
09e6929cc5
Forgot to check-in this as part of 7761.
...
llvm-svn: 66763
2009-03-12 03:20:07 +00:00
Sanjiv Gupta
85826620f1
Banksel optimization is now based on the section names of symbols, since the symbols in one section will always be put into one bank.
...
llvm-svn: 66761
2009-03-12 02:10:45 +00:00
Dale Johannesen
6a856e8183
Allow for switch values bigger than 64 bits.
...
llvm-svn: 66751
2009-03-12 01:20:06 +00:00
Daniel Dunbar
a3c65dba44
Add StringMap::lookup.
...
llvm-svn: 66750
2009-03-12 01:16:06 +00:00
Dale Johannesen
a63033a34c
Fix some nondeterministic behavior when forwarding
...
from a switch table. Multiple table entries that
branch to the same place were being sorted by the
pointer value of the ConstantInt*; changed to sort
by the actual value of the ConstantInt.
llvm-svn: 66749
2009-03-12 01:00:26 +00:00
Evan Cheng
e4f82d3dcc
Also pass -gcc-tool-args when building a shared object.
...
llvm-svn: 66746
2009-03-12 00:53:34 +00:00
Dan Gohman
d30e108f0e
Revert r66024. The JIT encoding for CALLpcrel32 is wrong -- see PR3773, and the
...
assembly text output uses an indirect call ("call *") instead of a direct call.
llvm-svn: 66735
2009-03-11 23:01:47 +00:00
Gabor Greif
04dfd9fef9
update
...
llvm-svn: 66733
2009-03-11 22:52:25 +00:00
Rafael Espindola
a8fe373200
optimize i8 and i16 tls values.
...
llvm-svn: 66725
2009-03-11 22:40:04 +00:00
Owen Anderson
fb5980b6ab
Reorganization: Move the Spiller out of VirtRegMap.cpp into its own files. No (intended) functionality change.
...
llvm-svn: 66720
2009-03-11 22:31:21 +00:00
Bill Wendling
fca05e3a5c
Add a -no-implicit-float flag. This acts like -soft-float, but may generate
...
floating point instructions that are explicitly specified by the user.
llvm-svn: 66719
2009-03-11 22:30:01 +00:00
Dale Johannesen
bc9067e872
Skip interleaved debug info when fast-forwarding through
...
allocations. Apparently the assumption is there is an
instruction (terminator?) following the allocation so I
am allowing the same assumption.
llvm-svn: 66716
2009-03-11 22:19:43 +00:00
Evan Cheng
042e05cb31
My last coalescer fix introduced a subtler one. It's aborting a commuting optimization too late and left the live intervals to be out of sync with instructions. This fixes 8b10b.
...
llvm-svn: 66715
2009-03-11 22:18:44 +00:00
Dale Johannesen
e6adfccf09
Debug intriniscs should be skipped when looking
...
for a dependency, not terminate the search.
llvm-svn: 66709
2009-03-11 21:13:01 +00:00
Anton Korobeynikov
205b701b43
Another bug :(
...
llvm-svn: 66708
2009-03-11 21:05:21 +00:00
Torok Edwin
25781329c4
Make Print callable from a pass's print method: add const qualifier. No
...
functionality change.
llvm-svn: 66700
2009-03-11 20:50:17 +00:00
Anton Korobeynikov
60455b5097
I should definitely read make docs someday :(
...
llvm-svn: 66699
2009-03-11 20:40:15 +00:00
Gabor Greif
2c4672b310
do not pretend llvm/.../*.h being system headers
...
llvm-svn: 66697
2009-03-11 20:23:40 +00:00
Anton Korobeynikov
a4b01bf40c
Unbreak the build. Dunno, why it did not fail on mingw :(
...
llvm-svn: 66692
2009-03-11 20:16:05 +00:00
Duncan Sands
b27c523449
It makes no sense to have a ODR version of common
...
linkage, so remove it.
llvm-svn: 66690
2009-03-11 20:14:15 +00:00
Gabor Greif
b31a9d0dc0
fix validator errors
...
llvm-svn: 66688
2009-03-11 20:04:08 +00:00
Gabor Greif
5805f37f74
Fix exaples using IRBuilder. Thanks, Quadrescence and Glip7 from IRC!
...
llvm-svn: 66687
2009-03-11 19:51:07 +00:00
Anton Korobeynikov
fe336ae73e
Disable plugins / shared stuff generation on windows targets.
...
This fixes fallout from recent PIC/delibtoolize changes and unbreaks
build on cygming.
llvm-svn: 66686
2009-03-11 19:49:42 +00:00
Mon P Wang
287e422039
For yonah, fix a vector shuffle case for v16i8 where we didn't properly clear some bits.
...
llvm-svn: 66684
2009-03-11 18:47:57 +00:00
Chris Lattner
8fdb9ac396
implement support for C-style string literal concatenation in td files.
...
llvm-svn: 66663
2009-03-11 17:08:13 +00:00
Chris Lattner
5bf3e7dc27
fix PR3785, a valgrind error on test/CodeGen/ARM/pr3502.ll
...
llvm-svn: 66660
2009-03-11 16:14:25 +00:00
Duncan Sands
87527ab284
Add parentheses to pacify gcc-4.3.
...
llvm-svn: 66653
2009-03-11 09:04:34 +00:00
Duncan Sands
aadb34c357
Remove the one-definition-rule version of extern_weak
...
linkage: this linkage type only applies to declarations,
but ODR is only relevant to globals with definitions.
llvm-svn: 66650
2009-03-11 08:08:06 +00:00
Nate Begeman
04ae01ec54
Allow cross-process JIT to handle MachineRelocations of the ExternalSymbol
...
variety. For example, an i64 div might turn into a call to __divdi3 during
legalization.
llvm-svn: 66646
2009-03-11 07:03:43 +00:00
Mon P Wang
2867737ad2
Fixed a v8i16 shuffle case that should generate a pshufb instead of a pshuflw/hw.
...
llvm-svn: 66645
2009-03-11 06:35:11 +00:00
Chris Lattner
eb9327f335
formatting change, reduce indentation. No functionality change.
...
llvm-svn: 66642
2009-03-11 05:48:52 +00:00
Chris Lattner
a0c4a99ec2
reapply my previous patch (r66358) with a tweak to set the
...
alignment of the generated constant pool entry to the
desired alignment of a type. If we don't do this, we end up
trying to do movsd from 4-byte alignment memory. This fixes
450.soplex and 456.hmmer.
llvm-svn: 66641
2009-03-11 05:08:08 +00:00
Bill Wendling
e22e99addb
Put the assignment back at the top of this method.
...
llvm-svn: 66611
2009-03-11 00:03:50 +00:00
Evan Cheng
264173da40
Two coalescer fixes in one.
...
1. Use the same value# to represent unknown values being merged into sub-registers.
2. When coalescer commute an instruction and the destination is a physical register, update its sub-registers by merging in the extended ranges.
llvm-svn: 66610
2009-03-11 00:03:21 +00:00
Bill Wendling
5f1261bf32
Make ivars private. Other cleanup. No functionality change.
...
llvm-svn: 66607
2009-03-10 23:57:09 +00:00
Mon P Wang
12fd8e63d9
Changed Allocate to use size_t instead of unsigned.
...
llvm-svn: 66602
2009-03-10 23:48:49 +00:00
Dan Gohman
6eec7905d5
Add an explicit keyword.
...
llvm-svn: 66595
2009-03-10 23:10:46 +00:00
Mon P Wang
5645b8cdc5
Fixed rounding up EltSize
...
llvm-svn: 66594
2009-03-10 23:04:40 +00:00
Gabor Greif
cc417cc066
Give Op<N>() AppleScript-like semantics, i.e. for negative N it indexes relative to op_end.
...
This is a preliminary to changes to come. No intended functionality change.
llvm-svn: 66593
2009-03-10 23:02:13 +00:00
Bill Wendling
45ffb6a251
Just make the Dwarf timer group static inside of the getter function. No need to alloc/dealloc.
...
llvm-svn: 66591
2009-03-10 22:58:53 +00:00
Bill Wendling
3ebcbacf4e
Don't put static functions in anonymous namespace.
...
llvm-svn: 66589
2009-03-10 22:36:31 +00:00
Dale Johannesen
7579673822
Don't consider debug intrinsics when checking
...
whether a callee to be inlined is a leaf.
llvm-svn: 66588
2009-03-10 22:20:02 +00:00
Bill Wendling
6a7265aeaa
These should *stop* the timer, not start it again.
...
llvm-svn: 66586
2009-03-10 22:02:13 +00:00
Bill Wendling
1c78143120
- Fix misspelled method name.
...
- Remove unused method.
llvm-svn: 66585
2009-03-10 21:59:25 +00:00
Bill Wendling
30a55f9386
- Create GetOrCreateSourceID from getOrCreateSourceID. GetOrCreateSourceID is
...
the untimed version of getOrCreateSourceID. getOrCreateSourceID calls
GetOrCreateSourceID, of course.
- Move some methods into the "private" section. Constify at least one method.
- General clean-ups.
llvm-svn: 66582
2009-03-10 21:47:45 +00:00
Bill Wendling
5af061a657
Readd test, but XFAIL it.
...
llvm-svn: 66581
2009-03-10 21:31:00 +00:00