- Jul 20, 2019
-
-
Serge Guelton authored
Fix llvm#39641 Recommit of r366413 Differential Revision: https://reviews.llvm.org/D63877 llvm-svn: 366632
-
Stefan Granitz authored
Summary: Make debugserver a tool like lldb-server, so it can be included/excluded via `LLDB_TOOL_DEBUGSERVER_BUILD`. This replaces the old `LLDB_NO_DEBUGSERVER` flag. Doing the same for darwin-debug while I am here. Reviewers: xiaobai, JDevlieghere, davide Reviewed By: xiaobai, JDevlieghere Subscribers: mgorny, lldb-commits, #lldb Tags: #lldb Differential Revision: https://reviews.llvm.org/D64994 llvm-svn: 366631
-
Richard Smith authored
llvm-svn: 366630
-
Aaron Ballman authored
llvm-svn: 366629
-
Aaron Ballman authored
llvm-svn: 366628
-
Richard Smith authored
Note that many of the paper links will be dead until the post-meeting mailing is released. llvm-svn: 366627
-
Aaron Ballman authored
This also bumps the attribute feature test value and introduces the notion of a C++2a extension warning. llvm-svn: 366626
-
Jessica Paquette authored
Sometimes, you can end up with cross-bank copies between same-sized GPRs and FPRs, which feed into G_STOREs. When these copies feed only into stores, they aren't necessary; we can just store using the original register bank. This provides some minor code size savings for some floating point SPEC benchmarks. (Around 0.2% for 453.povray and 450.soplex) This issue doesn't seem to show up due to regbankselect or anything similar. So, this patch introduces an early select function, `contractCrossBankCopyIntoStore` which performs the contraction when possible. The selector then continues normally and selects the correct store opcode, eliminating needless copies along the way. Differential Revision: https://reviews.llvm.org/D65024 llvm-svn: 366625
-
Guanzhong Chen authored
Summary: Add immutable WASM global `__tls_align` which stores the alignment requirements of the TLS segment. Add `__builtin_wasm_tls_align()` intrinsic to get this alignment in Clang. The expected usage has now changed to: __wasm_init_tls(memalign(__builtin_wasm_tls_align(), __builtin_wasm_tls_size())); Reviewers: tlively, aheejin, sbc100, sunfish, alexcrichton Reviewed By: tlively Subscribers: dschuff, jgravelle-google, hiraditya, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D65028 llvm-svn: 366624 -
Teresa Johnson authored
Summary: Regular LTO modules do not need LTO Unit splitting, only ThinLTO does (they must be consistently split into regular and Thin units for optimizations such as whole program devirtualization and lower type tests). In order to avoid spurious errors from LTO when combining with split ThinLTO modules, always set this flag for regular LTO modules. Reviewers: pcc Subscribers: mehdi_amini, Prazek, inglorion, steven_wu, dexonsmith, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D65009 llvm-svn: 366623
-
Daniel Sanders authored
There were two main problems: * The 'nativecodegen' pseudo-component was unconditionally adding ${native_tgt}CodeGen even though it conditionally added ${native_tgt}Info and ${native_tgt}Desc. This has been fixed by making ${native_tgt}CodeGen conditional too * The 'all' pseudo-component was causing library names like LLVMLLVMDemangle as the expansion was to a library name and not a component. There doesn't seem to be a list of available components anywhere so this has been fixed by moving the expansion of 'all' back where it was before. This manifested in different ways on different builders but it was the same root cause llvm-svn: 366622 -
Matt Arsenault authored
llvm-svn: 366621
-
Denis Bakhvalov authored
Change-Id: I5aee24dcdf6eebfbf788e52be22463387f23d927 llvm-svn: 366620
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D65007 llvm-svn: 366619
-
Matthew Voss authored
This reverts commit 8e462754. This was failing on sanitizer-x86_64-linux and our internal CI. llvm-svn: 366618
-
Sunil Srivastava authored
PS4 now only allows "cdecl", and its equivalent on PS4, "sysv_abi". Differential Revision: https://reviews.llvm.org/D64780 llvm-svn: 366617
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D65010 llvm-svn: 366616
-
Daniel Sanders authored
Some targets are missing LLVMDemangle, one is adding the LLVM prefix twice, and two are hitting the very error this patch fixes for my target. Reverting while I work through the reports. llvm-svn: 366615
-
Craig Topper authored
llvm-svn: 366614
-
Matt Arsenault authored
llvm-svn: 366613
-
Daniel Sanders authored
I believe this to have been a latent bug as the same expansion checks for the existence of ${native_tgt}Info and ${native_tgt}Desc and only adds them if they were compiled but unconditionally adds ${native_tgt}CodeGen. This should fix llvm-clang-x86_64-win-fast which builds ARM only on an X86 host and similar builders. llvm-svn: 366612 -
Craig Topper authored
llvm-svn: 366611
-
Daniel Sanders authored
Summary: If you use pseudo-targets like AllTargetsCodeGens in LLVM_DYLIB_COMPONENTS then a test will fail because `./bin/llvm-config --shared-mode` can't handle these targets. We can fix this by expanding them before embedding the string into llvm-config Reviewers: bogner Reviewed By: bogner Subscribers: mgorny, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65011 llvm-svn: 366610
-
Matt Arsenault authored
Avoid using custom code predicates. llvm-svn: 366609
-
Matt Arsenault authored
This only works if the high bits of m0 are also 0, so m0 would have to be set to 0xffff. llvm-svn: 366608
-
Matt Arsenault authored
This is apparently required to be the immediately following instruction, so force it into a bundle with a waitcnt. llvm-svn: 366607
-
Louis Dionne authored
Some minor versions of AppleClang 9 appear not to fail the test. It's such a mess that the only sane thing to do is to mark the test as UNSUPPORTED. llvm-svn: 366606
-
Matt Arsenault authored
The top-level BUNDLE instruction should behave as an ordinary instruction. It is supposed to have all relevant registers as implicit operands. Moving it should work as any other instruction. I believe the assert intended to avoid moving instructions inside bundles. llvm-svn: 366605
-
Louis Dionne authored
This reverts r366593, which caused unforeseen breakage on the build bots. I'm reverting until the problems have been figured out and fixed. llvm-svn: 366603
-
Michael Liao authored
Reviewers: arsenm Subscribers: qcolombet, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64273 llvm-svn: 366602
-
Louis Dionne authored
llvm-svn: 366601
-
Nick Desaulniers authored
This reverts commit r366523/ccbffefc. Two regressions were immediately reported: - https://github.com/ClangBuiltLinux/linux/issues/614 - https://github.com/ClangBuiltLinux/linux/issues/615 Reported-by: nathanchance llvm-svn: 366600
-
Matt Morehouse authored
r366399 enabled a couple tests that are failing on a few buildbots. llvm-svn: 366599
-
Stanislav Mekhanoshin authored
This change reverts most of the previous register name generation. The real problem is that RegisterTuple does not generate asm names. Added optional operand to RegisterTuple. This way we can simplify register name access and dramatically reduce the size of static tables for the backend. Differential Revision: https://reviews.llvm.org/D64967 llvm-svn: 366598
-
Matt Arsenault authored
The DAG lowering sets dereferencable and invariant, not nontemporal. llvm-svn: 366597
-
Matt Arsenault authored
I don't need this at the moment, but it should be here. llvm-svn: 366596
-
Shoaib Meenai authored
llvm-svn: 366595
-
Louis Dionne authored
llvm-svn: 366594
-
Louis Dionne authored
Summary: This commit allows specifying LIBCXX_ENABLE_PARALLEL_ALGORITHMS when configuring libc++ in CMake. When that option is enabled, libc++ will assume that the PSTL can be found somewhere on the CMake module path, and it will provide the C++17 parallel algorithms based on the PSTL (that is assumed to be available). The commit also adds support for running the PSTL tests as part of the libc++ test suite. Reviewers: rodgert, EricWF Subscribers: mgorny, christof, jkorous, dexonsmith, libcxx-commits, mclow.lists, EricWF Tags: #libc Differential Revision: https://reviews.llvm.org/D60480 llvm-svn: 366593
-
Ben Hamilton authored
Summary: Test Plan: New tests added. Ran tests with: % ninja FormatTests && ./tools/clang/unittests/Format/FormatTests Confirmed tests failed before change and passed after change. Reviewers: krasimir, djasper, sammccall, klimek Reviewed By: sammccall Subscribers: klimek, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D64775 llvm-svn: 366592
-