Evan Cheng
|
5330192ab5
|
Implement llvm.atomic.cmp.swap.i32 on PPC. Patch by Gary Benson!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53505 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-12 02:23:19 +00:00 |
|
Dan Gohman
|
cddc11e757
|
Add a utility function to MachineInstr for testing whether an instruction
has exactly one MachineMemOperand, and change some X86 lowering code to
make use of it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53498 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-12 00:10:52 +00:00 |
|
Dan Gohman
|
a54cf17661
|
Include a frame index in the "fixed stack" pseudo source value
instead of using the frame index for the SVOffset, which was
inconsistent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53486 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-11 22:44:52 +00:00 |
|
Chris Lattner
|
78d60458d5
|
add support for returning i128, PR2532.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53472 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-11 20:53:00 +00:00 |
|
Dan Gohman
|
dc2fbddd9d
|
Trim unnecessary #includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53471 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-11 20:38:31 +00:00 |
|
Bill Wendling
|
71ca353ae6
|
The frame address on an x86-64 box needs to be offset by -8, not -4.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53450 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-11 07:18:52 +00:00 |
|
Chris Lattner
|
6291d69c4c
|
Remove extraneous vertical whitespace before Eric gets the wrong idea ;-)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53411 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-10 16:49:53 +00:00 |
|
Chris Lattner
|
85e7ac0353
|
Fix an altivec constant miscompilation that Duncan found through
his work on legalizetypes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53410 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-10 16:33:38 +00:00 |
|
Owen Anderson
|
c007848b5a
|
Fix the build by adding a #include.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53388 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-10 01:44:27 +00:00 |
|
Evan Cheng
|
331e2bd942
|
Fix for PR2472. Use movss to set lower 32-bits of a zero XMM vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53386 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-10 01:08:23 +00:00 |
|
Anton Korobeynikov
|
7705ea33e4
|
Remove a FIXME: we really need to use const_data section on darwin for
constant pool, if relocation model is not static. This directly maps to
the way how GCC works.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53370 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 21:54:26 +00:00 |
|
Anton Korobeynikov
|
ac2673e4ea
|
Add FIXME for future checking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53368 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 21:38:28 +00:00 |
|
Dale Johannesen
|
03b5ee7762
|
Remove extra call to DW.SetModuleInfo on Linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53365 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 21:33:15 +00:00 |
|
Dale Johannesen
|
d03772466a
|
Emit debug info for data-only files on Cell SPU.
I cannot test this target, let me know if it breaks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53363 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 21:25:06 +00:00 |
|
Dale Johannesen
|
757809a170
|
Emit debug into for data-only files for Linux PPC.
I cannot test this target, let me know if it breaks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53362 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 21:24:07 +00:00 |
|
Dale Johannesen
|
f2452c5f48
|
Emit debug info for data-only files. ARM version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53360 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 21:20:54 +00:00 |
|
Dale Johannesen
|
7bc39e227f
|
Emit debug info for data-only files. This version
is X86 ATT only.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53355 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 20:55:35 +00:00 |
|
Anton Korobeynikov
|
b126f3b534
|
Add missed section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53354 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 20:47:55 +00:00 |
|
Dale Johannesen
|
94618eb888
|
Emit debug info for data-only files. This version
applies to ppc Darwin only.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53353 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 20:43:39 +00:00 |
|
Anton Korobeynikov
|
9a06ed9359
|
Distinguish .const and .const_data on Darwin, when needed. This is somehow crazy :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53350 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 20:01:42 +00:00 |
|
Anton Korobeynikov
|
f56c2f7a4b
|
Weak stuff always goes to coalesced sections on Darwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53340 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 19:06:02 +00:00 |
|
Dan Gohman
|
4b9235b149
|
Remove #include <iostream>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53333 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 18:08:48 +00:00 |
|
Anton Korobeynikov
|
c5a7e40c74
|
Add FIXME needed to be resolved later
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53324 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:30:02 +00:00 |
|
Anton Korobeynikov
|
7d51edfc08
|
Use only 'subset' of flags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53323 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:29:44 +00:00 |
|
Anton Korobeynikov
|
a3af0bf4ab
|
Typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53322 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:29:27 +00:00 |
|
Anton Korobeynikov
|
3b48591a84
|
Revert accidentially added stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53321 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:29:08 +00:00 |
|
Anton Korobeynikov
|
0d44ba82b4
|
First sketch of special section objects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53320 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:28:49 +00:00 |
|
Anton Korobeynikov
|
c5c92f6383
|
Honour text sections
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53319 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:28:19 +00:00 |
|
Anton Korobeynikov
|
c33a744f0e
|
Use isWeakForLinker() hook
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53318 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:27:59 +00:00 |
|
Anton Korobeynikov
|
e87f52d722
|
Switch to new section name handling facility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53316 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:27:16 +00:00 |
|
Anton Korobeynikov
|
7e7fc82cf3
|
Another bunch of hacks for named sections support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53315 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:26:52 +00:00 |
|
Anton Korobeynikov
|
1290ecf5b9
|
Typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53314 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:26:24 +00:00 |
|
Anton Korobeynikov
|
87fc6b4f86
|
Drop mergeable flag, if size is no suitable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53313 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:26:05 +00:00 |
|
Anton Korobeynikov
|
2a889172a4
|
Fix several bugs in named sections handling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53312 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:25:46 +00:00 |
|
Anton Korobeynikov
|
b20015b621
|
Add hacky way to distinguish named and named sections. This will be generalized in the future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53311 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:25:26 +00:00 |
|
Anton Korobeynikov
|
5248670096
|
Use 'gnu.linkonce', where needed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53310 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:24:55 +00:00 |
|
Anton Korobeynikov
|
0e48a0ca16
|
Fix thinko
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53309 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:24:38 +00:00 |
|
Anton Korobeynikov
|
c6f4947d48
|
Drop dead member reference
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53308 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:24:18 +00:00 |
|
Anton Korobeynikov
|
4039e680bc
|
Add funny darwin section selection logic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53307 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:23:57 +00:00 |
|
Anton Korobeynikov
|
01b0e24c25
|
Handle ELF mergeable sections
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53306 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:23:37 +00:00 |
|
Anton Korobeynikov
|
4260ad3e7d
|
Provide section selection for X86 ELF targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53305 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:23:08 +00:00 |
|
Anton Korobeynikov
|
265c5259ab
|
Provide general hook for section name calculation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53304 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:22:46 +00:00 |
|
Anton Korobeynikov
|
6d82942092
|
Print entity size for mergeable sections
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53303 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:22:17 +00:00 |
|
Anton Korobeynikov
|
f447e3d311
|
Split PrintSectionFlags
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53302 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:21:49 +00:00 |
|
Anton Korobeynikov
|
b9a02fcaf6
|
Split UniqueSectionForGlobal()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53301 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:21:29 +00:00 |
|
Anton Korobeynikov
|
b9e58efdb9
|
Split PreferredEHDataFormat hook
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53300 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:21:08 +00:00 |
|
Anton Korobeynikov
|
4468b7a988
|
Split X86TargetAsmInfo into 4 subtarget-specific classes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53299 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:20:48 +00:00 |
|
Anton Korobeynikov
|
8210045b9f
|
Whitespace cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53298 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:20:27 +00:00 |
|
Anton Korobeynikov
|
6e405f3f77
|
Move flag decoding stuff into special hook
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53297 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:20:07 +00:00 |
|
Anton Korobeynikov
|
29b03f7375
|
Properly handle linkonce stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53296 91177308-0d34-0410-b5e6-96231b3b80d8
|
2008-07-09 13:19:38 +00:00 |
|