| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
script. Notably this folds all the SSE cases together into a single
FileCheck block. It also adds a vex prefix.
llvm-svn: 223610
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
int f() { // comment return 42; }
After:
int f() { // comment
return 42;
}
This fixes llvm.org/PR21769.
llvm-svn: 223609
|
| |
|
|
| |
llvm-svn: 223608
|
| |
|
|
|
|
|
|
|
|
| |
Isl now specifically marks modulo operations that are compared against zero.
They can be implemented with the C/LLVM remainder operation.
We also update a couple of test cases where the output of isl has slightly
changed.
llvm-svn: 223607
|
| |
|
|
| |
llvm-svn: 223606
|
| |
|
|
| |
llvm-svn: 223605
|
| |
|
|
|
|
|
|
|
| |
There are 3 changes:
- Convert 32-bit S_LSHL/LSHR/ASHR to their V_*REV variants for VI
- Lower RSQ_CLAMP for VI
- Don't generate MIN/MAX_LEGACY on VI
llvm-svn: 223604
|
| |
|
|
| |
llvm-svn: 223603
|
| |
|
|
| |
llvm-svn: 223602
|
| |
|
|
| |
llvm-svn: 223601
|
| |
|
|
| |
llvm-svn: 223600
|
| |
|
|
| |
llvm-svn: 223599
|
| |
|
|
| |
llvm-svn: 223598
|
| |
|
|
| |
llvm-svn: 223597
|
| |
|
|
| |
llvm-svn: 223596
|
| |
|
|
| |
llvm-svn: 223595
|
| |
|
|
| |
llvm-svn: 223594
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch probes the cxx compiler used during testing by getting it to dump its predefined macros. Based on the value of these macros the compiler name and compiler name + version are added to the available features.
There are three compiler names:
- `clang`
- `apple-clang`
- `gcc`.
The available features added are equivalent to:
- `'%s' % compiler_name`
- `'%s-%s.%s' % compiler_name, major_version, minor_version`
This information can be used to XFAIL tests on different compilers / versions.
Reviewers: mclow.lists, danalbert, jroelofs
Reviewed By: jroelofs
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D6399
llvm-svn: 223593
|
| |
|
|
|
|
|
|
|
|
|
| |
Currently hacks must be used in to configure and build libc++ without threads
when using CMake. This patch adds CMake options to enable/disable building with
threads and a monotonic clock.
This patch also propagates the configuration information to lit so the tests
are properly configured as well.
llvm-svn: 223591
|
| |
|
|
| |
llvm-svn: 223590
|
| |
|
|
|
|
| |
DenseSet has better memory efficiency now.
llvm-svn: 223589
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
DenseSet.
DenseSet used to be implemented as DenseMap<Key, char>, which usually doubled
the memory footprint of the map. Now we use a compressed set so the second
element uses no memory at all. This required some surgery on DenseMap as
all accesses to the bucket now have to go through methods; this should
have no impact on the behavior of DenseMap though. The new default bucket
type for DenseMap is a slightly extended std::pair as we expose it through
DenseMap's iterator and don't want to break any existing users.
llvm-svn: 223588
|
| |
|
|
|
|
|
|
| |
DenseMaps."
This reapplies r223478 with a fix for 32 bit targets.
llvm-svn: 223586
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Consider:
void f() {}
void __attribute__((weak)) g() {}
bool b = &f != &g;
It's possble for g to resolve to f if --defsym=g=f is passed on to the
linker.
llvm-svn: 223585
|
| |
|
|
| |
llvm-svn: 223584
|
| |
|
|
|
|
| |
Code like X < Y && Y == 0 should always be folded away to false.
llvm-svn: 223583
|
| |
|
|
| |
llvm-svn: 223580
|
| |
|
|
|
|
| |
This was changed in r223323.
llvm-svn: 223579
|
| |
|
|
|
|
| |
Review feedback from recent changes to GetSVN.cmake.
llvm-svn: 223578
|
| |
|
|
|
|
|
|
|
| |
module, use the path from the module map file in preference to the path from
the .pcm file when resolving relative paths in the .pcm file. This allows
diagnostics (and .d output) to give relative paths if the module was found via
a relative path.
llvm-svn: 223577
|
| |
|
|
| |
llvm-svn: 223576
|
| |
|
|
|
|
| |
resulted in hard-to-track-down crashes. Sigh.
llvm-svn: 223575
|
| |
|
|
|
|
|
|
| |
Metadata attachments to instructions cannot be function-local.
This is part of PR21532.
llvm-svn: 223574
|
| |
|
|
| |
llvm-svn: 223573
|
| |
|
|
| |
llvm-svn: 223572
|
| |
|
|
| |
llvm-svn: 223571
|
| |
|
|
|
|
| |
labels have a prefix "." for targeting i686-cygming.
llvm-svn: 223570
|
| |
|
|
|
|
| |
for string literal and parameter/entity cases. Patch courtesy of slydiman.
llvm-svn: 223569
|
| |
|
|
| |
llvm-svn: 223568
|
| |
|
|
|
|
|
|
| |
Most patterns will go away once the extload legalization changes land.
Differential Revision: http://reviews.llvm.org/D6125
llvm-svn: 223567
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
case.
This can significantly reduce the size of the switch, allowing for more
efficient lowering.
I also worked with the idea of exploiting unreachable defaults by
omitting the range check for jump tables, but always ended up with a
non-neglible binary size increase. It might be worth looking into some more.
SimplifyCFG currently does this transformation, but I'm working towards changing
that so we can optimize harder based on unreachable defaults.
Differential Revision: http://reviews.llvm.org/D6510
llvm-svn: 223566
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the "dummy-target". The dummy target breakpoints prime all future
targets. Breakpoints set before any target is created (e.g. breakpoints
in ~/.lldbinit) automatically get set in the dummy target. You can also
list, add & delete breakpoints from the dummy target using the "-D" flag,
which is supported by most of the breakpoint commands.
This removes a long-standing wart in lldb...
<rdar://problem/10881487>
llvm-svn: 223565
|
| |
|
|
|
|
|
|
|
|
| |
Disallow complex types of function-local metadata. The only valid
function-local metadata is an `MDNode` whose sole argument is a
non-metadata function-local value.
Part of PR21532.
llvm-svn: 223564
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
When -fsanitize-address-field-padding=1 is present
don't emit memcpy for copy constructor.
Thanks Nico for the extra test case.
Test Plan: regression tests
Reviewers: thakis, rsmith
Reviewed By: rsmith
Subscribers: rsmith, cfe-commits
Differential Revision: http://reviews.llvm.org/D6515
llvm-svn: 223563
|
| |
|
|
|
|
| |
root level
llvm-svn: 223562
|
| |
|
|
|
|
| |
diagnostics if they don't exist. Based on a patch by John Thompson!
llvm-svn: 223561
|
| |
|
|
|
|
|
|
|
|
| |
encounter clang::ExternalASTSources that are not instances
of ClangExternalASTSourceCommon. We used to blithely
assume that all are, and so we could use static_cast<>.
That's no longer the case, so we have to have these AST
sources register themselves.
llvm-svn: 223560
|
| |
|
|
| |
llvm-svn: 223559
|
| |
|
|
|
|
| |
they are readable.
llvm-svn: 223557
|
| |
|
|
| |
llvm-svn: 223556
|