summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn
Commit message (Collapse)AuthorAgeFilesLines
...
* gn build: (manually) merge 08074cc9Nico Weber2019-10-256-2/+36
|
* gn build: make sync build work with git revs now that svn is goneNico Weber2019-10-221-15/+9
|
* gn build: Merge r375483GN Sync Bot2019-10-221-0/+1
| | | | llvm-svn: 375484
* gn build: Merge r375390GN Sync Bot2019-10-211-0/+1
| | | | llvm-svn: 375393
* gn build: Merge r375375GN Sync Bot2019-10-203-3/+0
| | | | llvm-svn: 375376
* gn build: Build compiler-rt code with -fvisibility=hidden.Peter Collingbourne2019-10-181-0/+1
| | | | | | | | This matches the CMake build. Differential Revision: https://reviews.llvm.org/D69202 llvm-svn: 375299
* gn build: Merge r375288GN Sync Bot2019-10-181-0/+1
| | | | llvm-svn: 375289
* gn build: Merge r375254GN Sync Bot2019-10-183-0/+3
| | | | llvm-svn: 375256
* gn build: Merge r374982GN Sync Bot2019-10-161-0/+1
| | | | llvm-svn: 374983
* gn build: Merge r374903GN Sync Bot2019-10-151-0/+1
| | | | llvm-svn: 374904
* gn build: Merge r374899GN Sync Bot2019-10-151-1/+0
| | | | llvm-svn: 374900
* gn build: Merge r374882GN Sync Bot2019-10-151-0/+1
| | | | llvm-svn: 374883
* Reapply r374743 with a fix for the ocaml bindingJoerg Sonnenberger2019-10-141-0/+1
| | | | | | | | | | | | | | | | | | | Add a pass to lower is.constant and objectsize intrinsics This pass lowers is.constant and objectsize intrinsics not simplified by earlier constant folding, i.e. if the object given is not constant or if not using the optimized pass chain. The result is recursively simplified and constant conditionals are pruned, so that dead blocks are removed even for -O0. This allows inline asm blocks with operand constraints to work all the time. The new pass replaces the existing lowering in the codegen-prepare pass and fallbacks in SDAG/GlobalISEL and FastISel. The latter now assert on the intrinsics. Differential Revision: https://reviews.llvm.org/D65280 llvm-svn: 374784
* Revert "Add a pass to lower is.constant and objectsize intrinsics"Dmitri Gribenko2019-10-141-1/+0
| | | | | | | This reverts commit r374743. It broke the build with Ocaml enabled: http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/19218 llvm-svn: 374768
* Add a pass to lower is.constant and objectsize intrinsicsJoerg Sonnenberger2019-10-131-0/+1
| | | | | | | | | | | | | | | | | This pass lowers is.constant and objectsize intrinsics not simplified by earlier constant folding, i.e. if the object given is not constant or if not using the optimized pass chain. The result is recursively simplified and constant conditionals are pruned, so that dead blocks are removed even for -O0. This allows inline asm blocks with operand constraints to work all the time. The new pass replaces the existing lowering in the codegen-prepare pass and fallbacks in SDAG/GlobalISEL and FastISel. The latter now assert on the intrinsics. Differential Revision: https://reviews.llvm.org/D65280 llvm-svn: 374743
* gn build: (manually) merge r374720Nico Weber2019-10-131-0/+1
| | | | llvm-svn: 374721
* gn build: Merge r374707GN Sync Bot2019-10-131-0/+1
| | | | llvm-svn: 374708
* Revert r374663 "[clang-format] Proposal for clang-format to give compiler ↵Nico Weber2019-10-121-1/+0
| | | | | | | | | | style warnings" The test fails on macOS and looks a bit wrong, see comments on the review. Also revert follow-up r374686. llvm-svn: 374688
* gn build: (manually) merge r374663Nico Weber2019-10-121-0/+1
| | | | llvm-svn: 374686
* gn build: (manually) merge r374606 betterNico Weber2019-10-111-2/+5
| | | | llvm-svn: 374611
* gn build: Merge r235758GN Sync Bot2019-10-111-0/+1
| | | | llvm-svn: 374610
* gn build: Cmanually) merge r374590Nico Weber2019-10-114-7/+58
| | | | llvm-svn: 374608
* gn build: (manually) merge r374110Nico Weber2019-10-111-0/+1
| | | | llvm-svn: 374575
* gn build: Merge r374558GN Sync Bot2019-10-111-0/+1
| | | | llvm-svn: 374560
* gn build: Merge r374476GN Sync Bot2019-10-101-0/+1
| | | | llvm-svn: 374482
* gn build: restore tablegen restat optimization after r373664Nico Weber2019-10-101-0/+2
| | | | llvm-svn: 374395
* gn build: merge r374381 more (effectively a no-op)Nico Weber2019-10-101-0/+1
| | | | llvm-svn: 374391
* gn build: Merge r374381GN Sync Bot2019-10-101-0/+2
| | | | llvm-svn: 374383
* gn build: Merge r374277GN Sync Bot2019-10-101-0/+1
| | | | llvm-svn: 374278
* gn build: (manually) merge r374271Nico Weber2019-10-105-7/+23
| | | | llvm-svn: 374272
* gn build: Merge r374245GN Sync Bot2019-10-091-0/+1
| | | | llvm-svn: 374260
* gn build: (manually) merge r374219Nico Weber2019-10-092-0/+14
| | | | llvm-svn: 374249
* Unify the two CRC implementationsHans Wennborg2019-10-091-1/+0
| | | | | | | | | | | | | | | | | | | | | David added the JamCRC implementation in r246590. More recently, Eugene added a CRC-32 implementation in r357901, which falls back to zlib's crc32 function if present. These checksums are essentially the same, so having multiple implementations seems unnecessary. This replaces the CRC-32 implementation with the simpler one from JamCRC, and implements the JamCRC interface in terms of CRC-32 since this means it can use zlib's implementation when available, saving a few bytes and potentially making it faster. JamCRC took an ArrayRef<char> argument, and CRC-32 took a StringRef. This patch changes it to ArrayRef<uint8_t> which I think is the best choice, and simplifies a few of the callers nicely. Differential revision: https://reviews.llvm.org/D68570 llvm-svn: 374148
* gn build: unbreak libcxx build after r374116 by restoring gen_link_script.py ↵Nico Weber2019-10-082-1/+51
| | | | | | for gn llvm-svn: 374129
* gn build: Merge r374062GN Sync Bot2019-10-081-1/+0
| | | | llvm-svn: 374065
* gn build: Merge r374061GN Sync Bot2019-10-081-0/+1
| | | | llvm-svn: 374064
* gn build: Merge r374058GN Sync Bot2019-10-081-0/+1
| | | | llvm-svn: 374059
* gn build: try to make system-libs.windows.test passNico Weber2019-10-071-1/+1
| | | | llvm-svn: 373948
* gn build: use better triple on windowsNico Weber2019-10-071-1/+1
| | | | | | | | | | | The CMake build uses "x86_64-pc-windows-msvc". The "-msvc" suffix is important because e.g. clang/test/lit.cfg.py matches against the suffix "windows-msvc" to compute the presence of the "ms-sdk" and the absence of the "LP64" feature. Differential Revision: https://reviews.llvm.org/D68572 llvm-svn: 373899
* gn build: no-op style tweak in sync scriptNico Weber2019-10-071-1/+0
| | | | llvm-svn: 373873
* gn build: make windows build less brokenNico Weber2019-10-061-0/+3
| | | | llvm-svn: 373858
* gn build: (manually) merge r373718Nico Weber2019-10-042-0/+17
| | | | llvm-svn: 373726
* gn build: Merge r373689GN Sync Bot2019-10-041-1/+1
| | | | llvm-svn: 373690
* Reland r349624: Let TableGen write output only if it changed, instead of ↵Nico Weber2019-10-031-5/+0
| | | | | | | | | | | doing so in cmake Move the write-if-changed logic behind a flag and don't pass it with the MSVC generator. msbuild doesn't have a restat optimization, so not doing write-if-change there doesn't have a cost, and it should fix whatever causes PR43385. llvm-svn: 373664
* gn build: (manually) merge 373651 betterNico Weber2019-10-031-1/+1
| | | | | | | | The reland uses a static library, not an object library. Doesn't really matter for the gn build, but it's probalby nice to have the same semantics for the target type. llvm-svn: 373660
* Reland "gn build: (manually) merge r373551"Nico Weber2019-10-034-0/+23
| | | | | | 373551 relanded in 373651. llvm-svn: 373654
* gn build: (manually) merge r373622Nico Weber2019-10-031-0/+9
| | | | llvm-svn: 373627
* gn build: Merge r373601GN Sync Bot2019-10-031-0/+1
| | | | llvm-svn: 373603
* gn build: Revert 373554 "gn build: (manually) merge r373551"Nico Weber2019-10-034-23/+0
| | | | | | r373551 was reverted in r373581. llvm-svn: 373586
* gn build: Merge r373556GN Sync Bot2019-10-031-1/+0
| | | | llvm-svn: 373558
OpenPOWER on IntegriCloud