- May 14, 2018
-
-
Craig Topper authored
llvm-svn: 332214
-
Craig Topper authored
[X86] Use select instrution and fpextend in the implementation of _mm512_mask_cvtps_pd and _mm512_maskz_cvtps_pd. llvm-svn: 332213
-
Dean Michael Berris authored
Fixes a bad DCHECK where the condition being checked is still valid (for iterators pointing to sentinels). Follow-up to D45756. llvm-svn: 332212
-
Dean Michael Berris authored
Fixes the sanitizer build. Follow-up to D46574. llvm-svn: 332211
-
Craig Topper authored
If we're using default rounding mode we can let __builtin_convertvector to generate an fpextend. This matches 128 and 256 bit. If we're using the version that takes an explicit rounding mode argument we would need to look at the immediate to see if its CUR_DIRECTION. llvm-svn: 332210
-
Dean Michael Berris authored
This should fix non-x86_64 builds where size_t != atomic_uint64_t::Type. Follow-up to D46574. llvm-svn: 332209
-
Dean Michael Berris authored
Summary: This change allows for handling the in-memory data associated with the FDR mode implementation through the new `__xray_log_process_buffers` API. With this change, we can now allow users to process the data in-memory of the process instead of through writing files. This for example allows users to stream the data of the FDR logging implementation through network sockets, or through other mechanisms instead of saving them to local files. We introduce an FDR-specific flag, for "no_file_flush" which lets the flushing logic skip opening/writing to files. This option can be defaulted to `true` when building the compiler-rt XRay runtime through the `XRAY_FDR_OPTIONS` preprocessor macro. Reviewers: kpw, echristo, pelikan, eizan Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D46574 llvm-svn: 332208
-
Craig Topper authored
llvm-svn: 332207
-
Craig Topper authored
llvm-svn: 332206
-
Craig Topper authored
This matches what we do for sint_to_fp. llvm-svn: 332205
-
Craig Topper authored
llvm-svn: 332204
-
Craig Topper authored
We can use direct C code for these that will use uitofp and insertelement instructions. For the versions that take an explicit rounding mode we can't do this. llvm-svn: 332203
-
Craig Topper authored
llvm-svn: 332202
-
Jan Kratochvil authored
Function DWARFUnit::GetDIE is using m_die_array only for reading so it can use DWARFDebugInfoEntry::const_iterator. llvm-svn: 332201
-
Jan Kratochvil authored
Pavel Labath found this patch is incomplete and racy. I think there needs to be some more mutexes even before considering DW_TAG_partial_unit. This reverts commit 331229 which was: https://reviews.llvm.org/D40470 llvm-svn: 332200
-
Craig Topper authored
Apparently this test was lost when r293151 was committed. It was present in the review, but not the commit. llvm-svn: 332199
-
Craig Topper authored
llvm-svn: 332198
-
- May 13, 2018
-
-
Dimitry Andric authored
Noticed by Simon Pilgrim. llvm-svn: 332197
-
Matt Arsenault authored
This pass is a) broken. b) r600 specific. Fixing (a) is a bit more non-trivial, but fixing (b) is easy. Move this pass to being R600 only for now. This pass does pass all the unit tests, however clang no longer generates code that looks like the unit test input, so fixing the pass requires fixing the tests and the pass as one, and checking it works with clang still. Patch by Dave Airlie llvm-svn: 332196
-
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
-