Craig Topper
36f29122ef
Move else onto line with preceding closing brace.
...
llvm-svn: 168294
2012-11-19 00:11:50 +00:00
Duncan Sands
79cf530d56
Remove the last bit of constant folding from LinearizeExprTree (most of it was
...
removed in commit 168035, but I missed this bit).
llvm-svn: 168292
2012-11-18 20:15:36 +00:00
Duncan Sands
20bd7fa0f7
Fix PR14060, an infinite loop in reassociate. The problem was that one of the
...
operands of the expression being written was wrongly thought to be reusable as
an inner node of the expression resulting in it turning up as both an inner node
*and* a leaf, creating a cycle in the def-use graph. This would have caused the
verifier to blow up if things had gotten that far, however it managed to provoke
an infinite loop first.
llvm-svn: 168291
2012-11-18 19:27:01 +00:00
Dmitri Gribenko
431aa1227c
SystemLibrary.rst: remove reference to a bug that was closed long time ago
...
llvm-svn: 168290
2012-11-18 18:42:18 +00:00
Dmitri Gribenko
8ed8188590
Documentation: convert SystemLibrary documentation to reST
...
llvm-svn: 168289
2012-11-18 18:40:21 +00:00
Dmitri Gribenko
e6abe2f008
Documentation: remove a copy of the FileCheck man page from TestingGuide
...
llvm-svn: 168288
2012-11-18 18:28:14 +00:00
Dmitri Gribenko
42c31d26ff
Documentation: use a :doc: link instead of an absolute http:// link.
...
llvm-svn: 168286
2012-11-18 10:35:18 +00:00
Dmitri Gribenko
162c524ce7
Documentation: fix broken link.
...
llvm-svn: 168285
2012-11-18 10:32:14 +00:00
Andrew Trick
e615ad0063
Use a full triple for a PPC test case for asm syntax.
...
llvm-svn: 168283
2012-11-18 06:21:03 +00:00
NAKAMURA Takumi
34280412bb
MCJIT: [cygming] Give noop to __main also in RecordingMemoryManger. It is emitted in @main().
...
XFAIL(s) can be removed.
llvm-svn: 168282
2012-11-18 06:16:32 +00:00
NAKAMURA Takumi
fb3690ea58
test/ExecutionEngine/MCJIT/stubs-remote.ll: Prune DOSish CRLF.
...
llvm-svn: 168281
2012-11-18 06:16:21 +00:00
Nick Lewycky
3d35b45f8e
Don't try to calculate the alignment of an unsigned type. Fixes PR14371!
...
llvm-svn: 168280
2012-11-18 05:39:39 +00:00
Sean Silva
7333a848c8
docs: CodingStandards should follow the coding standards.
...
Some variables in code examples were not LikeThis.
llvm-svn: 168275
2012-11-17 23:25:33 +00:00
Benjamin Kramer
cd9f22edca
Bump sphinx config to 3.3.
...
llvm-svn: 168273
2012-11-17 22:12:59 +00:00
Benjamin Kramer
6900a4ad8c
Kick off 3.3 cycle for LLVM trunk.
...
llvm-svn: 168272
2012-11-17 22:01:08 +00:00
Sean Silva
0fc33ec10f
docs: Add link to HowToSetUpLLVMStyleRTTI
...
llvm-svn: 168271
2012-11-17 21:01:44 +00:00
James Molloy
2794fcd611
Typo
...
llvm-svn: 168263
2012-11-17 17:59:44 +00:00
James Molloy
ce54568660
Add a new function to ConstantExpr - getAsInstruction. This returns its Instruction* corollary, which may be useful if a user
...
wishes to transform a ConstantExpr so that one of its operands is no longer constant.
llvm-svn: 168262
2012-11-17 17:56:30 +00:00
Benjamin Kramer
96e1e39642
Plug a memory leak in the GCOV profiling emitter, which never released the edge table memory.
...
llvm-svn: 168259
2012-11-17 13:49:37 +00:00
Pawel Wodnicki
15443ee70f
really fix permissions
...
llvm-svn: 168256
2012-11-17 06:38:44 +00:00
Pawel Wodnicki
0e268abde9
fix permissions
...
llvm-svn: 168255
2012-11-17 06:35:19 +00:00
Pawel Wodnicki
6da7944e7d
adding whose code is it anywa tools
...
llvm-svn: 168254
2012-11-17 06:24:37 +00:00
Joe Abbey
44d3bf2b2e
Removing utf-8 smart quote and trailing whitespace
...
llvm-svn: 168253
2012-11-17 05:13:16 +00:00
Joe Abbey
035fc9aa9f
Suppressing the 'direct base ‘{anonymous}::S1’ inaccessible in ‘{anonymous}::D9’
...
due to ambiguity' warning.
llvm-svn: 168251
2012-11-17 04:54:22 +00:00
Andrew Trick
bb1b351860
Silence the buildbots for this test while I figure out the triple
...
llvm-svn: 168249
2012-11-17 03:39:26 +00:00
Andrew Trick
28c000b234
Broaden isSchedulingBoundary to check aliases of SP.
...
On PPC the stack pointer is X1, but ADJCALLSTACK writes R1.
Fixes PR14315: Register regmask dependency problem with misched.
llvm-svn: 168248
2012-11-17 03:35:11 +00:00
Hal Finkel
a6f86fc6fa
Phi speculation improvement for BasicAA
...
This is a partial solution to PR14351. It removes some of the special
significance of the first incoming phi value in the phi aliasing checking logic
in BasicAA. In the context of a loop, the old logic assumes that the first
incoming value is the interesting one (meaning that it is the one that comes
from outside the loop), but this is often not the case. With this change, we
now test first the incoming value that comes from a block other than the parent
of the phi being tested.
llvm-svn: 168245
2012-11-17 02:33:15 +00:00
Richard Smith
6fd8c8d98f
Per agreement with Doug, take ownership of Clang's libSema.
...
llvm-svn: 168244
2012-11-17 02:26:54 +00:00
Eli Friedman
30834940ec
Mark FP_EXTEND form v2f32 to v2f64 as "expand" for ARM NEON. Patch by Pete Couperus.
...
llvm-svn: 168240
2012-11-17 01:52:46 +00:00
Chad Rosier
8983158e9d
[fast-isel] Add the -verify-machineinstrs to these test cases. The remaining
...
test cases require fixes to fast-isel before the verifier can be enabled.
Part of rdar://12594152
llvm-svn: 168233
2012-11-17 00:42:06 +00:00
Nadav Rotem
c3c07e62e8
LoopVectorizer: Add initial support for pointer induction variables (for example: *dst++ = *src++).
...
At the moment we still require to have an integer induction variable (for example: i++).
llvm-svn: 168231
2012-11-17 00:27:03 +00:00
Akira Hatanaka
ef83919b4c
Initial implementation of MipsTargetLowering::isLegalAddressingMode.
...
llvm-svn: 168230
2012-11-17 00:25:41 +00:00
Weiming Zhao
9578222e0d
Rename methods like PairSRegs() to createSRegpairNode() to meet our coding
...
style requirement.
llvm-svn: 168229
2012-11-17 00:23:35 +00:00
Evan Cheng
f1b6177b62
Teach SROA rewriteVectorizedStoreInst to handle cases when the loaded value is narrower than the stored value. rdar://12713675
...
llvm-svn: 168227
2012-11-17 00:05:06 +00:00
Andrew Kaylor
e643a80fba
Marking remote mcjit tests as XFAIL for cygwin (hopefully only temporarily).
...
llvm-svn: 168226
2012-11-17 00:02:50 +00:00
Andrew Kaylor
04ee2ef32b
Claim ownership of MCJIT
...
llvm-svn: 168225
2012-11-16 23:56:48 +00:00
Eric Christopher
59c53c2e08
Add some basic support for the fission addr forms to DebugInfo.
...
llvm-svn: 168223
2012-11-16 23:44:11 +00:00
Andrew Kaylor
e05a5be204
Marking remote mcjit tests as XFAIL for mingw32 (hopefully only temporarily).
...
llvm-svn: 168221
2012-11-16 23:38:16 +00:00
Eric Christopher
cc8853ba15
Add constant definitions for fission dwarf attributes, forms, etc.
...
llvm-svn: 168218
2012-11-16 23:04:31 +00:00
Chad Rosier
3eae17e74d
Claim the driver.
...
llvm-svn: 168215
2012-11-16 22:49:27 +00:00
Benjamin Kramer
41c4905521
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
645fb305d1
Marking remote mcjit tests as XFAIL for ARM (hopefully only temporarily).
...
llvm-svn: 168210
2012-11-16 22:21:04 +00:00
Jakub Staszak
2b7259788f
Remove trailing spaces.
...
llvm-svn: 168208
2012-11-16 22:07:00 +00:00
Weiming Zhao
8f56f88661
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
9d0a1ae946
Use array_pod_sort instead of std::sort.
...
llvm-svn: 168203
2012-11-16 21:33:38 +00:00
Andrew Trick
6e8ed789aa
typo
...
llvm-svn: 168202
2012-11-16 21:33:35 +00:00
Richard Osborne
75c894388c
Add myself as owner of XCore Backend.
...
llvm-svn: 168201
2012-11-16 21:26:36 +00:00
Anton Korobeynikov
7d94f3bd7f
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
9a43772783
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
2c5ac70dd9
[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
898a0a02bb
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
d7d8c09b93
Make this easier to understand, as suggested by Chandler.
...
llvm-svn: 168196
2012-11-16 20:53:08 +00:00
Hemant Kulkarni
d680379f0b
Added program header emission
...
llvm-svn: 168195
2012-11-16 20:51:32 +00:00
Craig Topper
ed756c5fc8
Remove conditions from 'else if' that were guaranteed by preceding 'if'.
...
llvm-svn: 168191
2012-11-16 20:01:39 +00:00
Will Schmidt
9544fc7dd8
ReleaseNotes.html updates reflecting PPC64 Elf Linux efforts and progress.
...
llvm-svn: 168189
2012-11-16 19:46:35 +00:00
Duncan Sands
c41076c07c
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
cceda898b8
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
3669de4c97
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
54129458e8
move irrelevant attribution.
...
llvm-svn: 168182
2012-11-16 18:58:23 +00:00
Duncan Sands
1d3acddf0e
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
98f57cacae
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
c78249356d
Finally add myself to the credits.
...
llvm-svn: 168178
2012-11-16 18:44:36 +00:00
Hans Wennborg
7b8af0ea05
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
1c6dd74d6f
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
0ff86ac8a6
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
d71b4e4568
Add the Erlang/HiPE calling convention, patch by Yiannis Tsiouris.
...
llvm-svn: 168166
2012-11-16 12:36:39 +00:00
Chandler Carruth
38f0bb5161
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
20cd2b402f
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
1594fbd07e
Add MCJIT test case for running global constructors.
...
llvm-svn: 168149
2012-11-16 11:17:00 +00:00
Amara Emerson
c958bf30b9
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
18aa124075
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
a1694c1aaf
[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
ae89426f07
Factor some common code to reduce compile size.
...
llvm-svn: 168143
2012-11-16 07:48:23 +00:00
Nadav Rotem
0565b5a279
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
70601ba6f9
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
26b9580d87
Fix typo in a comment.
...
llvm-svn: 168138
2012-11-16 06:10:48 +00:00
Akira Hatanaka
907f5f0ca7
[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
234ba6f2cd
Remove trailing whitespace
...
llvm-svn: 168121
2012-11-16 00:58:59 +00:00
Andrew Kaylor
a342cb9613
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
dcc7949065
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
0608cd8bd4
Added myself as owner of LLVM Buildbot.
...
llvm-svn: 168111
2012-11-15 23:16:47 +00:00
Eric Christopher
aa6df454df
Clarify.
...
llvm-svn: 168110
2012-11-15 22:57:22 +00:00
Owen Anderson
aebfacb008
Claim ownership of everyone's favorite part of the backend.
...
llvm-svn: 168109
2012-11-15 22:56:42 +00:00
Eli Friedman
e6385e61b5
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
4bb9c6c3b1
More ownership, no one likes these things anyways.
...
llvm-svn: 168104
2012-11-15 22:41:56 +00:00
Michael Ilseman
26ee2b8477
Remove trailing whitespace
...
llvm-svn: 168103
2012-11-15 22:34:00 +00:00
Nadav Rotem
7a697bc8dc
Update the code ownership.
...
llvm-svn: 168102
2012-11-15 22:26:51 +00:00
Jyotsna Verma
095d4fe02b
Fix typo.
...
llvm-svn: 168091
2012-11-15 21:21:01 +00:00
Akira Hatanaka
3bc1beb696
[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
8fe56e00ed
Add description of how to build docs
...
llvm-svn: 168088
2012-11-15 21:15:08 +00:00
Adhemerval Zanella
bdface5699
PowerPC: Lowering floor intrinsic for Altivec
...
This patch lowers the llvm.floor, llvm.ceil, llvm.trunc, and
llvm.nearbyint to Altivec instruction when using 4 single-precision
float vectors.
llvm-svn: 168086
2012-11-15 20:56:03 +00:00
Daniel Dunbar
61d59f2959
PathV2: Fix a possible infinite loop.
...
- The code could infinite loop trying to create unique files, if the directory
containing the unique file exists, but open() calls on non-existent files in
the path return ENOENT. This is true on the /dev/fd filesystem, for example.
- Will add a clang side test case for this.
llvm-svn: 168081
2012-11-15 20:24:52 +00:00
Akira Hatanaka
5fdeac3268
Add assertions in MipsLongBranch which check the size of basic blocks.
...
llvm-svn: 168078
2012-11-15 20:05:11 +00:00
Jakub Staszak
f34e4fa7a6
Return 0 instead of false.
...
llvm-svn: 168076
2012-11-15 19:40:29 +00:00
Ulrich Weigand
dcee8ce8ed
Use std::stable_sort instead of std::sort when sorting stack slots
...
to guarantee deterministic code generation.
llvm-svn: 168074
2012-11-15 19:33:30 +00:00
Evan Cheng
4921017afd
Clarify my code ownership
...
llvm-svn: 168073
2012-11-15 19:31:48 +00:00
Sergei Larin
973a44bf7d
Add myself as owner of VLIW Instruction Scheduling and Packetization.
...
llvm-svn: 168072
2012-11-15 19:24:19 +00:00
Anton Korobeynikov
38990beed8
Add ARM EABI to my list of responsibilities.
...
Update the email address (old works too, but less reliable) while there
llvm-svn: 168065
2012-11-15 19:10:23 +00:00
Jakub Staszak
11d1aee6a2
Simplify code.
...
llvm-svn: 168064
2012-11-15 19:05:23 +00:00
Andrew Trick
7656f6dbf7
misspell
...
llvm-svn: 168058
2012-11-15 18:40:31 +00:00
Andrew Trick
90f5029118
whitespace
...
llvm-svn: 168057
2012-11-15 18:40:29 +00:00
Chad Rosier
2463f67c49
[reg scavenger] Fix the isUsed/isAliasUsed functions so as to not report a false
...
positive.
In this particular case, R6 was being spilled by the register scavenger when it
was in fact dead. The isUsed function reported R6 as used because the R6_R7
alias was reserved (due to the fact that we've reserved R7 as the FP). The
solution is to only check if the original register (i.e., R6) isReserved and
not the aliases. The aliases are only checked to make sure they're available.
The test case is derived from one of the nightly tester benchmarks and is rather
intractable and difficult to reproduce, so I haven't included it.
rdar://12592448
llvm-svn: 168054
2012-11-15 18:13:20 +00:00
Sergei Larin
e822148c80
Fix indeterminism in MI scheduler DAG construction.
...
Similarly to several recent fixes throughout the code replace std::map use with the MapVector.
Add find() method to the MapVector.
llvm-svn: 168051
2012-11-15 17:45:50 +00:00
Dmitri Gribenko
0011bbf985
Use empty parens for empty function parameter list instead of '(void)'.
...
llvm-svn: 168049
2012-11-15 16:51:49 +00:00
Dmitri Gribenko
26491446b3
FileCheck: remove useless 'continue' at the end of a 'while(){}' loop.
...
llvm-svn: 168048
2012-11-15 16:50:59 +00:00
Duncan Sands
5669218d7a
Do not handle void types in DataLayout. Patch by Patrick Hägglund.
...
llvm-svn: 168042
2012-11-15 14:45:30 +00:00
Hans Wennborg
709e015cf1
Make GlobalOpt be conservative with TLS variables (PR14309)
...
For global variables that get the same value stored into them
everywhere, GlobalOpt will replace them with a constant. The problem is
that a thread-local GlobalVariable looks like one value (the address of
the TLS var), but is different between threads.
This patch introduces Constant::isThreadDependent() which returns true
for thread-local variables and constants which depend on them (e.g. a GEP
into a thread-local array), and teaches GlobalOpt not to track such
values.
llvm-svn: 168037
2012-11-15 11:40:00 +00:00
Guy Benyei
a4d31a33b5
Add support for SPIR64 target - the 64bit counterpart of SPIR.
...
The new OpenCL SPIR extension spec will define separate SPIR for 32 and 64 bit architectures.
llvm-svn: 168036
2012-11-15 10:35:47 +00:00
Duncan Sands
ac852c742f
Fix a crash observed by Shuxin Yang. The issue here is that LinearizeExprTree,
...
the utility for extracting a chain of operations from the IR, thought that it
might as well combine any constants it came across (rather than just returning
them along with everything else). On the other hand, the factorization code
would like to see the individual constants (this is quite reasonable: it is
much easier to pull a factor of 3 out of 2*3 than it is to pull it out of 6;
you may think 6/3 isn't so hard, but due to overflow it's not as easy to undo
multiplications of constants as it may at first appear). This patch therefore
makes LinearizeExprTree stupider: it now leaves optimizing to the optimization
part of reassociate, and sticks to just analysing the IR.
llvm-svn: 168035
2012-11-15 09:58:38 +00:00
Craig Topper
323f614cd1
Revert changing FNEG of v4f32 to Expand. It's legal.
...
llvm-svn: 168030
2012-11-15 08:09:46 +00:00
Craig Topper
bb7060584c
Make FNEG and FABS of v4f32 Expand.
...
llvm-svn: 168029
2012-11-15 08:06:12 +00:00
Craig Topper
c8a2adf1ca
Make a bunch of floating point operations on vectors Expand so that instruction selection won't fail.
...
llvm-svn: 168028
2012-11-15 08:02:19 +00:00
Craig Topper
22a6503df6
Add missing documentation for llvm.exp2, llvm.log10, and llvm.log2.
...
llvm-svn: 168026
2012-11-15 07:01:39 +00:00
Craig Topper
61d045781a
Add llvm.ceil, llvm.trunc, llvm.rint, llvm.nearbyint intrinsics.
...
llvm-svn: 168025
2012-11-15 06:51:10 +00:00
Andrew Trick
449eb3f3be
Fix an obvious merge bug in -join-globalcopies (disabled).
...
Jakub Staszak spotted this in review. I don't notice these things
until I manually rerun benchmarks. But reducing unit tests is a very
high priority.
llvm-svn: 168021
2012-11-15 02:32:22 +00:00
Eric Christopher
456c08d69d
Add some release notes that say we removed the CellSPU port.
...
llvm-svn: 168014
2012-11-15 00:59:52 +00:00
NAKAMURA Takumi
00d2a107fb
InstCombineAndOrXor.cpp: Escape bracket in doxygen description. [-Wdocumentation]
...
llvm-svn: 168013
2012-11-15 00:35:50 +00:00
Jakub Staszak
ab83a91709
Use LLVM_DELETED_FUNCTION.
...
llvm-svn: 168009
2012-11-15 00:25:36 +00:00
Owen Anderson
1aa2751260
Add doInitialization and doFinalization methods to ModulePass's, to allow them to be re-initialized and reused on multiple Module's.
...
Patch by Pedro Artigas.
llvm-svn: 168008
2012-11-15 00:14:15 +00:00
Jakub Staszak
f33e0f95b0
Remove unneeded #includes.
...
llvm-svn: 168006
2012-11-14 23:58:57 +00:00
NAKAMURA Takumi
5bbe0e18e9
NVPTXISelLowering.cpp: Fix warnings. [-Wunused-variable]
...
llvm-svn: 168001
2012-11-14 23:46:15 +00:00
Bill Schmidt
451499f02d
This patch is in preparation for adding medium code model support to the
...
PPC64 target. The five tests modified herein test code generation that is
sensitive to the code model selected. So I've added -code-model=small to
the RUN commands for each.
Since small code model is the default, this has no effect for now; but this
prepares us for eventually changing the default to medium code model for PPC64.
Test changes verified with small and medium code model as default on
powerpc64-unknown-linux-gnu. All tests continue to pass.
llvm-svn: 167999
2012-11-14 23:23:27 +00:00
Sean Silva
905a2d3d17
docs: Improve typographical correctness.
...
llvm-svn: 167998
2012-11-14 23:15:51 +00:00
Sean Silva
e0db519ae9
docs: Sphinxify TestSuiteMakefileGuide
...
Some small related fixups to TestingGuide too.
llvm-svn: 167996
2012-11-14 23:11:10 +00:00
Jakub Staszak
ab0139cb90
Use reserve() to avoid vector reallocation.
...
llvm-svn: 167991
2012-11-14 22:42:17 +00:00
Jakub Staszak
62fc067518
Make sure to not get AVX code on an AVX-capable host. Revealed in r167967.
...
llvm-svn: 167989
2012-11-14 22:24:01 +00:00
NAKAMURA Takumi
a54c14a922
test/CodeGen/Hexagon/postinc-load.ll: Suppress it for now. It triggered the failure on i686 hosts.
...
llvm-svn: 167988
2012-11-14 22:22:37 +00:00
Eric Christopher
e373e82a5b
Few more small CellSPU removals.
...
llvm-svn: 167987
2012-11-14 22:13:56 +00:00
Eric Christopher
aa3d19e782
Fix CMake build.
...
llvm-svn: 167986
2012-11-14 22:10:47 +00:00
Eric Christopher
950d8703b1
Remove the CellSPU port.
...
Approved by Chris Lattner.
llvm-svn: 167984
2012-11-14 22:09:20 +00:00
Sean Silva
a89edf6a61
docs: Sphinxify TestingGuide
...
llvm-svn: 167979
2012-11-14 21:09:30 +00:00
Alexander Kornienko
92987fb311
Support for [[ @LINE ]], [[@LINE+<offset>]], [[@LINE-<offset>]] expressions in
...
FileCheck.
llvm-svn: 167978
2012-11-14 21:07:37 +00:00
Jakub Staszak
d17df318c0
Fix invalid asserts, use llvm_unreachable instead.
...
llvm-svn: 167976
2012-11-14 21:03:40 +00:00
NAKAMURA Takumi
902b137133
llvm/test/CodeGen/X86/memset.ll: FileCheck-ize, and add another case on +avx.
...
llvm-svn: 167975
2012-11-14 21:01:40 +00:00
Jyotsna Verma
6649360860
Added multiclass for post-increment load instructions.
...
llvm-svn: 167974
2012-11-14 20:38:48 +00:00
Benjamin Kramer
d71fb86aed
Force CPU in test so we don't accidentally get AVX code on an AVX-capable host.
...
llvm-svn: 167973
2012-11-14 20:31:42 +00:00
Jakub Staszak
542db4a0bc
canJoinPhys method doesn't modify CoalescerPair. Make it const.
...
llvm-svn: 167972
2012-11-14 20:31:04 +00:00
Alexander Kornienko
317adfc8b7
Added %(line), %(line+<number>), %(line-<number>) substitutions to lit
...
llvm-svn: 167971
2012-11-14 20:26:19 +00:00
Chad Rosier
e18e4add6c
Remove dead code.
...
llvm-svn: 167970
2012-11-14 20:25:37 +00:00
Jakub Staszak
2d92d8af25
Fix comment.
...
llvm-svn: 167969
2012-11-14 20:21:29 +00:00
Jakub Staszak
0c4468b5e6
Remove DOS line endings.
...
llvm-svn: 167968
2012-11-14 20:18:34 +00:00
Benjamin Kramer
6293429b51
X86: Enable SSE memory intrinsics even when stack alignment is less than 16 bytes.
...
The stack realignment code was fixed to work when there is stack realignment and
a dynamic alloca is present so this shouldn't cause correctness issues anymore.
Note that this also enables generation of AVX instructions for memset
under the assumptions:
- Unaligned loads/stores are always fast on CPUs supporting AVX
- AVX is not slower than SSE
We may need some tweaked heuristics if one of those assumptions turns out not to
be true.
Effectively reverts r58317. Part of PR2962.
llvm-svn: 167967
2012-11-14 20:08:40 +00:00
Hal Finkel
e9740a4692
Replace std::vector -> SmallVector in BBVectorize
...
For now, this uses 8 on-stack elements. I'll need to do some profiling
to see if this is the best number.
Pointed out by Jakob in post-commit review.
llvm-svn: 167966
2012-11-14 19:53:27 +00:00
Nadav Rotem
c17537e8f6
Update my email address and update the code ownership
...
llvm-svn: 167965
2012-11-14 19:47:48 +00:00
Dmitri Gribenko
a72e9f0140
FileCheck.rst: change formatting of code-like constructs to use a monospaced
...
font. These were formatted in bold, but that's not correct.
llvm-svn: 167964
2012-11-14 19:42:32 +00:00
Nadav Rotem
9f567c62f2
The code pattern "imm0_255_neg" is used for checking if an immediate value is a small negative number.
...
This patch changes the definition of negative from -0..-255 to -1..-255. I am changing this because of
a bug that we had in some of the patterns that assumed that "subs" of zero does not set the carry flag.
rdar://12028498
llvm-svn: 167963
2012-11-14 19:39:15 +00:00
Justin Holewinski
6854008737
Add myself as code owner for NVPTX target
...
llvm-svn: 167962
2012-11-14 19:36:27 +00:00
Sean Silva
6468f0a9ef
docs: nuke GCCFEBuildInstrs.html
...
llvm-svn: 167961
2012-11-14 19:34:48 +00:00
Justin Holewinski
c6462aacd5
[NVPTX] Implement custom lowering of loads/stores for i1
...
Loads from i1 become loads from i8 followed by trunc
Stores to i1 become zext to i8 followed by store to i8
Fixes PR13291
llvm-svn: 167948
2012-11-14 19:19:16 +00:00
Anton Korobeynikov
a506f5b0fd
Fix comment
...
llvm-svn: 167947
2012-11-14 19:17:44 +00:00