| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
single attribute in the future.
llvm-svn: 170502
|
|
|
|
| |
llvm-svn: 169798
|
|
|
|
|
|
|
|
|
|
| |
beyond array bounds.
No test case since I cannot reproduce an ICE with this bug. According
to Carlos -- the bug reporter -- a segfault occurs only when LLVM is
compiled with a specific version of GCC.
llvm-svn: 169783
|
|
|
|
|
|
| |
in the near future.
llvm-svn: 169651
|
|
|
|
|
|
|
| |
- Use SOURCES instead of Source. See Makefile.rules and MakefileGuide.html.
- Don't assume the current directory. $(wildcard *.cc) doesn't match anything on corresponding build directory.
llvm-svn: 169568
|
|
|
|
| |
llvm-svn: 169564
|
|
|
|
|
|
|
|
|
|
|
| |
1) don't delete gtest-all.cc (which is used to gather all gtest source
files in a single file)
2) make including LLVMSupport headers optional (on by default).
Sanitizer tools may want to use their own versions of googletest
compiled with specific flags, instead of the common googletest
library used for all other LLVM/Clang unittests.
llvm-svn: 169559
|
|
|
|
|
|
| |
the test!
llvm-svn: 169446
|
|
|
|
|
|
|
|
|
|
|
| |
RUN: a
RUN: b || true
as "a && (b || true)" in Tcl mode, and as "(a && b) || true" in sh mode.
Everyone seems to (quite reasonably) write tests assuming the Tcl behavior,
so use that in sh mode too.
llvm-svn: 169441
|
|
|
|
|
|
|
|
| |
This is much simpler to reason about, more efficient, and
fixes some corner cases involving implicit super-register defs.
Fixed rdar://12797931.
llvm-svn: 169425
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
At build-time register pressure was always computed in terms of
register units. But the compile-time API was expressed in terms of
register classes because it was intended for virtual registers (and
physical register units weren't yet used anywhere in codegen).
Now that the codegen uses physreg units consistently, prepare for
tracking register pressure also in terms of live units, not live
registers.
llvm-svn: 169360
|
|
|
|
| |
llvm-svn: 169344
|
|
|
|
| |
llvm-svn: 169255
|
|
|
|
|
|
|
| |
I've tried to find main moudle headers where possible, but the TableGen
stuff may warrant someone else looking at it.
llvm-svn: 169251
|
|
|
|
|
|
|
|
| |
doesn't look like it will have C++ code in it.
Suggestions on a better heuristic are welcome.
llvm-svn: 169248
|
|
|
|
|
|
|
| |
trees. This allows running the input sorter on the entire clang
repository cleanly now.
llvm-svn: 169247
|
|
|
|
|
|
| |
the system headers.
llvm-svn: 169242
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Teach it to handle files with #include on the first line -- these do
actually exist in LLVM.
2) Support llvm-c and clang-c include projects.
3) Nuke some stail imports.
4) Switch to using os.path to split the file extension off.
5) Remove debugging leftovers.
6) Add docstring (a really puny one) for the sort function.
I'm continuing te avoid stripping the whitespace on the RHS to preserve
whatever newline characters happen to be in the original file.
llvm-svn: 169222
|
|
|
|
|
|
|
| |
Kind of important when prepping the include/... tree version of the sort
changes.
llvm-svn: 169132
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
standards.
I am a terrible Python programmer. Patches more the welcome. Please tell
me how this should look if it should look differently. It's just a tiny
little script so it didn't make sense to go through pre-commit review,
especially as someone who actually knows python may want to just rip it
apart and do it The Right Way.
I will be preparing a commit shortly that uses this script to
canonicalize *all* of the #include lines in LLVM. Really, all of them.
llvm-svn: 169125
|
|
|
|
| |
llvm-svn: 169116
|
|
|
|
| |
llvm-svn: 169110
|
|
|
|
|
|
|
|
|
|
|
|
| |
; CHECK: [[VAR:[a-z]]]
The problem was that to find the end of the regex var definition, it was
simplistically looking for the next ]] and finding the incorrect one. A
better approach is to count nesting of brackets (taking escaping into
account). This way the brackets that are part of the regex can be discovered
and skipped properly, and the ]] ending is detected in the right place.
llvm-svn: 169109
|
|
|
|
|
|
|
| |
See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121126/157198.html
and related discussions.
llvm-svn: 169101
|
|
|
|
| |
llvm-svn: 169064
|
|
|
|
| |
llvm-svn: 169055
|
|
|
|
| |
llvm-svn: 169038
|
|
|
|
| |
llvm-svn: 169002
|
|
|
|
|
|
| |
instead of 1 or true (?!)
llvm-svn: 169001
|
|
|
|
|
|
| |
Use this type for arrays of physical registers.
llvm-svn: 168850
|
|
|
|
|
|
| |
This class has been merged into its super-class TargetInstrInfo.
llvm-svn: 168760
|
|
|
|
| |
llvm-svn: 168750
|
|
|
|
| |
llvm-svn: 168729
|
|
|
|
| |
llvm-svn: 168490
|
|
|
|
|
|
|
|
|
| |
When code deletes the context, the AttributeImpls that the AttrListPtr points to
are now invalid. Therefore, instead of keeping a separate managed static for the
AttrListPtrs that's reference counted, move it into the LLVMContext and delete
it when deleting the AttributeImpls.
llvm-svn: 168354
|
|
|
|
| |
llvm-svn: 168256
|
|
|
|
| |
llvm-svn: 168255
|
|
|
|
| |
llvm-svn: 168254
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 168048
|
|
|
|
|
|
| |
Approved by Chris Lattner.
llvm-svn: 167984
|
|
|
|
|
|
| |
FileCheck.
llvm-svn: 167978
|
|
|
|
| |
llvm-svn: 167971
|
|
|
|
|
|
| |
reference types.
llvm-svn: 167674
|
|
|
|
|
|
|
| |
Avoid iterating over list of operands beyond the number of operands in it.
PS: this fixes issue with revision #167634.
llvm-svn: 167635
|
|
|
|
|
|
| |
Avoid iterating over list of operands beyond the number of operands in it.
llvm-svn: 167634
|
|
|
|
|
|
|
|
| |
- Add RTM code generation support throught 3 X86 intrinsics:
xbegin()/xend() to start/end a transaction region, and xabort() to abort a
tranaction region
llvm-svn: 167573
|
|
|
|
|
|
|
|
|
| |
"../llvm-git/utils/TableGen/CodeGenSchedule.cpp", line 1594.12: 1540-0218 (S) The call does not match any parameter list for "operator+".
"../llvm-git/include/llvm/ADT/STLExtras.h", line 130.1: 1540-1283 (I) "template <class _Iterator, class Func> llvm::operator+(mapped_iterator<_Iterator,Func>::difference_type, const mapped_iterator<_Iterator,Func> &)" is not a viable candidate.
Patch by Kai.
llvm-svn: 167311
|
|
|
|
|
|
|
|
|
|
| |
Explicitly allow composition of null sub-register indices, and handle
that common case in an inlinable stub.
Use a compressed table implementation instead of the previous nested
switches which generated pretty bad code.
llvm-svn: 167190
|
|
|
|
| |
llvm-svn: 166719
|