- Nov 19, 2017
-
-
Craig Topper authored
Cannonlake comes after skylake and supports avx512 so this is probably a closer model for now. llvm-svn: 318613
-
Craig Topper authored
There are several patches out for review right now to implement Icelake features. This adds a CPU to collect them under. llvm-svn: 318612
-
Craig Topper authored
llvm-svn: 318611
-
Craig Topper authored
This uses the same encoding for cannonlake in the proposed gcc patches here. https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00551.html llvm-svn: 318610
-
Saleem Abdulrasool authored
This option is not used in the frontend. Remove the method. llvm-svn: 318609
-
Martell Malone authored
set -pie as default for musl linux targets add detection of alpine linux append appropriate compile flags for alpine Reviewers: rnk Differential Revision: https://reviews.llvm.org/D39588 llvm-svn: 318608
-
Eric Fiselier authored
Summary: Currently, LIT configures the LLVM binary path before the Clang binary path. However this breaks testing out-of-tree Clang builds (where the LLVM binary path includes a copy of Clang). This patch reverses the order of the paths when looking for Clang, putting the Clang binary directory first. Reviewers: zturner, beanz, chapuni, modocache, EricWF Reviewed By: EricWF Subscribers: mgorny, cfe-commits, llvm-commits Differential Revision: https://reviews.llvm.org/D40217 llvm-svn: 318607
-
Simon Pilgrim authored
llvm-svn: 318605
-
Simon Pilgrim authored
llvm-svn: 318603
-
Eric Fiselier authored
The CodeGenCoverage.h header is installed, but it references the build-only header "llvm/Config/config.h". This breaks use of the CodeGenCoverage.h header once it is installed, because config.h isn't available. This patch fixes the error by moving the config.h include from the CodeGenCoverage.h header (where it's not needed), to the CodeGenCoverage.cpp source file. llvm-svn: 318602
-
Jonas Hahnfeld authored
Some target devices (e.g. Nvidia GPUs) don't support dynamic stack allocation and hence no VLAs. Print errors with description instead of failing in the backend or generating code that doesn't work. This patch handles explicit uses of VLAs (local variable in target or declare target region) or implicitly generated (private) VLAs for reductions on VLAs or on array sections with non-constant size. Differential Revision: https://reviews.llvm.org/D39505 llvm-svn: 318601
-
Jonas Toth authored
Summary: This check searches for missing `else` branches in `if-else if`-chains and missing `default` labels in `switch` statements, that use integers as condition. It is very similar to -Wswitch, but concentrates on integers only, since enums are already covered. The option to warn for missing `else` branches is deactivated by default, since it is very noise on larger code bases. Running it on LLVM: {F5354858} for default configuration {F5354866} just for llvm/lib/Analysis/ScalarEvolution.cpp, the else-path checker is very noisy! Reviewers: alexfh, aaron.ballman, hokein Reviewed By: aaron.ballman Subscribers: lebedev.ri, Eugene.Zelenko, cfe-commits, mgorny, JDevlieghere, xazax.hun Tags: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D37808 llvm-svn: 318600 -
Simon Pilgrim authored
PR34553 has gone, adding tests to ensure it doesn't come back. vselect_packss_v16i64 still has some awful codegen on AVX512 targets.... llvm-svn: 318599
-
Sanjay Patel authored
After clarification about the C standard, POSIX, and implementations: The C standard allows errno-setting, and it's (unfortunately for optimization) even more clearly stated in the newer additions to the standards. We can leave these functions as always constant ('c') because they don't actually do any math and therefore won't set errno: cimag ( http://en.cppreference.com/w/c/numeric/complex/cimag ) creal ( http://en.cppreference.com/w/c/numeric/complex/creal ) cproj ( http://en.cppreference.com/w/c/numeric/complex/cproj ) conj (http://en.cppreference.com/w/c/numeric/complex/conj ) Differential Revision: https://reviews.llvm.org/D39611 llvm-svn: 318598 -
Craig Topper authored
This requires the indices to be legalized and sign extended. llvm-svn: 318597
-
Craig Topper authored
We don't need a dyn_cast, the predicate already specified the base node. We only need to check the type of the index, the base ptr is guaranteed to be scalar. llvm-svn: 318596
-
Craig Topper authored
I'm playing around with this flag and these places cause errors if not qualified. llvm-svn: 318595
-
Simon Pilgrim authored
As discussed on PR35295, but it causes regressions in combineSubToSubus which need to be addressed first llvm-svn: 318594
-
Florian Hahn authored
Summary: With this patch I tried to reduce the complexity of the code sightly, by removing some indirection. Please let me know what you think. Reviewers: junbuml, mcrosier, davidxl Reviewed By: junbuml Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D40037 llvm-svn: 318593
-
Sanjay Patel authored
llvm-svn: 318592
-
- Nov 18, 2017
-
-
Martin Storsjo authored
This makes sure that functions that only clobber xmm registers (on win64) also get the right cfi directives, if dwarf exceptions are enabled. Differential Revision: https://reviews.llvm.org/D40191 llvm-svn: 318591
-
Craig Topper authored
llvm-svn: 318590
-
Quentin Colombet authored
We used to detect loads feeding fp instructions, but we were failing to take into account cases where this happens through copies. For instance, loads can fed copies coming from the ABI lowering of floating point arguments/results. llvm-svn: 318589
-
Quentin Colombet authored
We used to detect that stores were fed by fp instructions, but we were failing to take into account cases where this happens through copies. For instance, stores can be fed by copies coming from the ABI lowering of floating point arguments. llvm-svn: 318588
-
Quentin Colombet authored
Instead of asserting that the type sizes are exactly equal, we check that the new size is big enough to contain the original type. We have to relax this constrain because, right now, we sometimes specify that things that are smaller than a storage type are legal instead of widening everything to the size of a storage type. E.g., we say that G_AND s16 is legal and we map that on GPR32. This is something we may revisit in the future (either by changing the legalization process or keeping track separately of the storage size and the size of the type), but let us reflect the reality of the situation for now. llvm-svn: 318587
-
Quentin Colombet authored
Turns out this copies can actually occur because of the way we lower the ABI for half. llvm-svn: 318586
-
Rafael Espindola authored
llvm-svn: 318584
-
Rafael Espindola authored
By having an UTF-16 version we avoid some code duplication in calling GetFinalPathNameByHandleW. llvm-svn: 318583
-
Eugene Zelenko authored
llvm-svn: 318582
-
Walter Lee authored
We were not doing that for large shadow granularity. Also add more stack frame layout tests for large shadow granularity. Differential Revision: https://reviews.llvm.org/D39475 llvm-svn: 318581
-
Davide Italiano authored
llvm-svn: 318580
-
Davide Italiano authored
llvm-svn: 318579
-
Hans Wennborg authored
llvm-svn: 318578
-
Davide Italiano authored
llvm-svn: 318577
-
Davide Italiano authored
This sketching can be resurrected if anybody needs it, although I doubt is relevant these days. llvm-svn: 318576
-
Evgeniy Stepanov authored
Revert the following commits: r318369 [asan] Fallback to non-ifunc dynamic shadow on android<22. r318235 [asan] Prevent rematerialization of &__asan_shadow. r317948 [sanitizer] Remove unnecessary attribute hidden. r317943 [asan] Use dynamic shadow on 32-bit Android. MemoryRangeIsAvailable() reads /proc/$PID/maps into an mmap-ed buffer that may overlap with the address range that we plan to use for the dynamic shadow mapping. This is causing random startup crashes. llvm-svn: 318575
-
Daniel Sanders authored
ptypeN is functionally the same as typeN except that it informs the SelectionDAG importer that an operand should be treated as a pointer even if it was written as iN. This is important for patterns that use iN instead of iPTR to represent pointers. E.g.: (set GPR64:$dst, (load GPR64:$addr)) Previously, this was handled as a hardcoded special case for the appropriate operands to G_LOAD and G_STORE. llvm-svn: 318574
-
Evgeniy Stepanov authored
"ln" from toybox does not understand -f (force) flag. llvm-svn: 318573
-
Reid Kleckner authored
This functionality was broken during a refactor a while back because 'pool' is no longer in scope. llvm-svn: 318572
-
Petr Hosek authored
The passthrough is useful for setting up the options for the default build, but we already have a different mechanism to pass CMake flags to builds for builtins and runtimes targets so this is not really needed there. Furthermore, when the flags are set for the default build, with the prefix passthrough set we have to explicitly override all options in other targets which can be cumbersome. Differential Revision: https://reviews.llvm.org/D39988 llvm-svn: 318571
-