| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
MIN(MIN(A, 23), 97) -> MIN(A, 23)
MAX(MAX(A, 97), 23) -> MAX(A, 97)
Differential Revision: http://reviews.llvm.org/D3629
llvm-svn: 208849
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if ((x & C) == 0) x |= C becomes x |= C
if ((x & C) != 0) x ^= C becomes x &= ~C
if ((x & C) == 0) x ^= C becomes x |= C
if ((x & C) != 0) x &= ~C becomes x &= ~C
if ((x & C) == 0) x &= ~C becomes nothing
Z3 Verifications code for above transform
http://rise4fun.com/Z3/Pmsh
Differential Revision: http://reviews.llvm.org/D3717
llvm-svn: 208848
|
| |
|
|
|
|
| |
given CXModule is a system one.
llvm-svn: 208846
|
| |
|
|
|
|
| |
that isn't always wrong.
llvm-svn: 208844
|
| |
|
|
|
|
| |
type-id in a cast-expression.
llvm-svn: 208843
|
| |
|
|
| |
llvm-svn: 208842
|
| |
|
|
| |
llvm-svn: 208841
|
| |
|
|
|
|
|
|
|
| |
When testing against the system library, there is a relatively minor
ABI breakage that the std::future_errc values have been changed to
avoid using zero. Update the tests that rely on the values being
consistent.
llvm-svn: 208840
|
| |
|
|
| |
llvm-svn: 208839
|
| |
|
|
| |
llvm-svn: 208838
|
| |
|
|
|
|
| |
argument stack from callee.
llvm-svn: 208837
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This undoes half of r208786.
It had problems with lazily declared special members in cases like this:
struct A {
A();
A &operator=(A &&o);
void *p;
};
void foo(A);
void bar() {
foo({});
}
In this case, the copy and move constructors are implicitly deleted.
However, Clang doesn't eagerly declare the copy ctor in the AST, so we
pass the struct in registers. Furthermore, GCC passes this in registers
even though this class should be uncopyable.
Revert this for now until the dust settles.
llvm-svn: 208836
|
| |
|
|
| |
llvm-svn: 208835
|
| |
|
|
|
|
| |
options.
llvm-svn: 208834
|
| |
|
|
|
|
| |
options and code. No functional change.
llvm-svn: 208833
|
| |
|
|
|
|
| |
change.
llvm-svn: 208832
|
| |
|
|
|
|
|
|
| |
These tests haven't been failing on darwin11 or 12 since r189610 when
pr17027 was fixed, but they've been keeping the libc++ bot red by
XPASSing since then.
llvm-svn: 208831
|
| |
|
|
|
|
| |
This fills in a few missing gaps in functionality.
llvm-svn: 208830
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This gets rid of a sub instruction by moving the negation to the
constant when valid.
Reviewers: nicholas
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D3773
llvm-svn: 208827
|
| |
|
|
| |
llvm-svn: 208826
|
| |
|
|
|
|
|
| |
pointer and reference types, even if those types are produced by template
instantiation.
llvm-svn: 208825
|
| |
|
|
|
|
| |
it for -Wunused-comparion warnings. This fixes PR19724.
llvm-svn: 208824
|
| |
|
|
| |
llvm-svn: 208823
|
| |
|
|
|
|
| |
file, returns the module that contains it, if one exists.
llvm-svn: 208822
|
| |
|
|
| |
llvm-svn: 208821
|
| |
|
|
|
|
|
|
| |
Abstract variables should never have/use locations. In this case the
data wasn't used, so no functional change intended here, just
simplification.
llvm-svn: 208820
|
| |
|
|
| |
llvm-svn: 208819
|
| |
|
|
|
|
|
|
| |
ExportedSymbolRenameFile is not always used. In most cases we don't
need to read given files at all. So lazy load would help. This doesn't
change the meaining of the program.
llvm-svn: 208818
|
| |
|
|
|
|
|
|
|
|
|
|
| |
and fewer conditionals.
Many old tests using prior schemas still had some brokenness here (both
indirect arrays and arrays with single bogus elements). Fixed those up
so they don't hit the new assertions.
Also reduced nesting in some places, etc.
llvm-svn: 208817
|
| |
|
|
| |
llvm-svn: 208816
|
| |
|
|
| |
llvm-svn: 208815
|
| |
|
|
| |
llvm-svn: 208814
|
| |
|
|
|
|
| |
atoms in yaml
llvm-svn: 208813
|
| |
|
|
|
|
| |
containing archives). First step as other tools will be updated next.
llvm-svn: 208812
|
| |
|
|
|
|
| |
inappropriate since it lost its Mask parameter in r154011.
llvm-svn: 208811
|
| |
|
|
|
|
| |
changes intended.
llvm-svn: 208810
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
We know that -(zext V) will always be <= zero, simplify signed icmps
that have these.
Uncovered using http://www.cs.utah.edu/~regehr/souper/
Reviewers: nicholas
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D3754
llvm-svn: 208809
|
| |
|
|
|
|
| |
No functionality change.
llvm-svn: 208808
|
| |
|
|
| |
llvm-svn: 208807
|
| |
|
|
| |
llvm-svn: 208805
|
| |
|
|
| |
llvm-svn: 208804
|
| |
|
|
| |
llvm-svn: 208803
|
| |
|
|
|
|
| |
Reviewed at http://reviews.llvm.org/D3767
llvm-svn: 208802
|
| |
|
|
| |
llvm-svn: 208800
|
| |
|
|
|
|
|
| |
elaborated-type-specifier, place it in the correct
context.
llvm-svn: 208799
|
| |
|
|
|
|
|
|
|
|
| |
definitions.
This is just unneccessary - we only create abstract definitions when
we're inlining anyway, so there's no reason to delay this to see if
we're going to inline anything.
llvm-svn: 208798
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In r205566, I made a change to Resolver so that Resolver revisit
only archive files in --start-group and --end-group pair. That's
not correct, as it also has to revisit DSO files.
This patch is to fix the issue.
Added a test to demonstrate the fix. I confirmed that it succeeded
before r205566, failed after r205566, and is ok with this patch.
Differential Revision: http://reviews.llvm.org/D3734
llvm-svn: 208797
|
| |
|
|
|
|
|
|
| |
valid "SectionLoadList *".
<rdar://problem/15818525>
llvm-svn: 208796
|
| |
|
|
| |
llvm-svn: 208795
|
| |
|
|
|
|
| |
Missing header for Linux, replaces with iostreams.
llvm-svn: 208794
|