Revision tags: llvmorg-5.0.0-rc2 |
|
#
ef5e106f |
| 07-Aug-2017 |
Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> |
[OpenMP] Error when trying to offload to an unsupported architecture
Summary: Throw an error when offloading is unsupported for a particular target architecture.
Reviewers: sfantao, caomhin, carlo.
[OpenMP] Error when trying to offload to an unsupported architecture
Summary: Throw an error when offloading is unsupported for a particular target architecture.
Reviewers: sfantao, caomhin, carlo.bertolli, ABataev, Hahnfeld
Reviewed By: ABataev
Subscribers: cfe-commits, rengolin
Differential Revision: https://reviews.llvm.org/D32035
llvm-svn: 310307
show more ...
|
#
e3b0a19d |
| 07-Aug-2017 |
Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> |
[OpenMP] Prevent emission of exception handling code when using OpenMP to offload to NVIDIA devices.
Summary: For the OpenMP toolchain which offloads to NVIDIA GPUs make sure that no exception handl
[OpenMP] Prevent emission of exception handling code when using OpenMP to offload to NVIDIA devices.
Summary: For the OpenMP toolchain which offloads to NVIDIA GPUs make sure that no exception handling code is emitted.
Reviewers: arpith-jacob, sfantao, caomhin, carlo.bertolli, ABataev, Hahnfeld, hfinkel, tstellar
Reviewed By: ABataev, Hahnfeld
Subscribers: rengolin, Hahnfeld, cfe-commits
Differential Revision: https://reviews.llvm.org/D29904
llvm-svn: 310306
show more ...
|
#
d72c5e54 |
| 03-Aug-2017 |
Simon Dardis <simon.dardis@imgtec.com> |
[mips] Revert r309942 & r309940
This reverts commit r309942 & commit r309940.
A revert was requested following post commit review.
llvm-svn: 309978
|
#
50f6d354 |
| 03-Aug-2017 |
Simon Dardis <simon.dardis@imgtec.com> |
[mips] Implement -muninit-const-in-rodata
This option when combined with -mgpopt and -membedded-data places all uninitialized constant variables in the read-only section.
Reviewers: atanasyan, nite
[mips] Implement -muninit-const-in-rodata
This option when combined with -mgpopt and -membedded-data places all uninitialized constant variables in the read-only section.
Reviewers: atanasyan, nitesh.jain
Differential Revision: https://reviews.llvm.org/D35917
llvm-svn: 309940
show more ...
|
#
61457767 |
| 28-Jul-2017 |
Kostya Serebryany <kcc@google.com> |
[sanitizer-coverage] clang flags pumbing for -fsanitize-coverage=pc-table
llvm-svn: 309338
|
Revision tags: llvmorg-5.0.0-rc1 |
|
#
5f475b98 |
| 16-Jul-2017 |
Faisal Vali <faisalv@yahoo.com> |
[c++2a] Add option -std=c++2a to enable support for potential/transitional C++2a features
- as usual C++2a implies all the C++'s that came before it.
Thank you Aaron for the feedback here: https://
[c++2a] Add option -std=c++2a to enable support for potential/transitional C++2a features
- as usual C++2a implies all the C++'s that came before it.
Thank you Aaron for the feedback here: https://reviews.llvm.org/D35454
llvm-svn: 308118
show more ...
|
#
dc771509 |
| 01-Jul-2017 |
Yuka Takahashi <yukatkh@gmail.com> |
Changed Opts.EABIVersion type string to llvm::EABI enum class
Summary: Changed EABIVersion type from string to llvm::EABI. It seems it was just a typo and this is intended implementation.
Different
Changed Opts.EABIVersion type string to llvm::EABI enum class
Summary: Changed EABIVersion type from string to llvm::EABI. It seems it was just a typo and this is intended implementation.
Differential Revision: https://reviews.llvm.org/D34595
llvm-svn: 306953
show more ...
|
#
562eab97 |
| 01-Jul-2017 |
Brian Gesiak <modocache@gmail.com> |
Un-revert "[Driver] Add -fdiagnostics-hotness-threshold"
Summary: Un-revert https://reviews.llvm.org/D34868, but with a slight tweak to the documentation to fix an error -- I had used the wrong synt
Un-revert "[Driver] Add -fdiagnostics-hotness-threshold"
Summary: Un-revert https://reviews.llvm.org/D34868, but with a slight tweak to the documentation to fix an error -- I had used the wrong syntax for a link.
llvm-svn: 306948
show more ...
|
#
55e9c111 |
| 01-Jul-2017 |
Brian Gesiak <modocache@gmail.com> |
Revert "[Driver] Add -fdiagnostics-hotness-threshold"
Summary: The commit caused a documentation breakage.
llvm-svn: 306946
|
#
dc6fa5d1 |
| 01-Jul-2017 |
Brian Gesiak <modocache@gmail.com> |
[Driver] Add -fdiagnostics-hotness-threshold
Summary: Depends on https://reviews.llvm.org/D34867.
Add a Clang frontend option to enable optimization remark hotness thresholds, which were added to L
[Driver] Add -fdiagnostics-hotness-threshold
Summary: Depends on https://reviews.llvm.org/D34867.
Add a Clang frontend option to enable optimization remark hotness thresholds, which were added to LLVM in https://reviews.llvm.org/D34867. This prevents diagnostics that do not meet a minimum hotness threshold from being output. When generating optimization remarks for large codebases with a ton of cold code paths, this option can be used to limit the optimization remark output at a reasonable size. Discussion of this change can be read here: http://lists.llvm.org/pipermail/llvm-dev/2017-June/114377.html
Reviewers: anemet, davidxl, hfinkel
Reviewed By: anemet
Subscribers: fhahn, cfe-commits
Differential Revision: https://reviews.llvm.org/D34868
llvm-svn: 306945
show more ...
|
#
b853ef99 |
| 30-Jun-2017 |
Chandler Carruth <chandlerc@gmail.com> |
Remove Clang support for '-fvectorize-slp-aggressive' which used LLVM's basic block vectorizer. This vectorizer has had no known users for many, many years and is completely surpassed by the normal '
Remove Clang support for '-fvectorize-slp-aggressive' which used LLVM's basic block vectorizer. This vectorizer has had no known users for many, many years and is completely surpassed by the normal '-fvectorize-slp'-controlled SLP vectorizer in LLVM.
Hal proposed this back in 2014 to no objections: http://lists.llvm.org/pipermail/llvm-dev/2014-November/079091.html
While this patch completely removes the flag, Joerg is working on a patch that will add it back in a way that warns users and ignores the flag in a clear and well factored way (so that we can keep doing this going forward).
Differential Revision: https://reviews.llvm.org/D34846
llvm-svn: 306786
show more ...
|
#
b13eebe0 |
| 29-Jun-2017 |
Tim Shen <timshen91@gmail.com> |
[NewPM] Add Clang cc1 flag -fdebug-pass-manager for printing debug information.
Differential Revision: https://reviews.llvm.org/D34790
llvm-svn: 306757
|
#
cae83f78 |
| 29-Jun-2017 |
Akira Hatanaka <ahatanaka@apple.com> |
[Sema] Issue diagnostics if a new/delete expression generates a call to a c++17 aligned allocation/deallocation function that is unavailable in the standard library on Apple platforms.
The aligned f
[Sema] Issue diagnostics if a new/delete expression generates a call to a c++17 aligned allocation/deallocation function that is unavailable in the standard library on Apple platforms.
The aligned functions are implemented only in the following versions or later versions of the OSes, so clang issues diagnostics if the deployment target being targeted is older than these:
macosx: 10.13 ios: 11.0 tvos: 11.0 watchos: 4.0
The diagnostics are issued whenever the aligned functions are selected except when the selected function has a definition in the same file. If there is a user-defined function available somewhere else, option -Wno-aligned-allocation-unavailable can be used to silence the diagnostics.
rdar://problem/32664169
Differential Revision: https://reviews.llvm.org/D34574
llvm-svn: 306722
show more ...
|
#
59d7b77b |
| 29-Jun-2017 |
Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> |
[OpenMP] Add support for auxiliary triple specification
Summary: Device offloading requires the specification of an additional flag containing the triple of the //other// architecture the code is be
[OpenMP] Add support for auxiliary triple specification
Summary: Device offloading requires the specification of an additional flag containing the triple of the //other// architecture the code is being compiled on if such an architecture exists. If compiling for the host, the auxiliary triple flag will contain the triple describing the device and vice versa.
Reviewers: arpith-jacob, sfantao, caomhin, carlo.bertolli, ABataev, Hahnfeld, jlebar, hfinkel, tstellar
Reviewed By: Hahnfeld
Subscribers: rengolin, cfe-commits
Differential Revision: https://reviews.llvm.org/D29339
llvm-svn: 306689
show more ...
|
#
d064e91e |
| 23-Jun-2017 |
Saleem Abdulrasool <compnerd@compnerd.org> |
Revert "Revert r305164/5/7."
Restore the `-gz` option to the driver with some minor tweaks to handle the additional case for `-Wa,--compress-debug-sections`.
This intends to make the compression of
Revert "Revert r305164/5/7."
Restore the `-gz` option to the driver with some minor tweaks to handle the additional case for `-Wa,--compress-debug-sections`.
This intends to make the compression of the debug information controllable from the driver. The following is the behaviour:
-gz enable compression (ambiguous for format, will default to zlib-gnu) -gz=none disable compression -gz=zlib-gnu enable compression (deprecated GNU style zlib compression) -gz=zlib enable compression (zlib based compression)
Although -Wa,-compress-debug-sections works, it should be discouraged when using the driver to invoke the assembler. However, we permit the assembler to accept the GNU as style argument --compress-debug-sections to maintain compatibility.
Note, -gz/-gz= does *NOT* imply -g. That is, you need to additionally specific -g for debug information to be generated.
llvm-svn: 306115
show more ...
|
#
0ea58886 |
| 23-Jun-2017 |
Brian Gesiak <modocache@gmail.com> |
[Frontend] 'Show hotness' can be used with a sampling profile
Summary: Prior to this change, using `-fdiagnostics-show-hotness` with a sampling profile specified via `-fprofile-sample-use=` would re
[Frontend] 'Show hotness' can be used with a sampling profile
Summary: Prior to this change, using `-fdiagnostics-show-hotness` with a sampling profile specified via `-fprofile-sample-use=` would result in the Clang frontend emitting a warning: "argument '-fdiagnostics-show-hotness' requires profile-guided optimization information". Of course, a sampling profile *is* profile-guided optimization information, so the warning is misleading. Furthermore, despite the warning, hotness was displayed based on the data in the sampling profile.
Prevent the warning from being emitted when a sampling profile is used, and add a test that verifies this.
Reviewers: anemet, davidxl
Reviewed By: davidxl
Subscribers: danielcdh, cfe-commits
Differential Revision: https://reviews.llvm.org/D34082
llvm-svn: 306079
show more ...
|
#
fb7654a8 |
| 16-Jun-2017 |
Alex Lorenz <arphaman@gmail.com> |
[PR33394] Avoid lexing editor placeholders when Clang is used only for preprocessing
r300667 added support for editor placeholder to Clang. That commit didn’t take into account that users who use Cl
[PR33394] Avoid lexing editor placeholders when Clang is used only for preprocessing
r300667 added support for editor placeholder to Clang. That commit didn’t take into account that users who use Clang for preprocessing only (-E) will get the "editor placeholder in source file" error when preprocessing their source (PR33394). This commit ensures that Clang doesn't lex editor placeholders when running a preprocessor only action.
rdar://32718000
Differential Revision: https://reviews.llvm.org/D34256
llvm-svn: 305576
show more ...
|
#
50a9dfa2 |
| 14-Jun-2017 |
Yuka Takahashi <yukatkh@gmail.com> |
Be more strict when checking the -flto option value
Summary: It seems -flto must be either "thin" or "full". I think the use of containValue is just a typo.
Reviewers: ruiu, tejohnson
Subscribers:
Be more strict when checking the -flto option value
Summary: It seems -flto must be either "thin" or "full". I think the use of containValue is just a typo.
Reviewers: ruiu, tejohnson
Subscribers: mehdi_amini, inglorion
Differential Revision: https://reviews.llvm.org/D34055
llvm-svn: 305392
show more ...
|
Revision tags: llvmorg-4.0.1, llvmorg-4.0.1-rc3 |
|
#
cdc4408b |
| 12-Jun-2017 |
Daniel Jasper <djasper@google.com> |
Revert r305164/5/7.
cc1as does not currently access the "--" version of this flag. At the very least this needs to be fixed and proper test cases need to be added.
Simple reproducer: clang -Wa,--co
Revert r305164/5/7.
cc1as does not currently access the "--" version of this flag. At the very least this needs to be fixed and proper test cases need to be added.
Simple reproducer: clang -Wa,--compress-debug-sections /tmp/test.cc
Result: error: unknown argument: '--compress-debug-sections'
llvm-svn: 305182
show more ...
|
#
7289ba91 |
| 11-Jun-2017 |
Saleem Abdulrasool <compnerd@compnerd.org> |
Driver: add support for `-gz` and `-gz=`
These options control the behaviour of the compression of debug info sections on ELF targets. Our behaviour slightly diverges from the behaviour of GCC. `-
Driver: add support for `-gz` and `-gz=`
These options control the behaviour of the compression of debug info sections on ELF targets. Our behaviour slightly diverges from the behaviour of GCC. `-gz` maps to the `-compress-debug-sections` rather than `-compress-debug-sections=zlib` or `-compress-debug-sections=zlib-gnu`. This small divergence allows us to be compatible across versions of binutils (=zlib support was introduced in 2.26, while earlier versions only support =zlib-gnu). This also allows users to not have to worry about the version of the assembler they may be using if they are not using the IAS. Previously, users would have had to go through the internal option `-compress-debug-sectionss` and pass that through to the assembler, which is no longer needed.
llvm-svn: 305165
show more ...
|
#
86a3ef5b |
| 09-Jun-2017 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Add -frewrite-imports flag.
If specified, when preprocessing, the contents of imported .pcm files will be included in preprocessed output. The resulting preprocessed file can then be compiled standa
Add -frewrite-imports flag.
If specified, when preprocessing, the contents of imported .pcm files will be included in preprocessed output. The resulting preprocessed file can then be compiled standalone without the module sources or .pcm files.
llvm-svn: 305116
show more ...
|
#
54448909 |
| 09-Jun-2017 |
Saleem Abdulrasool <compnerd@compnerd.org> |
Represent debug information compression type fully
This is tied with the LLVM side of the change to expose the debug information compression types to clang. We now track the compression type as an
Represent debug information compression type fully
This is tied with the LLVM side of the change to expose the debug information compression types to clang. We now track the compression type as an enumeration rather than a boolean. We still use the same value (GNU) that we did previously. This is in preparation to support passing down the compression type and switch it based on the command line.
llvm-svn: 305039
show more ...
|
#
2c2fb889 |
| 08-Jun-2017 |
Kostya Serebryany <kcc@google.com> |
[sanitizer-coverage] one more flavor of coverage: -fsanitize-coverage=inline-8bit-counters. Experimental so far, not documenting yet. Reapplying revisions 304630, 304631, 304632, 304673, see PR33308
[sanitizer-coverage] one more flavor of coverage: -fsanitize-coverage=inline-8bit-counters. Experimental so far, not documenting yet. Reapplying revisions 304630, 304631, 304632, 304673, see PR33308
llvm-svn: 305026
show more ...
|
#
de72b918 |
| 05-Jun-2017 |
Renato Golin <renato.golin@linaro.org> |
Revert "[sanitizer-coverage] one more flavor of coverage: -fsanitize-coverage=inline-8bit-counters. Experimental so far, not documenting yet. (clang part)"
This reverts commit r304631, as it broke A
Revert "[sanitizer-coverage] one more flavor of coverage: -fsanitize-coverage=inline-8bit-counters. Experimental so far, not documenting yet. (clang part)"
This reverts commit r304631, as it broke ARM/AArch64 bots for 2 days.
llvm-svn: 304697
show more ...
|
#
e425aada |
| 03-Jun-2017 |
Kostya Serebryany <kcc@google.com> |
[sanitizer-coverage] one more flavor of coverage: -fsanitize-coverage=inline-8bit-counters. Experimental so far, not documenting yet. (clang part)
llvm-svn: 304631
|