Benjamin Kramer
a95ac74327
Remove default public copy ctors.
...
They are just useless and prevent SmallVector from picking an optimized codepath
for memcpyable elements.
llvm-svn: 168211
2012-11-16 22:22:20 +00:00
Andrew Kaylor
47462d3fe5
Marking remote mcjit tests as XFAIL for ARM (hopefully only temporarily).
...
llvm-svn: 168210
2012-11-16 22:21:04 +00:00
Jakub Staszak
b67f9f031d
Remove trailing spaces.
...
llvm-svn: 168208
2012-11-16 22:07:00 +00:00
Weiming Zhao
85dce59506
Remove hard coded registers in ARM ldrexd and strexd instructions
...
This patch replaces the hard coded GPR pair [R0, R1] of
Intrinsic:arm_ldrexd and [R2, R3] of Intrinsic:arm_strexd with
even/odd GPRPair reg class.
Similar to the lowering of atomic_64 operation.
llvm-svn: 168207
2012-11-16 21:55:34 +00:00
Andrew Trick
a66c9f2861
Use array_pod_sort instead of std::sort.
...
llvm-svn: 168203
2012-11-16 21:33:38 +00:00
Andrew Trick
7d2e755625
typo
...
llvm-svn: 168202
2012-11-16 21:33:35 +00:00
Richard Osborne
75cb6080e1
Add myself as owner of XCore Backend.
...
llvm-svn: 168201
2012-11-16 21:26:36 +00:00
Anton Korobeynikov
3cd85d754d
Make sure FABS on v2f32 and v4f32 is legal on ARM NEON
...
This fixes PR14359
llvm-svn: 168200
2012-11-16 21:15:20 +00:00
Richard Osborne
c8f73df738
Fix handling of aliases to functions.
...
An alias to a function should use pc relative addressing.
llvm-svn: 168199
2012-11-16 21:12:38 +00:00
Justin Holewinski
a794462d5b
[NVPTX] Order global variables in def-use order before emiting them in the final assembly
...
llvm-svn: 168198
2012-11-16 21:03:51 +00:00
Justin Holewinski
cef6246d31
Preserve address space of forward-referenced global variables in the LL parser
...
Before, the parser would assert on the following code:
@a2 = global i8 addrspace(1)* @a
@a = addrspace(1) global i8 0
because the type of @a was "i8*" instead of "i8 addrspace(1)*" when parsing
the initializer for @a2.
llvm-svn: 168197
2012-11-16 21:03:47 +00:00
Duncan Sands
e52f0de8bb
Make this easier to understand, as suggested by Chandler.
...
llvm-svn: 168196
2012-11-16 20:53:08 +00:00
Hemant Kulkarni
4fbbfcc6a6
Added program header emission
...
llvm-svn: 168195
2012-11-16 20:51:32 +00:00
Craig Topper
2da127004b
Remove conditions from 'else if' that were guaranteed by preceding 'if'.
...
llvm-svn: 168191
2012-11-16 20:01:39 +00:00
Will Schmidt
b2053330dd
ReleaseNotes.html updates reflecting PPC64 Elf Linux efforts and progress.
...
llvm-svn: 168189
2012-11-16 19:46:35 +00:00
Duncan Sands
33a1bb1041
InstructionSimplify should be able to simplify A+B==B+A to 'true'
...
but wasn't due to the same logic bug that caused PR14361.
llvm-svn: 168186
2012-11-16 19:41:26 +00:00
Joe Abbey
1b6e700a16
Using const cast to alleviate a warning.
...
A PR is being filed to address some code issues here.
llvm-svn: 168185
2012-11-16 19:38:42 +00:00
Craig Topper
bf37f13f74
Factor out the final FADD that's common to multiple code paths in the visitLog* functions.
...
llvm-svn: 168183
2012-11-16 19:08:44 +00:00
Chris Lattner
751629a75b
move irrelevant attribution.
...
llvm-svn: 168182
2012-11-16 18:58:23 +00:00
Duncan Sands
86ca3afe2e
Fix PR14361: wrong simplification of A+B==B+A. You may think that the old logic
...
replaced by this patch is equivalent to the new logic, but you'd be wrong, and
that's exactly where the bug was. There's a similar bug in instsimplify which
manifests itself as instsimplify failing to simplify this, rather than doing it
wrong, see next commit.
llvm-svn: 168181
2012-11-16 18:55:49 +00:00
Andrew Kaylor
3b722976b8
Adding new tests to test lli's pseudo-remote feature (-remote-mcjit).
...
llvm-svn: 168180
2012-11-16 18:51:59 +00:00
Craig Topper
07dde4e3a2
Finally add myself to the credits.
...
llvm-svn: 168178
2012-11-16 18:44:36 +00:00
Hans Wennborg
aecbcb33c6
SimplifyCFG: Don't assume non-null ScalarTargetTransformInfo.
...
Patch by Pekka Jääskeläinen!
llvm-svn: 168176
2012-11-16 18:22:08 +00:00
Benjamin Kramer
9cc1f23013
Work around a layering violation from Target to CodeGen.
...
Technically this is still a layering violation but it's header-only which makes
it less harmful. No functionality change.
llvm-svn: 168173
2012-11-16 17:32:33 +00:00
NAKAMURA Takumi
6c26c8f4b6
llvm/test/CodeGen/X86/hipe-cc*.ll: Add explicit -mcpu, or they don't expect to pass on Atom.
...
llvm-svn: 168171
2012-11-16 16:07:37 +00:00
Duncan Sands
98b6a4f4b5
Add the Erlang/HiPE calling convention, patch by Yiannis Tsiouris.
...
llvm-svn: 168166
2012-11-16 12:36:39 +00:00
Chandler Carruth
490fc1c71c
Update credits file regarding SROA work... Also include my other primary
...
email address for completeness.
llvm-svn: 168165
2012-11-16 11:45:08 +00:00
Chandler Carruth
117a4e4378
Add myself as the code owner for a bunch of stuff.
...
Notably, I'm reviewing this stuff already, and this makes it clear I'm
on the hook for it.
I'm relying on Eric Christopher and Michael Spencer to help with Support
when there are platform specific issues, but Chris wants a single point
of contact, and I'm happy with that.
llvm-svn: 168164
2012-11-16 11:43:01 +00:00
Amara Emerson
6ad9fb1a92
Add MCJIT test case for running global constructors.
...
llvm-svn: 168149
2012-11-16 11:17:00 +00:00
Amara Emerson
265971e784
Add R_ARM_TARGET1 relocation to MCJIT and ensure that the runtime dyld reads
...
all symbols during object loading, not just global ones.
This fixes JIT execution of code using llvm.global_ctors with internal
linkage constructors.
llvm-svn: 168148
2012-11-16 11:11:59 +00:00
Hans Wennborg
220b5e3636
Constant::IsThreadDependent(): Use dyn_cast<Constant> instead of cast
...
It turns out that the operands of a Constant are not always themselves
Constant. For example, one of the operands of BlockAddress is
BasicBlock, which is not a Constant.
This should fix the dragonegg-x86_64-linux-gcc-4.6-test build which
broke in r168037.
llvm-svn: 168147
2012-11-16 10:33:25 +00:00
Alexey Samsonov
3f02d70a5b
[DebugInfo] Generate address ranges for compile units even if .debug_aranges is present: it is often the case that .debug_aranges section contains ranges only for a small subset of compile units. Test cases will be added in separate commits.
...
llvm-svn: 168144
2012-11-16 08:36:25 +00:00
Craig Topper
bf104da5d6
Factor some common code to reduce compile size.
...
llvm-svn: 168143
2012-11-16 07:48:23 +00:00
Nadav Rotem
84e1ff3bfb
LoopVectorize: Division reductions generate incorrect code. Remove the part of the code that deals with divs.
...
Thanks to Paul Redmond for catching this while reviewing the code.
llvm-svn: 168142
2012-11-16 06:51:17 +00:00
Craig Topper
ad33f996a6
Use roundps/pd for llvm.ceil, llvm.trunc, llvm.rint, and llvm.nearbyint of vector types.
...
llvm-svn: 168141
2012-11-16 06:37:56 +00:00
Craig Topper
1e67a2eac6
Fix typo in a comment.
...
llvm-svn: 168138
2012-11-16 06:10:48 +00:00
Akira Hatanaka
ba0e266eb2
[mips] Fix delay slot filler so that instructions with register operand $1 are
...
allowed in branch delay slot.
llvm-svn: 168131
2012-11-16 02:39:34 +00:00
Michael Ilseman
77387a5943
Remove trailing whitespace
...
llvm-svn: 168121
2012-11-16 00:58:59 +00:00
Andrew Kaylor
bf5ce8a2b0
Interface changes to allow RuntimeDyld memory managers to set memory permissions after an object has been loaded.
...
llvm-svn: 168114
2012-11-15 23:50:01 +00:00
Eli Bendersky
b6e1193a2e
Add some tests for the FileCheck utility.
...
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121112/156007.html
llvm-svn: 168113
2012-11-15 23:42:51 +00:00
Galina Kistanova
316c64dd36
Added myself as owner of LLVM Buildbot.
...
llvm-svn: 168111
2012-11-15 23:16:47 +00:00
Eric Christopher
e91b0e12bf
Clarify.
...
llvm-svn: 168110
2012-11-15 22:57:22 +00:00
Owen Anderson
46916308cf
Claim ownership of everyone's favorite part of the backend.
...
llvm-svn: 168109
2012-11-15 22:56:42 +00:00
Eli Friedman
79932a2f77
Mark FP_ROUND for converting NEON v2f64 to v2f32 as expand. Add a missing
...
case to vector legalization so this actually works.
Patch by Pete Couperus. Fixes PR12540.
llvm-svn: 168107
2012-11-15 22:44:27 +00:00
Eric Christopher
dba6cd1e91
More ownership, no one likes these things anyways.
...
llvm-svn: 168104
2012-11-15 22:41:56 +00:00
Michael Ilseman
78572d24dd
Remove trailing whitespace
...
llvm-svn: 168103
2012-11-15 22:34:00 +00:00
Nadav Rotem
673aaf28ea
Update the code ownership.
...
llvm-svn: 168102
2012-11-15 22:26:51 +00:00
Jyotsna Verma
9376e8999d
Fix typo.
...
llvm-svn: 168091
2012-11-15 21:21:01 +00:00
Akira Hatanaka
ee3532f807
[mips] Add predicate HasFPIdx for floating-point indexed load instruction
...
support and use it in place of HasMips32r2Or64.
llvm-svn: 168089
2012-11-15 21:17:13 +00:00
Joel Jones
bbed73e7c4
Add description of how to build docs
...
llvm-svn: 168088
2012-11-15 21:15:08 +00:00