- Jul 26, 2014
-
-
Bob Wilson authored
It requires an arm backend and also writes output in the test directory. llvm-svn: 213998
-
Alexey Samsonov authored
llvm-svn: 213997
-
Richard Smith authored
each different enum value here. llvm-svn: 213996
-
NAKAMURA Takumi authored
llvm-svn: 213995
-
NAKAMURA Takumi authored
llvm-svn: 213994
-
rdar://problem/17803206Bob Wilson authored
llvm revision 210639 renamed the -global-merge backend option to -enable-global-merge. This change simply updates clang to match that. Patch by Steven Wu! llvm-svn: 213993
-
NAKAMURA Takumi authored
llvm-svn: 213992
-
Chandler Carruth authored
llvm-svn: 213991
-
Reid Kleckner authored
Previously we were building up the inalloca struct in the usual pattern of return type followed by arguments. However, on Windows, 'this' always precedes the 'sret' parameter, so we need to insert it into the struct first as a special case. llvm-svn: 213990
-
Chandler Carruth authored
llvm-svn: 213989
-
Chandler Carruth authored
llvm-svn: 213988
-
Larisse Voufo authored
Add test case for fix of linkage bug that miscompiled variable templates instantiated from similarly named local types (cf. r212233) llvm-svn: 213987
-
Chandler Carruth authored
instructions which happen to have a constant mask. Currently, this only handles a very narrow set of cases, but those happen to be the cases that I care about for testing shuffles sanely. This is a bit trickier than other shuffle instructions because we're decoding constants out of the constant pool. The current MC layer makes it completely impossible to inspect a constant pool entry, so we have to do it at the MI level and attach the comment to the streamer on its way out. So no joy for disassembling, but it does make test cases and asm dumps *much* nicer. Sorry for no test cases, but it didn't really seem that valuable to go trolling through existing old test cases and updating them. I'll have lots of testing of this in the upcoming patch for SSSE3 emission in the new vector shuffle lowering code paths. llvm-svn: 213986
-
Matt Arsenault authored
llvm-svn: 213985
-
Rui Ueyama authored
llvm-svn: 213984
-
Alexey Samsonov authored
Specifically, use .preinit_array initialization on Linux and dynamic global initializer on another platforms. Historically UBSan didn't have any initialization code and its runtime was stateless. This is no longer the case - UBSan relies on some non-trivial functionality from sanitizer_common (e.g. online symbolization) and is now configurable by runtime flags. Additionally, we've dropped support for enabling UBSan only for a few shared objects, so UBSan is now always linked into the main executable, so now we can use similar initialization as all the rest sanitizers. llvm-svn: 213983
-
Eric Christopher authored
No functional change. llvm-svn: 213982
-
Alex Lorenz authored
This patch removes the empty coverage mapping regions. Those regions were produced by clang's old mapping region generation algorithm, but the new algorithm doesn't generate them. llvm-svn: 213981
-
Alexey Samsonov authored
Get rid of ASAN_USE_PREINIT_ARRAY and LSAN_USE_PREINIT_ARRAY - just always use .preinit_array if it's available. This mode seems stable enough, and we've been relying on default values of these macro for a long time. llvm-svn: 213980
-
Reid Kleckner authored
llvm-svn: 213979
-
Reid Kleckner authored
llvm-svn: 213978
-
Hal Finkel authored
Adds simple logical canonicalization of assumption intrinsics to instcombine, currently: - invariant(a && b) -> invariant(a); invariant(b) - invariant(!(a || b)) -> invariant(!a); invariant(!b) llvm-svn: 213977
-
Reid Kleckner authored
The target method of the thunk will perform the cleanup. This can't be tested in 32-bit x86 yet because passing something by value would create an inalloca, and we refuse to generate broken code for that. llvm-svn: 213976
-
Nico Weber authored
llvm-svn: 213975
-
NAKAMURA Takumi authored
llvm-svn: 213974
-
Hal Finkel authored
This is the first commit in a series that add an @llvm.assume intrinsic which can be used to provide the optimizer with a condition it may assume to be true (when the control flow would hit the intrinsic call). Some basic properties are added here: - llvm.invariant(true) is dead. - llvm.invariant(false) is unreachable (this directly corresponds to the documented behavior of MSVC's __assume(0)), so is llvm.invariant(undef). The intrinsic is tagged as writing arbitrarily, in order to maintain control dependencies. BasicAA has been updated, however, to return NoModRef for any particular location-based query so that we don't unnecessarily block code motion. llvm-svn: 213973
-
Joerg Sonnenberger authored
for NetBSD. llvm-svn: 213972
-
Warren Hunt authored
We no longer plan to use __except_hander3 and rather use custom personality functions per __try block. llvm-svn: 213971
-
Akira Hatanaka authored
<rdar://problem/12475629> llvm-svn: 213970
-
Rui Ueyama authored
The following expression m[i] = m[j] where m is a DenseMap and i != j is not safe. m[j] returns a reference, which would be invalidated when a rehashing occurs. If rehashing occurs to make room for m[i], m[j] becomes invalid, and that invalid reference would be used as the RHS value of the expression. llvm-svn: 213969
-
Fariborz Jahanian authored
expression is a forward declaration as this results in undefined behavior. rdar://17768630 llvm-svn: 213968
-
Akira Hatanaka authored
address of the stack guard was being spilled to the stack. Previously the address of the stack guard would get spilled to the stack if it was impossible to keep it in a register. This patch introduces a new target independent node and pseudo instruction which gets expanded post-RA to a sequence of instructions that load the stack guard value. Register allocator can now just remat the value when it can't keep it in a register. <rdar://problem/12475629> llvm-svn: 213967
-
Brad Smith authored
Patch by Pascal Stumpf. llvm-svn: 213966
-
Todd Fiala authored
The code had moved forward with changes for using ProcessLaunchInfo, but the documentation still referred to arguments that no longer get passed to these methods. llvm-svn: 213965
-
Rafael Espindola authored
Patch by Stephen Drake. llvm-svn: 213964
-
Rafael Espindola authored
llvm-svn: 213963
-
Johannes Doerfert authored
llvm-svn: 213962
-
Hal Finkel authored
Patch by Justin Hibbits! llvm-svn: 213960
-
Juergen Ributzka authored
This commit implements the frameaddress intrinsic for the AArch64 architecture in FastISel. There were two test cases that pretty much tested the same, so I combined them to a single test case. Fixes <rdar://problem/17811834> llvm-svn: 213959
-
David Majnemer authored
CL's /Zp flag is analogous to GCC's -fpack-struct, it controls the default maximum alignment of records. Differential Revision: http://reviews.llvm.org/D4671 llvm-svn: 213958
-