- Jul 28, 2016
-
-
Krzysztof Parzyszek authored
llvm-svn: 277028
-
Nirav Dave authored
[DAG] Relocate TransferDbgValues in ReplaceAllUsesWith(SDValue, SDValue) to before we modify the CSE maps. llvm-svn: 277027
-
Zachary Turner authored
llvm-svn: 277026
-
Zachary Turner authored
llvm-svn: 277025
-
Yaxun Liu authored
Currently Clang use int32 to represent sampler_t, which have been a source of issue for some backends, because in some backends sampler_t cannot be represented by int32. They have to depend on kernel argument metadata and use IPA to find the sampler arguments and global variables and transform them to target specific sampler type. This patch uses opaque pointer type opencl.sampler_t* for sampler_t. For each use of file-scope sampler variable, it generates a function call of __translate_sampler_initializer. For each initialization of function-scope sampler variable, it generates a function call of __translate_sampler_initializer. Each builtin library can implement its own __translate_sampler_initializer(). Since the real sampler type tends to be architecture dependent, allowing it to be initialized by a library function simplifies backend design. A typical implementation of __translate_sampler_initializer could be a table lookup of real sampler literal values. Since its argument is always a literal, the returned pointer is known at compile time and easily optimized to finally become some literal values directly put into image read instructions. This patch is partially based on Alexey Sotkin's work in Khronos Clang (https://github.com/KhronosGroup/SPIR/commit/3d4eec61623502fc306e8c67c9868be2b136e42b). Differential Revision: https://reviews.llvm.org/D21567 llvm-svn: 277024
-
Eugene Leviant authored
llvm-svn: 277023
-
Rafael Espindola authored
llvm-svn: 277022
-
Zachary Turner authored
llvm-svn: 277021
-
Krzysztof Parzyszek authored
Normally, CFI instructions should be inserted after allocframe, but if allocframe is in the same packet with a call, the CFI instructions should be inserted before that packet. llvm-svn: 277020
-
Zachary Turner authored
Reviewed By: amccarth, ruiu Differential Revision: https://reviews.llvm.org/D22693 llvm-svn: 277019
-
Zachary Turner authored
This was a pure virtual base class whose purpose was to abstract away the notion of how you retrieve the layout of a discontiguous stream of blocks in an Msf file. This led to too many layers of abstraction making it difficult to figure out what was going on and extend things. Ultimately, a stream's layout is decided by its length and the array of block numbers that it lives on. So rather than have an abstract base class which can return this in any number of ways, it's more straightforward to simply store them as fields of a trivial struct, and also to give a more appropriate name. This patch does that. It renames IMsfStreamData to MsfStreamLayout, and deletes the 2 concrete implementations, DirectoryStreamData and IndexedStreamData. MsfStreamLayout is a trivial struct with the necessary data. llvm-svn: 277018
-
Matthias Braun authored
getFrameInfo() never returns nullptr so we should use a reference instead of a pointer. llvm-svn: 277017
-
Luke Drummond authored
Clean up format string warnings in ValueObjectSyntheticFilter.cpp to explictly cast "%p" params to void *` Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D22923 llvm-svn: 277016
-
Reid Kleckner authored
Fixes tests locally for me with MSVC 2015. llvm-svn: 277015
-
Rafael Espindola authored
This is a bit of an odd feature. It is normally used in . = SEGMENT_START(seg, val); In bfd it evaluates to val or to the value of the corresponding -T<seg>-segment. Note that the -T<seg>-segment in bfd doesn't actually change the segment address, just the value this evaluates too, including in the default linker script. In gold the -T<seg>-segment options do change the segment address and seeing this expressions in linker scripts disables the options. For new this just always evaluates the expression to val. llvm-svn: 277014
-
Saleem Abdulrasool authored
std::condition::wait_for takes a std::unique_lock<T>. The previous commit accidentally left a reference to `m_mutex` instead of `lock`. Update that. Should restore the android lldb builder to green. llvm-svn: 277013
-
Todd Fiala authored
Also, fixed up typos in RenderScript code that could not possibly compile. llvm-svn: 277012
-
Saleem Abdulrasool authored
This finally removes the use of the Mutex and Condition classes. This is an intricate patch as the Mutex and Condition classes were tied together. Furthermore, many places had slightly differing uses of time values. Convert timeout values to relative everywhere to permit the use of std::chrono::duration, which is required for the use of std::condition_variable's timeout. Adjust all Condition and related Mutex classes over to std::{,recursive_}mutex and std::condition_variable. This change primarily comes at the cost of breaking the TracingMutex which was based around the Mutex class. It would be possible to write a wrapper to provide similar functionality, but that is beyond the scope of this change. llvm-svn: 277011
-
Devin Coughlin authored
llvm-svn: 277009
-
John Brawn authored
Buildbot failures when building with clang -Werror. Reverting while I try to figure this out. llvm-svn: 277008
-
Ahmed Bougacha authored
This is the first unsized instruction we support; move down the 'sized' check to binops. llvm-svn: 277007
-
Ahmed Bougacha authored
Since r276158, we require generic instructions to have a sized type. G_BR doesn't; relax the restriction. llvm-svn: 277006
-
Zachary Turner authored
This fixes a couple of bugs in Windows SDK Detection. 1. `readFullStringValue` returns a bool, but was being compared with ERROR_SUCCESS. 2. `RegQueryValueExW` might return the null terminator in the queried value which will result in incorrect values being returned from `getSystemRegistryString`. Patch By: comicfans44@gmail.com Reviewed By: zturner Differential Revision: http://reviews.llvm.org/D21946 llvm-svn: 277005
-
Ahmed Bougacha authored
llvm-svn: 277003
-
Ahmed Bougacha authored
llvm-svn: 277002
-
Ahmed Bougacha authored
LLT() has a particular meaning: it's one invalid type. But we really want selected instructions to have no type whatsoever. Also verify that types don't linger after ISel, and enable the verifier on the AArch64 select test. llvm-svn: 277001
-
Ahmed Bougacha authored
llvm-svn: 277000
-
Lang Hames authored
The previous run line depended on libSystem.dylib being present, which it's not on non-darwin platforms. The new run line uses libSystem.yaml instead. llvm-svn: 276999
-
Wei Ding authored
Differential Revision: http://reviews.llvm.org/D22482 llvm-svn: 276998
-
Sjoerd Meijer authored
Differential Revision: https://reviews.llvm.org/D22925 llvm-svn: 276997
-
Samuel Antao authored
llvm-svn: 276996
-
Samuel Antao authored
llvm-svn: 276995
-
Daniel Sanders authored
llvm-svn: 276993
-
Daniel Sanders authored
It seems that the stack offset in callabi.ll varies between machines. I'll look into it. llvm-svn: 276989
-
Samuel Antao authored
This attempts to fix a failure in Windows bots pottentially related with a reserved keyword. llvm-svn: 276988
-
Craig Topper authored
[X86] Remove CustomInserter for FMA3 instructions. Looks like since we got full commuting support for FMAs after this was added, the coalescer can now get this right on its own. Differential Revision: https://reviews.llvm.org/D22799 llvm-svn: 276987
-
Daniel Sanders authored
llvm-svn: 276984
-
Samuel Antao authored
It was causing a few bots to fail. llvm-svn: 276983
-
Daniel Sanders authored
Summary: Implements fastLowerArguments() to avoid the need to fall back on SelectionDAG for 0-4 argument functions that don't do tricky things like passing double in a pair of i32's. This allows us to move all except one test to -fast-isel-abort=3. The remaining one has function prototypes of the form 'i32 (i32, double, double)' which requires floats to be passed in GPR's. Reviewers: sdardis Subscribers: dsanders, llvm-commits, sdardis Differential Revision: https://reviews.llvm.org/D22680 llvm-svn: 276982
-
Samuel Antao authored
Windows bots were complaining about that. llvm-svn: 276981
-