- Jan 28, 2014
-
-
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
-
Alexander Potapenko authored
This change is a part of refactoring intended to have common signal handling behavior in all tools. llvm-svn: 200295
-
Chandler Carruth authored
vectorizer, placing it behind an off-by-default flag. It turns out that block frequency isn't what we want at all, here or elsewhere. This has been I think a nagging feeling for several of us working with it, but Arnold has given some really nice simple examples where the results are so comprehensively wrong that they aren't useful. I'm planning to email the dev list with a summary of why its not really useful and a couple of ideas about how to better structure these types of heuristics. llvm-svn: 200294
-
Evgeniy Stepanov authored
llvm-svn: 200293
-
Nick Lewycky authored
llvm-svn: 200292
-
Alexey Samsonov authored
llvm-svn: 200291
-
-
Nick Lewycky authored
llvm-svn: 200289
-
Hal Finkel authored
GPRC_NOR0 is not a subclass of GPRC (because it also contains the ZERO pseudo register). As a result, we also need to check for it in the spilling code. llvm-svn: 200288
-
Craig Topper authored
Improve handling of EnforceSmallerThan. Remove all types that are smaller from the larger set not just the smallest type from the smaller set. Ensure 'smaller' vectors have the same or fewer total bits. Similar for 'larger' vectors. llvm-svn: 200287
-
Timur Iskhodzhanov authored
llvm-svn: 200285
-
Michel Danzer authored
Fixes half a dozen piglit tests with radeonsi. Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 200283
-
Jakob Stoklund Olesen authored
Also emit the stubs that were generated for references to typeinfo symbols. llvm-svn: 200282
-
Reid Kleckner authored
Summary: I searched Transforms/ and Analysis/ for 'ByVal' and updated those call sites to check for inalloca if appropriate. I added tests for any change that would allow an optimization to fire on inalloca. Reviewers: nlewycky Differential Revision: http://llvm-reviews.chandlerc.com/D2449 llvm-svn: 200281
-
Reid Kleckner authored
Tests r200279 in LLVM. llvm-svn: 200280
-
Reid Kleckner authored
This avoids miscompiling MS inline asm in LLVM where we have to infer clobbers. Test case forthcoming in Clang. llvm-svn: 200279
-
Rui Ueyama authored
llvm-svn: 200278
-
Aaron Ballman authored
Relaxing the alignment requirements for fields in a transparent_union. Emits the diagnostic only when subsequent alignments are more strict than the alignment required by the first field. Fixes PR15134 llvm-svn: 200277
-
Rui Ueyama authored
Because the object files are now readable to humans, I don't think we need the source assembly file any more, so I removed them too in this commit. llvm-svn: 200276
-