- Jan 28, 2014
-
-
Timur Iskhodzhanov authored
Reviewed at http://llvm-reviews.chandlerc.com/D2232 llvm-svn: 200340
-
Fariborz Jahanian authored
instead of crashing. // rdar://15824769. llvm-svn: 200338
-
Daniel Jasper authored
Before: ReturnType __attribute__((unused)) function(int i); After: ReturnType __attribute__((unused)) function(int i); This fixes llvm.org/PR18632. llvm-svn: 200337
-
Owen Anderson authored
llvm-svn: 200335
-
Nick Kledzik authored
llvm-svn: 200333
-
Matheus Almeida authored
As opposed to GCC/GAS the default ABI for Mips64 is n64. Compatibility bit should be set if o32 ABI is used when targeting Mips64. llvm-svn: 200332
-
Nick Kledzik authored
Makes it easy to use BumpPtrAllocator to make a copy of StringRef strings. llvm-svn: 200331
-
Simon Atanasyan authored
llvm-svn: 200328
-
Daniel Jasper authored
Before: optional int32 foo[ default = true, deprecated = true ]; After: optional int32 foo[default = true, deprecated = true]; llvm-svn: 200327
-
Greg Clayton authored
llvm-svn: 200326
-
Gautam Chakrabarti authored
The code was missing the case for aggregate parameters and hence was emitting them as .b0 type. Also fixed a couple of comments. llvm-svn: 200325
-
Andrea Di Biagio authored
This improves the fix committed at revision 199683 adding the following new target specific combine rules: 1) fold (v4i32: vselect <0,0,-1,-1>, A, B) -> (v4i32 (bitcast (movsd (v2i64 (bitcast A)), (v2i64 (bitcast B))) )) 2) fold (v4f32: vselect <0,0,-1,-1>, A, B) -> (v4f32 (bitcast (movsd (v2f64 (bitcast A)), (v2f64 (bitcast B))) )) 3) fold (v4i32: vselect <-1,-1,0,0>, A, B) -> (v4i32 (bitcast (movsd (v2i64 (bitcast B)), (v2i64 (bitcast A))) )) 4) fold (v4f32: vselect <-1,-1,0,0>, A, B) -> (v4f32 (bitcast (movsd (v2i64 (bitcast B)), (v2i64 (bitcast A))) )) llvm-svn: 200324
-
Adrian Prantl authored
llvm-svn: 200323
-
Rafael Espindola authored
When simplifycfg moves an instruction, it must drop metadata it doesn't know is still valid with the preconditions changes. In particular, it must drop the range and tbaa metadata. The patch implements this with an utility function to drop all metadata not in a white list. llvm-svn: 200322
-
Aaron Ballman authored
The llvm_headers_do_not_build project needs to be excluded from the default build, otherwise it gets built (at least in Visual Studio 2013). Thanks to chapuni200000 for help with this in IRC! llvm-svn: 200321
-
Daniel Jasper authored
Mozilla and WebKit seem to use a space after @property (verified by grepping their codebases) so we turn this on there as well. Change by Christian Legnitto. Thank you! llvm-svn: 200320
-
Alexander Potapenko authored
[ASan] Reinstate ASAN_LOW_MEMORY, which has nothing to do with signal handling and thus should not be moved to common. llvm-svn: 200319
-
Alexander Potapenko authored
llvm-svn: 200318
-
Joerg Sonnenberger authored
by Tim Northover. Written by Matt Thomas. Differential Revision: http://llvm-reviews.chandlerc.com/D2631 llvm-svn: 200317
-
Sergey Matveev authored
Express the strto* interceptors though macros. This removes a lot of duplicate code and fixes a couple of copypasto bugs (where "res" was declared of a different type than the actual return type). Also, add a few more interceptors for strto*_l. llvm-svn: 200316
-
Tobias Grosser authored
Verification of base addresses is difficult as the independent blocks pass may introduce aliasing that was not there during scop detection. As a midterm solution -polly-codegen-scev will remove the need for the independent blocks pass. For now, we do not verify at compile time that the independent blocks pass does not make the base addresses loop invariant. Disabling this just removes one of the multiple safety layers we have. We still can check for correctness in our regression tests. llvm-svn: 200315
-
Tobias Grosser authored
Array base addresses need to be invariant in the region considered. The base address has to be computed outside the region, or, when it is computed inside, the value must not change with the iterations of the loops. For example, when a two-dimensional array is represented as a pointer to pointers the base address A[i] in an access A[i][j] changes with i; therefore, such regions have to be rejected. Contributed by: Armin Größlinger <armin.groesslinger@uni-passau.de> llvm-svn: 200314
-
Andrea Di Biagio authored
Make sure that we don't introduce illegal build_vector dag nodes when trying to fold a sign_extend of a build_vector. This fixes a regression introduced by r200234. Added test CodeGen/X86/fold-vector-sext-crash.ll to verify that llc no longer crashes with an assertion failure due to an illegal build_vector of type MVT::v4i64. Thanks to Ilia Filippov for spotting this regression and for providing a reproducible test case. llvm-svn: 200313
-
Alexander Potapenko authored
llvm-svn: 200312
-
NAKAMURA Takumi authored
[CMake] llvm_update_compile_flags(name) doesn't require source files. TARGET PROPERTY SOURCES has them. llvm-svn: 200311
-
Alexander Potapenko authored
This change is a part of refactoring intended to have common signal handling behavior in all tools. Note that this particular change doesn't enable use_sigaltstack support in every tool. llvm-svn: 200310
-
Iain Sandoe authored
At present, this handles .tc (error) and needs to be expanded to deal properly with .machine llvm-svn: 200309
-
Dmitry Vyukov authored
They seems to be unused, but cause maintenance pain. llvm-svn: 200308
-
Amara Emerson authored
Arguments and return values must always be marshalled as for the base AAPCS when the callee is a variadic function. Patch by Oliver Stannard! llvm-svn: 200307
-
NAKAMURA Takumi authored
Sorry for the breakage. llvm-svn: 200306
-
Tobias Grosser authored
llvm-svn: 200305
-
Dmitry Vyukov authored
allow SIGABRT to spoil errno, because some real programs reset SIGABRT handler in the handler, re-raise SIGABRT and return from the handler llvm-svn: 200304
-
NAKAMURA Takumi authored
It is the final step to deprecate contextual CMAKE_CXX_FLAGS. llvm-svn: 200303
-
NAKAMURA Takumi authored
llvm-svn: 200302
-
NAKAMURA Takumi authored
[CMake] Enhance llvm_update_compile_flags(name sources) to handle LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI. LLVM_REQUIRES_EH implies LLVM_REQUIRES_RTTI. It is as same behavior as Makefile.rule's. llvm/examples/ExceptionDemo is affected. (It was built with -fno-rtti.) For MSVC, Remove flags like "/EHsc /GR" in HandleLLVMOptions, or CL.EXE complains with flags like "/GR /GR-". llvm_update_compile_flags() updates source file property if the target contains *.c. COMPILE_FLAGS in target properties affects both C++ and C! LLVM_NO_RTTI is deprecated. It was introduced by me and was my mistake. llvm-svn: 200301
-
NAKAMURA Takumi authored
llvm-svn: 200300
-
NAKAMURA Takumi authored
With this tweaks, also unittests are compiled with -ffunction-sections. It's hard to control contextual CMAKE_CXX_FLAGS. We should get rid of twiddling it as possible. llvm-svn: 200299
-
NAKAMURA Takumi authored
llvm-svn: 200298
-
NAKAMURA Takumi authored
llvm-svn: 200297
-
NAKAMURA Takumi authored
llvm-svn: 200296
-