- May 13, 2018
-
-
Matt Arsenault authored
This is apparently necessary to stop undef from being turned into a build_vector of 0s. llvm-svn: 332195
-
Elena Demikhovsky authored
These intrinsics work exactly as all other atomic_fetch_* intrinsics and allow to create *atomicrmw* with ordering. Updated the clang-extensions document. Differential Revision: https://reviews.llvm.org/D46386 llvm-svn: 332193
-
Puyan Lotfi authored
Errors were not reproducible on clang-6.0 on ubuntu 16.04. llvm-svn: 332192
-
Puyan Lotfi authored
llvm-svn: 332191
-
Vitaly Buka authored
llvm-svn: 332190
-
Craig Topper authored
llvm-svn: 332189
-
Craig Topper authored
llvm-svn: 332188
-
Craig Topper authored
llvm-svn: 332187
-
Craig Topper authored
[X86] Remove and autoupgrade cvtsi2ss/cvtsi2sd intrinsics to match what clang has used for a very long time. llvm-svn: 332186
-
Chandler Carruth authored
comment in the same revision but missed it. Thanks to Dimitry Andric for catching this! llvm-svn: 332177
-
Dimitry Andric authored
Summary: As reported in PR37264, in some cases the X86 Domain Reassignment `runOnMachineFunction()` is called twice. Because it only deletes the `.second` members of its `InstrConverterBaseMap`, and does not clean up the map itself, this can lead to double frees and crashes. Use `DeleteContainerSeconds()` instead, so the `Converters` map can safely be reinitialized and its members re-deleted for each X86 Domain Reassignment pass. Reviewers: guyblank, craig.topper Reviewed By: craig.topper Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D46425 llvm-svn: 332176
-
JF Bastien authored
Summary: r271558 moved getManagedStaticMutex's mutex from a function-local static to using call_once, but left a comment added in r211424. That comment is now erroneous, remove it. Reviewers: zturner, chandlerc Subscribers: aheejin, llvm-commits Differential Revision: https://reviews.llvm.org/D46784 llvm-svn: 332175
-
JF Bastien authored
Summary: InitLLVM already calls llvm_shutdown, but llc registers for shutdown with llvm_shutdown_obj so it gets called twice. It's not hurting anything, but it's also not useful, so don't do it. Reviewers: ruiu Subscribers: aheejin, llvm-commits Differential Revision: https://reviews.llvm.org/D46788 llvm-svn: 332174
-
Simon Pilgrim authored
llvm-svn: 332173
-
Simon Dardis authored
llvm-svn: 332172
-
- May 12, 2018
-
-
Vitaly Buka authored
llvm-svn: 332171
-
Craig Topper authored
[X86] Remove some unused masked conversion intrinsics that can be replaced with an older intrinsic and a select. This is what clang already uses. llvm-svn: 332170
-
Peter Collingbourne authored
This is needed to avoid merging two functions with identical instructions but different xdata. It also reduces binary size by deduplicating identical pdata sections. Fixes PR35337. Differential Revision: https://reviews.llvm.org/D46672 llvm-svn: 332169
-
Michael Zolotukhin authored
Stage3/stage4 bootstrap miscompares should be fixed by a non-determinism fix in IDF (r332167). This reverts commit r330446. llvm-svn: 332168
-
Michael Zolotukhin authored
Summary: Currently the order of blocks returned by `IDF::calculate` can be non-deterministic. This was discovered in several attempts to enable SSAUpdaterBulk for JumpThreading (which led to miscompare in bootstrap between stage 3 and stage4). Originally, the blocks were put into a priority queue with a depth level as their key, and this patch adds a DFSIn number as a second key to specify a deterministic order across blocks from one level. The solution was suggested by Daniel Berlin. Reviewers: dberlin, davide Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D46646 llvm-svn: 332167
-
Stanislav Mekhanoshin authored
We cannot query this attribute from a subtarget given a machine function. At this point attribute itself is already unavailable and can only be obtained through MFI. Differential Revision: https://reviews.llvm.org/D46781 llvm-svn: 332166
-
Davide Italiano authored
This reverts commit r332162 as it breaks the bots (Ubuntu 14.04) with the following message: Build Command Output: objcopy: option '--compress-debug-sections' doesn't allow an argument llvm-svn: 332165
-
Douglas Yung authored
llvm-svn: 332164
-
Davide Italiano authored
On behalf of Jim, who's out today. llvm-svn: 332163
-
Davide Italiano authored
Patch by Erik Welander! Differential Revision: https://reviews.llvm.org/D45628 llvm-svn: 332162
-
Chris Matthews authored
Lets escape those so the XML is valid! llvm-svn: 332161
-
Douglas Yung authored
The PS4 requires clang ABI version 6 for compatibility reasons. This change forces this and if the user specifies a different version when the PS4 target is specified, the compiler emits a warning that the specified version is being ignored. Reviewers: probinson Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D46767 llvm-svn: 332160
-
Stephan T. Lavavej authored
llvm-svn: 332159
-
Walter Lee authored
Like Fuchsia, Myriad RTEMS uses an off-line symbolizer -- we just need a custom backtrace frame string. Move this definition to sanitizer_fuchsia.h; the corresponding RTEMS one will be added when we add sanitizer_rtems.h. Differential Revision: https://reviews.llvm.org/D46462 llvm-svn: 332157
-
Chris Matthews authored
JUnit xml allows for a message attribute to be displayed on skips. Lets populate that with an analysis of why we skipped the test. llvm-svn: 332156
-
Sanjay Patel authored
There's only one use of this currently, but that could change with D46563. Either way, we shouldn't have to update code outside of the flags struct when those flag definitions change. llvm-svn: 332155
-
Tom Stellard authored
Reviewers: arsenm, nhaehnle Subscribers: kzhuravl, wdng, yaxunl, rovka, kristof.beyls, dstuttard, tpr, llvm-commits, t-tye Differential Revision: https://reviews.llvm.org/D46153 llvm-svn: 332154
-
Alina Sbirlea authored
Summary: getIncomingValueForBlock is just a wrapper API that should return a MemoryAccess, instead of a generic Value. Reviewers: george.burgess.iv Subscribers: sanjoy, jlebar, Prazek, llvm-commits Differential Revision: https://reviews.llvm.org/D46779 llvm-svn: 332153
-
Julie Hockett authored
Removing filepaths so windows tests pass. llvm-svn: 332152
-
Sergey Dmitriev authored
This is a CodeExtractor improvement which adds support for extracting blocks which have exception handling constructs if that is legal to do. CodeExtractor performs validation checks to ensure that extraction is legal when it finds invoke instructions or EH pads (landingpad, catchswitch, or cleanuppad) in blocks to be extracted. I have also added an option to allow extraction of blocks with alloca instructions, but no validation is done for allocas. CodeExtractor caller has to validate it himself before allowing alloca instructions to be extracted. By default allocas are still not allowed in extraction blocks. Differential Revision: https://reviews.llvm.org/D45904 llvm-svn: 332151
-
Sanjay Patel authored
llvm-svn: 332150
-
Peter Collingbourne authored
We discovered (crbug.com/838449#c24) that string tail merging can negatively affect compressed binary size, so provide a flag to turn it off for users who care more about compressed size than uncompressed size. Differential Revision: https://reviews.llvm.org/D46780 llvm-svn: 332149
-
Chris Matthews authored
I have seen a lot of errors where the xunit does not encode unicode test output correctly. Handle that explicitly now. llvm-svn: 332148
-
Changpeng Fang authored
Summary: We have no logic to promote alloca to vector for an AddrSpaceCast instruction. Reviewer: arsenm Differential Revision: https://reviews.llvm.org/D45993 llvm-svn: 332147
-
Craig Topper authored
llvm-svn: 332146
-