| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D14892
llvm-svn: 253888
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D14887
llvm-svn: 253887
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Re-apply patch after bug fixing)
This diff makes sure that the driver does not pass
-fomit-frame-pointer or -momit-leaf-frame-pointer to
the frontend when -pg is used. Currently, clang gives
an error if -fomit-frame-pointer is used in combination
with -pg, but -momit-leaf-frame-pointer was forgotten.
Also, disable frame pointer elimination in the frontend
when -pg is set.
Patch by Stefan Kempf.
llvm-svn: 253886
|
|
|
|
|
|
|
| |
- Replace duplicate definition and use of magic in profile runtime
- Replace hard coded version reference in profile runtime
llvm-svn: 253885
|
|
|
|
|
|
| |
Differential revision: http://reviews.llvm.org/D14922
llvm-svn: 253884
|
|
|
|
|
|
|
| |
- Replace use of __llvm_profile_value_data with common data structure.
- Remve duplicate InstrProfValueNode
llvm-svn: 253883
|
|
|
|
| |
llvm-svn: 253882
|
|
|
|
| |
llvm-svn: 253881
|
|
|
|
| |
llvm-svn: 253880
|
|
|
|
| |
llvm-svn: 253879
|
|
|
|
|
|
| |
This eliminates one of the main remaining uses of EmitRawText.
llvm-svn: 253878
|
|
|
|
| |
llvm-svn: 253877
|
|
|
|
|
|
|
|
|
|
| |
Always starting blocks at the top of their containing loops works, but creates
unnecessarily deep nesting because it makes all blocks in a loop overlap.
Refine the BLOCK placement algorithm to start blocks at nearest common
dominating points instead, which significantly shrinks them and reduces
overlapping.
llvm-svn: 253876
|
|
|
|
|
|
|
|
|
|
|
|
| |
respectively.
Reviewers: vkalintiris
Subscribers: llvm-commits, seanbruno, emaste, vkalintiris, dsanders
Differential Revision: http://reviews.llvm.org/D14221
llvm-svn: 253875
|
|
|
|
|
|
| |
The new lld gnu frontend does not support the -target option
llvm-svn: 253874
|
|
|
|
|
|
| |
No functional changes intended.
llvm-svn: 253873
|
|
|
|
|
|
|
|
|
|
| |
Before:
bool b = f(g<int>)&&c;
After:
bool b = f(g<int>) && c;
llvm-svn: 253872
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
multiple lines, also break before the variable name.
Before:
std::vector<aaaaaa, // wrap
aa> aaa;
After:
std::vector<aaaaaa, // wrap
aa>
aaa;
llvm-svn: 253871
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unit Tests
Summary:
This change fixes the SaturatingMultiply<T>() function template to not cause undefined behavior with T=uint16_t.
Thanks to Richard Smith's contribution, it also no longer requires an integer division.
Patch by Richard Smith.
Reviewers: silvas, davidxl
Subscribers: rsmith, davidxl, llvm-commits
Differential Revision: http://reviews.llvm.org/D14845
llvm-svn: 253870
|
|
|
|
|
|
| |
Thanks to Simon for the bug report.
llvm-svn: 253869
|
|
|
|
| |
llvm-svn: 253868
|
|
|
|
| |
llvm-svn: 253867
|
|
|
|
|
|
| |
Runtime library requires, that codegen for 'depend' clause for 'out' dependency kind must be the same as codegen for 'depend' clause with 'inout' dependency.
llvm-svn: 253866
|
|
|
|
|
|
|
| |
Disable custom handling of signed 32-bit and 64-bit integer divide.
Add test cases for both 32-bit and 64-bit integer overflow crashes.
llvm-svn: 253865
|
|
|
|
|
|
|
|
| |
Reviewers: jaydeep.
Subscribers: bhushan, sagar, nitesh.jain, lldb-commits.
Differential Revision: http://reviews.llvm.org/D14860
llvm-svn: 253864
|
|
|
|
|
|
|
|
|
|
|
|
| |
If AS of a variable/parameter declaration is not set by the source,
OpenCL v2.0 s6.5 defines explicit rules for default ASes:
- The AS of global and local static variables defaults to global;
- All pointers point to generic AS.
http://reviews.llvm.org/D13168
llvm-svn: 253863
|
|
|
|
|
|
|
|
| |
This was proposed as post-commit review comment for commit r253818.
Suggested by: Johannes Doerfert <doerfert@cs.uni-saarland.de>
llvm-svn: 253862
|
|
|
|
| |
llvm-svn: 253861
|
|
|
|
| |
llvm-svn: 253860
|
|
|
|
|
|
|
|
|
| |
the case where a specific range is replaced by new text. Previously,
the calculation would shift any position from within a replaced region
to the first character after the region. This is undersirable, e.g. for
clang-format's include sorting.
llvm-svn: 253859
|
|
|
|
|
|
|
|
| |
On OS X, __thread variables are lazily heap-allocated (with malloc). Therefore, they're recognized as heap blocks (which is what they are) and not as TLS variables in TSan reports. Figuring out if a heap block is a TLS or not is difficult (in malloc interceptor we could analyze the caller and then mark the object), so let's instead modify the tests so that we expect the report to say "Location is heap block" instead of "Location is TLS".
Differential Revision: http://reviews.llvm.org/D14873
llvm-svn: 253858
|
|
|
|
|
|
| |
erase inside them. NFC
llvm-svn: 253857
|
|
|
|
|
|
| |
or equal to 1.
llvm-svn: 253856
|
|
|
|
| |
llvm-svn: 253855
|
|
|
|
| |
llvm-svn: 253854
|
|
|
|
| |
llvm-svn: 253853
|
|
|
|
|
|
| |
This will enable a series of cleanup/refactoring.
llvm-svn: 253852
|
|
|
|
| |
llvm-svn: 253851
|
|
|
|
|
|
| |
http://reviews.llvm.org/D14134
llvm-svn: 253850
|
|
|
|
|
|
| |
http://reviews.llvm.org/D14134
llvm-svn: 253849
|
|
|
|
| |
llvm-svn: 253848
|
|
|
|
| |
llvm-svn: 253847
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This diff makes sure that the driver does not pass
-fomit-frame-pointer or -momit-leaf-frame-pointer to
the frontend when -pg is used. Currently, clang gives
an error if -fomit-frame-pointer is used in combination
with -pg, but -momit-leaf-frame-pointer was forgotten.
Also, disable frame pointer elimination in the frontend
when -pg is set.
Patch by Stefan Kempf.
llvm-svn: 253846
|
|
|
|
|
|
|
| |
This makes code more readable and be made more portable in the future.
There is no functional change.
llvm-svn: 253845
|
|
|
|
|
|
|
|
| |
1. move const qualifier out of raw header field type as runtime use of the header
needs to initialze the fields
2. use C style casting for integer types.
llvm-svn: 253844
|
|
|
|
|
|
|
|
|
|
|
|
| |
The pointer returned by __RTDynamicCast must be bitcasted. However, it
was not expected that __RTDynamicCast would be invoked, resulting in the
bitcast occuring in a different BasicBlock than the invoke. This caused
a down-stream PHI to get confused about which BasicBlock the incomming
value was from.
This fixes PR25606.
llvm-svn: 253843
|
|
|
|
| |
llvm-svn: 253842
|
|
|
|
| |
llvm-svn: 253841
|
|
|
|
|
|
|
| |
(NFC)
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 253840
|
|
|
|
|
| |
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 253839
|