| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
functions in this file.
llvm-svn: 172927
|
| |
|
|
|
|
|
| |
We weren't encoding boolean constants correctly due to modeling boolean as a
signed type & then sign extending an i1 up to a byte & getting 255.
llvm-svn: 172926
|
| |
|
|
|
|
|
|
| |
through a BitstreamCursor that produce it: advance() and
advanceSkippingSubblocks(), representing the two most common ways clients
want to walk through bitcode.
llvm-svn: 172919
|
| |
|
|
|
|
|
| |
has past the point of making sense. Lets tidy things up: first step, moving
a ton of big functions out of line.
llvm-svn: 172904
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This separates the check for "too few elements to run the vector loop" from the
"memory overlap" check, giving a lot nicer code and allowing to skip the memory
checks when we're not going to execute the vector code anyways. We still leave
the decision of whether to emit the memory checks as branches or setccs, but it
seems to be doing a good job. If ugly code pops up we may want to emit them as
separate blocks too. Small speedup on MultiSource/Benchmarks/MallocBench/espresso.
Most of this is legwork to allow multiple bypass blocks while updating PHIs,
dominators and loop info.
llvm-svn: 172902
|
| |
|
|
| |
llvm-svn: 172894
|
| |
|
|
|
|
| |
be for legal types. Keeps compiler from generating unneeded checks and handling for extended types.
llvm-svn: 172893
|
| |
|
|
|
|
| |
includes.
llvm-svn: 172891
|
| |
|
|
|
|
|
|
|
|
|
| |
but I cannot reproduce the problem and have scrubed my sources and
even tested with llvm-lit -v --vg.
Formatting fixes. Mostly long lines and
blank spaces at end of lines.
Contributer: Jack Carter
llvm-svn: 172882
|
| |
|
|
| |
llvm-svn: 172877
|
| |
|
|
|
|
| |
vinsertf128) is faster than using a single vmovups instruction.
llvm-svn: 172868
|
| |
|
|
| |
llvm-svn: 172866
|
| |
|
|
| |
llvm-svn: 172864
|
| |
|
|
| |
llvm-svn: 172863
|
| |
|
|
| |
llvm-svn: 172857
|
| |
|
|
| |
llvm-svn: 172854
|
| |
|
|
|
|
|
| |
Further encapsulation of the Attribute object. Don't allow direct access to the
Attribute object as an aggregate.
llvm-svn: 172853
|
| |
|
|
|
|
| |
the Attribute query methods.
llvm-svn: 172852
|
| |
|
|
|
|
| |
This is duplicated in a couple places in the codebase. Adopt this in APFloat.
llvm-svn: 172851
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but I cannot reproduce the problem and have scrubed my sources and
even tested with llvm-lit -v --vg.
Support for Mips register information sections.
Mips ELF object files have a section that is dedicated
to register use info. Some of this information such as
the assumed Global Pointer value is used by the linker
in relocation resolution.
The register info file is .reginfo in o32 and .MIPS.options
in 64 and n32 abi files.
This patch contains the changes needed to create the sections,
but leaves the actual register accounting for a future patch.
Contributer: Jack Carter
llvm-svn: 172847
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some instructions like memory reads/writes are executed
asynchronously, so we need to insert S_WAITCNT instructions
to block before accessing their results. Previously we have
just inserted S_WAITCNT instructions after each async
instruction, this patch fixes this and adds a prober
insertion pass.
Patch by: Christian König
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Christian König <deathsimple@vodafone.de>
llvm-svn: 172846
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We shouldn't insert KILL optimization if we don't have a
kill instruction at all.
Patch by: Christian König
Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Christian König <deathsimple@vodafone.de>
llvm-svn: 172845
|
| |
|
|
|
|
|
|
| |
Because the Attribute class is going to stop representing a collection of
attributes, limit the use of it as an aggregate in favor of using AttributeSet.
This replaces some of the uses for querying the function attributes.
llvm-svn: 172844
|
| |
|
|
|
|
|
|
|
|
|
| |
but I cannot reproduce the problem and have scrubed my sources and
even tested with llvm-lit -v --vg.
Removal of redundant code and formatting fixes.
Contributers: Jack Carter/Vladimir Medic
llvm-svn: 172842
|
| |
|
|
| |
llvm-svn: 172839
|
| |
|
|
|
|
| |
dependency again.
llvm-svn: 172838
|
| |
|
|
|
|
| |
- Also, fixup syntax errors in LangRef and missing newline in the MCAsmStreamer.
llvm-svn: 172837
|
| |
|
|
| |
llvm-svn: 172824
|
| |
|
|
| |
llvm-svn: 172813
|
| |
|
|
| |
llvm-svn: 172806
|
| |
|
|
|
|
| |
immediate handling. Also use MVT since this only called on legal types during pattern matching.
llvm-svn: 172797
|
| |
|
|
| |
llvm-svn: 172795
|
| |
|
|
| |
llvm-svn: 172793
|
| |
|
|
|
|
| |
== 128/256.
llvm-svn: 172792
|
| |
|
|
|
|
| |
with other code related to shuffles and easier to implement in compiled code.
llvm-svn: 172788
|
| |
|
|
| |
llvm-svn: 172784
|
| |
|
|
| |
llvm-svn: 172782
|
| |
|
|
| |
llvm-svn: 172779
|
| |
|
|
| |
llvm-svn: 172778
|
| |
|
|
| |
llvm-svn: 172777
|
| |
|
|
| |
llvm-svn: 172776
|
| |
|
|
|
|
| |
'SIZE' and 'LENGTH' operators.
llvm-svn: 172773
|
| |
|
|
| |
llvm-svn: 172759
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
self-hosted LTO build bots.
Okay, here's how to reproduce the problem:
1) Build a Release (or Release+Asserts) version of clang in the normal way.
2) Using the clang & clang++ binaries from (1), build a Release (or
Release+Asserts) version of the same sources, but this time enable LTO ---
specify the `-flto' flag on the command line.
3) Run the ARC migrator tests:
$ arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c++ ./src/tools/clang/test/ARCMT/cxx-rewrite.mm
You'll see that the output isn't correct (the whitespace is off).
The mis-compile is in the function `RewriteBuffer::RemoveText' in the
clang/lib/Rewrite/Core/Rewriter.cpp file. When that function and RewriteRope.cpp
are compiled with LTO and the `arcmt-test' executable is regenerated, you'll see
the error. When those files are not LTO'ed, then the output of the `arcmt-test'
is fine.
It is *really* hard to get a testcase out of this. I'll file a PR with what I
have currently.
--- Reverse-merging r172363 into '.':
U include/llvm/Analysis/MemoryBuiltins.h
U lib/Analysis/MemoryBuiltins.cpp
--- Reverse-merging r171325 into '.':
U test/Transforms/InstCombine/objsize.ll
G include/llvm/Analysis/MemoryBuiltins.h
G lib/Analysis/MemoryBuiltins.cpp
llvm-svn: 172756
|
| |
|
|
|
|
|
|
| |
- This code is dead, and the "right" way to get this support is to use the
platform-specific linker-integrated LTO mechanisms, or the forthcoming LLVM
linker.
llvm-svn: 172749
|
| |
|
|
|
|
|
| |
calling convention. 128-bit integers are now properly returned
in GPR3 and GPR4 on PowerPC.
llvm-svn: 172745
|
| |
|
|
|
|
| |
Part of rdar://12576868
llvm-svn: 172743
|
| |
|
|
|
|
| |
This patch fixes bug 14902 - http://llvm.org/bugs/show_bug.cgi?id=14902
llvm-svn: 172737
|
| |
|
|
| |
llvm-svn: 172736
|
| |
|
|
|
|
| |
``Visited'' Debug message to use it.
llvm-svn: 172735
|