| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
- We are long past the days of getting clang to fail in mass on swaths of code,
fortunately.
llvm-svn: 173523
|
| |
|
|
|
|
|
|
| |
The 'getSlot' function and its ilk allow introspection into the AttributeSet
class. However, that class should be opaque. Allow access through accessor
methods instead.
llvm-svn: 173522
|
| |
|
|
| |
llvm-svn: 173521
|
| |
|
|
|
|
|
|
|
|
| |
This provides a place to add customized operation cost information and
control some other target-specific IR-level transformations.
The only non-trivial logic in this checkin assigns a higher cost to
unaligned loads and stores (covered by the included test case).
llvm-svn: 173520
|
| |
|
|
| |
llvm-svn: 173519
|
| |
|
|
| |
llvm-svn: 173518
|
| |
|
|
|
|
| |
and, in the case of ELF files, using symbol addresses when available for relocations to the .debug_info section. Also extending the llvm-rtdyld tool to add the ability to dump line number information for testing purposes.
llvm-svn: 173517
|
| |
|
|
|
|
| |
latter does not have one of its own. // rdar://13067629
llvm-svn: 173516
|
| |
|
|
|
|
|
|
| |
never key functions. We did not implement that rule for the
iOS ABI, which was driven by what was implemented in gcc-4.2.
However, implement it now for other ARM-based platforms.
llvm-svn: 173515
|
| |
|
|
| |
llvm-svn: 173514
|
| |
|
|
| |
llvm-svn: 173513
|
| |
|
|
|
|
|
|
|
|
| |
and limiting ourselves to two memory allocations. 10% speedup in
-fsyntax-only time for modules.
With this change, we can actually see some performance different from
the global module index, but it's still about 1%.
llvm-svn: 173512
|
| |
|
|
| |
llvm-svn: 173511
|
| |
|
|
| |
llvm-svn: 173510
|
| |
|
|
|
|
|
|
| |
The test runner does not rewrite instances of /dev/null inside the
quoted sh command. /dev/null does not exist, so opt will fail to open
it, and return a non-zero exit code.
llvm-svn: 173509
|
| |
|
|
|
|
|
|
| |
Cygwin git-svn will faithfully forward the svn properties all the way
down to the NTFS executable permission. Without the +x bit, tests using
these scripts fail with "Access Denied".
llvm-svn: 173508
|
| |
|
|
|
|
|
| |
It doesn't seem to like instantiating the isUInt<unsigned N> template
with 6+3, and then doing <<N.
llvm-svn: 173507
|
| |
|
|
|
|
|
|
| |
These tests in particular try to use escaped square brackets as an
argument to grep, which is failing for me with native win32 python. It
appears the backslash is being lost near the CreateProcess*() call.
llvm-svn: 173506
|
| |
|
|
| |
llvm-svn: 173505
|
| |
|
|
| |
llvm-svn: 173504
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(defined by the x32 ABI) mode, in which case its pointers are 32-bits
in size. This knowledge is also added to X86RegisterInfo that now
returns the appropriate registers in getPointerRegClass.
There are many outcomes to this change. In order to keep the patches
separate and manageable, we start by focusing on some simple testable
cases. The patch adds a test with passing a pointer to a function -
focusing on the difference between the two data models for x86-64.
Another test is added for handling of 'sret' arguments (and
functionality is added in X86ISelLowering to make it work).
A note on naming: the "x32 ABI" document refers to the AMD64
architecture (in LLVM it's distinguished by being is64Bits() in the
x86 subtarget) with two variations: the LP64 (default) data model, and
the ILP32 data model. This patch adds predicates to the subtarget
which are consistent with this naming scheme.
llvm-svn: 173503
|
| |
|
|
| |
llvm-svn: 173502
|
| |
|
|
| |
llvm-svn: 173501
|
| |
|
|
|
|
| |
duplication.
llvm-svn: 173500
|
| |
|
|
| |
llvm-svn: 173499
|
| |
|
|
|
|
|
| |
use them in tests that run llvm-dwarfdump. This is in order to make tests as
specific as possible.
llvm-svn: 173498
|
| |
|
|
| |
llvm-svn: 173497
|
| |
|
|
| |
llvm-svn: 173496
|
| |
|
|
|
|
| |
AttributeWithIndex.
llvm-svn: 173495
|
| |
|
|
| |
llvm-svn: 173494
|
| |
|
|
|
|
|
|
| |
The order in which operands appear in the encoded instruction is different
to order in which they appear in assembly. This changes the XCore backend to
use the instruction encoding order.
llvm-svn: 173493
|
| |
|
|
| |
llvm-svn: 173492
|
| |
|
|
| |
llvm-svn: 173491
|
| |
|
|
| |
llvm-svn: 173490
|
| |
|
|
|
|
|
|
|
| |
politely report it instead of running into llvm_unreachable.
Also patch llvm-dwarfdump to actually check whether the file it's attempting to
dump is a valid object file.
llvm-svn: 173489
|
| |
|
|
| |
llvm-svn: 173488
|
| |
|
|
| |
llvm-svn: 173487
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
normal label.
Summary:
It's unlikely that a fallthrough is unintended in the following code:
switch (n) {
...
label:
case 1:
...
goto label;
...
}
Reviewers: rsmith, doug.gregor
Reviewed By: doug.gregor
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D329
llvm-svn: 173486
|
| |
|
|
|
|
|
| |
- set auto-confirm to false when running TestExprs (avoid hang when using API)
- set prompt-on-quit to false in test helper (avoid timeout when using lldb CLI)
llvm-svn: 173485
|
| |
|
|
| |
llvm-svn: 173484
|
| |
|
|
|
|
| |
- skip rdar12991846 (already marked expected-fail) to avoid introducing a i386 crash
llvm-svn: 173483
|
| |
|
|
| |
llvm-svn: 173482
|
| |
|
|
|
|
| |
Suggested by Sean Silva.
llvm-svn: 173481
|
| |
|
|
|
|
|
| |
Flags for dumping specific DWARF sections added in lib/DebugInfo and
llvm-dwarfdump.
llvm-svn: 173480
|
| |
|
|
| |
llvm-svn: 173479
|
| |
|
|
| |
llvm-svn: 173478
|
| |
|
|
|
|
|
| |
With this change the operands order matches the order in which the operands
are encoded in the instruction.
llvm-svn: 173477
|
| |
|
|
| |
llvm-svn: 173476
|
| |
|
|
| |
llvm-svn: 173475
|
| |
|
|
|
|
| |
created InternalizePass (useful for pass reuse)
llvm-svn: 173474
|