FailedChanges

Summary

  1. [lit] Bring back `--threads` option alias Bring back `--threads` option which was lost in the move of the command line argument parsing code to cl_arguments.py. Update docs since `--workers` is preferred.
  2. [X86] Use packusdw+vpmovuswb to implement v16i32->V16i8 that clamps signed inputs to be between 0 and 255 when zmm registers are disabled on SKX. If we've disable zmm registers, the v16i32 will need to be split. This split will propagate through min/max the truncate. This creates two sequences that need to be concatenated back to v16i8. We can instead use packusdw to do part of the clamping, truncating, and concatenating all at once. Then we can use a vpmovuswb to finish off the clamp. Differential Revision: https://reviews.llvm.org/D68763
  3. Revert r374388: "[lit] Make internal diff work in pipelines" This breaks a Windows bot.
  4. [PowerPC][docs] Update IBM official docs in Compiler Writers Info page Summary: Just realized that most of the links in this page are deprecated. So update some important reference here: * adding PowerISA 3.0B/2.7B * adding P8/P9 User Manual * ELFv2 ABI and errata Move deprecated ones into "Other documents..". Reviewers: #powerpc, hfinkel, nemanjai Reviewed By: hfinkel Subscribers: shchenz, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68817
  5. Revert r374389: "[lit] Clean up internal diff's encoding handling" This breaks a Windows bot.
  6. Revert r374390: "[lit] Extend internal diff to support `-` argument" This breaks a Windows bot.
  7. Revert r374392: "[lit] Extend internal diff to support -U" This breaks a Windows bot.
  8. win: Move Parallel.h off concrt to cross-platform code r179397 added Parallel.h and implemented it terms of concrt in 2013. In 2015, a cross-platform implementation of the functions has appeared and is in use everywhere but on Windows (r232419). r246219 hints that <thread> had issues in MSVC2013, but r296906 suggests they've been fixed now that we require 2015+. So remove the concrt code. It's less code, and it sounds like concrt has conceptual and performance issues, see PR41198. I built blink_core.dll in a debug component build with full symbols and in a release component build without any symbols. I couldn't measure a performance difference for linking blink_core.dll before and after this patch. Differential Revision: https://reviews.llvm.org/D68820
  9. [NFC][PowerPC]Clean up PPCAsmPrinter for TOC related pseudo opcode Add a helper function getMCSymbolForTOCPseudoMO to clean up PPCAsmPrinter a little bit. Differential Revision: https://reviews.llvm.org/D68721
  10. [ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 2. Just running -fsyntax-only over arm_neon.h doesn't cover some intrinsics which are defined using macros. Add more test coverage for that. arm-neon-header.c wasn't checking the full set of available NEON target features; change the target architecture of the test to account for that. Fix the generator for arm_neon.h to generate casts in more cases where they are necessary. Fix VFMLAL_LOW etc. to express their signatures differently, so the builtins have the expected type. Maybe the TableGen backend should detect intrinsics that are defined the wrong way, and produce an error. The rules here are sort of strange. Differential Revision: https://reviews.llvm.org/D68743
  11. Fix one more clang test which didn't have \5C in it
  12. Update clang tests for new LLVM IR backslash printing in r374415
  13. Print quoted backslashes in LLVM IR as \\ instead of \5C This improves readability of Windows path string literals in LLVM IR. The LLVM assembler has supported \\ in IR strings for a long time, but the lexer doesn't tolerate escaped quotes, so they have to be printed as \22 for now.
  14. Fix Windows build after r374381
  15. Remove strings.h include to fix GSYM Windows build Fifth time's the charm.
  16. Unbreak buildbots.
  17. Fix buildbots by using memset instead of bzero.
  18. [libc++][test] Change IsSmallObject's calculation for std::any's small object buffer `sizeof(std::any) - sizeof(void*)` is correct for both libc++ and the MSVC standard library. Differential Revision: https://reviews.llvm.org/D68756
  19. Fix build by adding the missing dependency.
  20. [lit] Leverage argparse features to remove some code Reviewed By: rnk, serge-sans-paille Differential Revision: https://reviews.llvm.org/D68589
  21. Fix test to avoid check-not matching the temp file absolute path Fix for PR43636
  22. Re-land "Use -fdebug-compilation-dir to form absolute paths in coverage mappings" This reverts r374324 (git commit 62808631acceaa8b78f8ab9b407eb6b943ff5f77) I changed the test to not rely on finding the sequence "clang, test, CoverageMapping" in the CWD used to run the test. Instead it makes its own internal directory hierarchy of foo/bar/baz and looks for that.
  23. [lit] Move argument parsing/validation to separate file Reviewed By: serge-sans-paille Differential Revision: https://reviews.llvm.org/D68529
  24. [clang-format] throws an incorrect assertion in consumeToken() formatting the MSVC stl Summary: An incorrect assertion is thrown when clang-formatting MSVC's STL library ``` Assertion failed: !Line.startsWith(tok::hash), file C:/llvm/llvm-project/clang/lib/Format/TokenAnnotator.cpp, line 847 Stack dump: 0. Program arguments: C:\llvm\build\bin\clang-format.exe -i -n ./stl/inc/xkeycheck.h ``` ``` Enable warning C4005 to find the forbidden define. ``` Reviewers: mitchell-stellar, STL_MSFT, klimek, krasimir Reviewed By: mitchell-stellar Subscribers: cfe-commits Tags: #clang-format, #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D68707
  25. Unbreak llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast buildbot.
  26. [DAGCombiner] fold select-of-constants to shift This reverses the scalar canonicalization proposed in D63382. Pre: isPowerOf2(C1) %r = select i1 %cond, i32 C1, i32 0 => %z = zext i1 %cond to i32 %r = shl i32 %z, log2(C1) https://rise4fun.com/Alive/Z50 x86 already tries to fold this pattern, but it isn't done uniformly, so we still see a diff. AArch64 probably should enable the TLI hook to benefit too, but that's a follow-on.
  27. Unbreak windows buildbots.
  28. gn build: restore tablegen restat optimization after r373664
  29. [lit] Extend internal diff to support -U When using lit's internal shell, RUN lines like the following accidentally execute an external `diff` instead of lit's internal `diff`: ``` # RUN: program | diff -U1 file - ``` Such cases exist now, in `clang/test/Analysis` for example. We are preparing patches to ensure lit's internal `diff` is called in such cases, which will then fail because lit's internal `diff` doesn't recognize `-U` as a command-line option. This patch adds `-U` support. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D68668
  30. gn build: merge r374381 more (effectively a no-op)
  31. [lit] Extend internal diff to support `-` argument When using lit's internal shell, RUN lines like the following accidentally execute an external `diff` instead of lit's internal `diff`: ``` # RUN: program | diff file - ``` Such cases exist now, in `clang/test/Analysis` for example. We are preparing patches to ensure lit's internal `diff` is called in such cases, which will then fail because lit's internal `diff` doesn't recognize `-` as a command-line option. This patch adds support for `-` to mean stdin. Reviewed By: probinson, rnk Differential Revision: https://reviews.llvm.org/D67643
  32. [lit] Clean up internal diff's encoding handling As suggested by rnk at D67643#1673043, instead of reading files multiple times until an appropriate encoding is found, read them once as binary, and then try to decode what was read. For python >= 3.5, don't fail when attempting to decode the `diff_bytes` output in order to print it. Finally, add some tests for encoding handling. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D68664
  33. [lit] Make internal diff work in pipelines When using lit's internal shell, RUN lines like the following accidentally execute an external `diff` instead of lit's internal `diff`: ``` # RUN: program | diff file - # RUN: not diff file1 file2 | FileCheck %s ``` Such cases exist now, in `clang/test/Analysis` for example. We are preparing patches to ensure lit's internal `diff` is called in such cases, which will then fail because lit's internal `diff` cannot currently be used in pipelines and doesn't recognize `-` as a command-line option. To enable pipelines, this patch moves lit's `diff` implementation into an out-of-process script, similar to lit's `cat` implementation. A follow-up patch will implement `-` to mean stdin. Reviewed By: probinson, stella.stamenova Differential Revision: https://reviews.llvm.org/D66574
  34. [OPENMP50]Support for declare variant directive for NVPTX target. NVPTX does not support global aliases. Instead, we have to copy the full body of the variant function for the original function.
  35. Reland "[ASan] Do not misrepresent high value address dereferences as null dereferences" Updated: Removed offending TODO comment. Dereferences with addresses above the 48-bit hardware addressable range produce "invalid instruction" (instead of "invalid access") hardware exceptions (there is no hardware address decoding logic for those bits), and the address provided by this exception is the address of the instruction (not the faulting address). The kernel maps the "invalid instruction" to SEGV, but fails to provide the real fault address. Because of this ASan lies and says that those cases are null dereferences. This downgrades the severity of a found bug in terms of security. In the ASan signal handler, we can not provide the real faulting address, but at least we can try not to lie. rdar://50366151 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D68676 llvm-svn: 374265
  36. gn build: Merge r374381
  37. Add GsymCreator and GsymReader. This patch adds the ability to create GSYM files with GsymCreator, and read them with GsymReader. Full testing has been added for both new classes. This patch differs from the original patch https://reviews.llvm.org/D53379 in that is uses a StringTableBuilder class from llvm instead of a custom version. Support for big and little endian files has been added. If the endianness matches the current host, we use efficient extraction for the header, address table and address info offset tables. Differential Revision: https://reviews.llvm.org/D68744
  38. [dsymutil] Move CommonSymbols.clear() in resetParserState. This seems like a more natural place to clear the vector, especially since this method is clearing other data structures as well.
  39. [ARM] VQSUB instruction Same as VQADD, VQSUB can be selected from llvm.ssub.sat intrinsics. Differential Revision: https://reviews.llvm.org/D68567
  40. [Codegen] Alter the default promotion for saturating adds and subs The default promotion for the add_sat/sub_sat nodes currently does: 1. ANY_EXTEND iN to iM 2. SHL by M-N 3. [US][ADD|SUB]SAT 4. L/ASHR by M-N If the promoted add_sat or sub_sat node is not legal, this can produce code that effectively does a lot of shifting (and requiring large constants to be materialised) just to use the overflow flag. It is simpler to just do the saturation manually, using the higher bitwidth addition and a min/max against the saturating bounds. That is what this patch attempts to do. Differential Revision: https://reviews.llvm.org/D68643
  41. Fix assertions disabled builds after rL374367
  42. [DAGCombiner] reduce code duplication; NFC
  43. [Alignment][NFC] Use llv::Align in GISelKnownBits Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Reviewers: courbet Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68786
  44. [BPF] Remove relocation for patchable externs Previously, patchable extern relocations are introduced to patch external variables used for multi versioning in compile once, run everywhere use case. The load instruction will be converted into a move with an patchable immediate which can be changed by bpf loader on the host. The kernel verifier has evolved and is able to load and propagate constant values, so compiler relocation becomes unnecessary. This patch removed codes related to this. Differential Revision: https://reviews.llvm.org/D68760
  45. In openFileForRead don't cache erroneous entries if the error relates to them being directories. Add tests. Summary: It seems that when the CachingFileSystem is first given a file to open that is actually a directory, it incorrectly caches that path to be errenous and throws an error when subsequently a directory open call is made for the same path. This change makes it so that we do NOT cache a path if it turns out we asked for a file when its a directory. Reviewers: arphaman Subscribers: dexonsmith, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D68193
  46. [AMDGPU] Fixed dpp_combine.mir with expensive checks. NFC.
  47. Fix Wdocumentation warnings. NFCI.
  48. [OPENMP50]Register vendor name only once in vendor context selector. No need to store multiple copies of the same vendor names in the context selector, keep only single copy.
  49. [MCA] Show aggregate over Average Wait times for the whole snippet (PR43219) Summary: As disscused in https://bugs.llvm.org/show_bug.cgi?id=43219, i believe it may be somewhat useful to show //some// aggregates over all the sea of statistics provided. Example: ``` Average Wait times (based on the timeline view): [0]: Executions [1]: Average time spent waiting in a scheduler's queue [2]: Average time spent waiting in a scheduler's queue while ready [3]: Average time elapsed from WB until retire stage [0] [1] [2] [3] 0. 3 1.0 1.0 4.7 vmulps %xmm0, %xmm1, %xmm2 1. 3 2.7 0.0 2.3 vhaddps %xmm2, %xmm2, %xmm3 2. 3 6.0 0.0 0.0 vhaddps %xmm3, %xmm3, %xmm4 3 3.2 0.3 2.3 <total> ``` I.e. we average the averages. Reviewers: andreadb, mattd, RKSimon Reviewed By: andreadb Subscribers: gbedwell, arphaman, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68714
  50. Revert "[FileCheck] Implement --ignore-case option." This reverts commit r374339. It broke tests: http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/19066
  51. Revert "[Tests] Output of od can be lower or upper case (llvm-objcopy/yaml2obj)." This reverts commit r374343. It broke tests: http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/19066
  52. Revert "Fix OCaml/core.ml fneg check" This reverts commit r374346. It attempted to fix OCaml tests, but is does not actually fix them.
  53. [X86] combineFMA - Convert to use isNegatibleForFree/GetNegatedExpression. Split off from D67557.
  54. Fix OCaml/core.ml fneg check (try 2)
  55. Revert "[IRBuilder] Update IRBuilder::CreateFNeg(...) to return a UnaryOperator" This reverts commit r374240. It broke OCaml tests: http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/19014
  56. [X86] combineFMADDSUB - Convert to use isNegatibleForFree/GetNegatedExpression. Split off from D67557, fixes the compile time regression mentioned in rL372756
  57. Revert "[test] Use system locale for mri-utf8.test" This reverts commit r374318 / b6f1d1fa0e3ee0e25f22414bf97c05276b934507.
  58. Revert "[AMDGPU] Run `unreachable-mbb-elimination` after isel to clean up PHIs." Summary: This has been superseded by "[AMDGPU]: PHI Elimination hooks added for custom COPY insertion." This reverts the code changes from commit 53f967f2bdb6aa7b08596880c3689d1ecad6f0ff but keeps the test case. Reviewers: hliao, arsenm, tpr, dstuttard Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, t-tye, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68769
  59. Fix OCaml/core.ml fneg check
  60. [DAG][X86] Add isNegatibleForFree/GetNegatedExpression override placeholders. NFCI. Continuing to undo the rL372756 reversion. Differential Revision: https://reviews.llvm.org/D67557
  61. [llvm-readelf] - Do not enter an infinite loop when printing histogram. This is similar to D68086. We are entering an infinite loop when dumping a histogram for a specially crafted .hash section with a loop in a chain. Differential revision: https://reviews.llvm.org/D68771
  62. [Tests] Output of od can be lower or upper case (llvm-objcopy/yaml2obj). The command `od -t x` is used to dump data in hex format. The LIT tests assumes that the hex characters are in lowercase. However, there are also platforms which use uppercase letter. To solve this issue the tests are updated to use the new `--ignore-case` option of FileCheck. Reviewers: Bigcheese, jakehehrlich, rupprecht, espindola, alexshap, jhenderson Differential Revision: https://reviews.llvm.org/D68693
  63. [DAGCombine] Match more patterns for half word bswap Summary: It ensures that the bswap is generated even when a part of the subtree already matches a bswap transform. Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68250
  64. [FileCheck] Implement --ignore-case option. The FileCheck utility is enhanced to support a `--ignore-case` option. This is useful in cases where the output of Unix tools differs in case (e.g. case not specified by Posix). Reviewers: Bigcheese, jakehehrlich, rupprecht, espindola, alexshap, jhenderson, MaskRay Differential Revision: https://reviews.llvm.org/D68146
  65. [LV][NFC] Factor out calculation of "best" estimated trip count. This is just small refactoring to minimize changes in upcoming patch. In the next path I'm going to introduce changes into heuristic for vectorization of "tiny trip count" loops. Patch by Evgeniy Brevnov <evgueni.brevnov@gmail.com> Reviewers: hsaito, Ayal, fhahn, reames Reviewed By: hsaito Differential Revision: https://reviews.llvm.org/D67690
  66. MinidumpYAML: Add support for the memory info list stream Summary: The implementation is fairly straight-forward and uses the same patterns as the existing streams. The yaml form does not attempt to preserve the data in the "gaps" that can be created by setting a larger-than-required header or entry size in the stream header, because the existing consumer (lldb) does not make use of the information in the gap in any way, and attempting to preserve that would make the implementation more complicated. Reviewers: amccarth, jhenderson, clayborg Subscribers: llvm-commits, lldb-commits, markmentovai, zturner, JosephTremoulet Tags: #llvm Differential Revision: https://reviews.llvm.org/D68645
  67. [ARM] VQADD instructions This selects MVE VQADD from the vector llvm.sadd.sat or llvm.uadd.sat intrinsics. Differential Revision: https://reviews.llvm.org/D68566
  68. [AArch64][x86] add tests for (v)select bit magic; NFC
  69. [Sanitizers] Fix getrandom test
  70. [Alignment][NFC] Make VectorUtils uas llvm::Align Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Reviewers: courbet Subscribers: hiraditya, rogfer01, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68784
  71. [AST] ASTReader::ReadSLocEntry(): move computation of FirstDecl into the branch where it's used The existing code is not defined, you are not allowed to produce non-null pointer from null pointer (F->FileSortedDecls here). That being said, i'm not really confident this is fix-enough, but we'll see. FAIL: Clang :: Modules/no-module-map.cpp (6879 of 16079) ******************** TEST 'Clang :: Modules/no-module-map.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -fmodules-ts -fmodule-name=ab -x c++-header /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map/a.h /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map/b.h -emit-header-module -o /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm : 'RUN: at line 2'; /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -fmodules-ts -fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp -I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map -verify : 'RUN: at line 3'; /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -fmodules-ts -fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp -I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map -verify -DA : 'RUN: at line 4'; /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -fmodules-ts -fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp -I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map -verify -DB : 'RUN: at line 5'; /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -fmodules-ts -fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp -I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map -verify -DA -DB : 'RUN: at line 7'; /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -E /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm -o - | /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp : 'RUN: at line 8'; /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -frewrite-imports -E /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm -o - | /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp -- Exit Code: 2 Command Output (stderr): -- /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Serialization/ASTReader.cpp:1526:50: runtime error: applying non-zero offset 8 to null pointer #0 0x3a9bd0c in clang::ASTReader::ReadSLocEntry(int) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Serialization/ASTReader.cpp:1526:50 #1 0x328b6f8 in clang::SourceManager::loadSLocEntry(unsigned int, bool*) const /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Basic/SourceManager.cpp:461:28 #2 0x328b351 in clang::SourceManager::initializeForReplay(clang::SourceManager const&) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Basic/SourceManager.cpp:399:11 #3 0x3996c71 in clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&, clang::FrontendInputFile const&) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Frontend/FrontendAction.cpp:581:27 #4 0x394f341 in clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:956:13 #5 0x3a8a92b in clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:290:25 #6 0xaf8d62 in cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/cc1_main.cpp:250:15 #7 0xaf1602 in ExecuteCC1Tool /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/driver.cpp:309:12 #8 0xaf1602 in main /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/driver.cpp:382:12 #9 0x7f2c1eecc2e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0) #10 0xad57f9 in _start (/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang-10+0xad57f9) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Serialization/ASTReader.cpp:1526:50 in
  72. [ADR] ArrayRefTest: disable SizeTSizedOperations test - it's UB. This test is not defined. FAIL: LLVM-Unit :: ADT/./ADTTests/ArrayRefTest.SizeTSizedOperations (178 of 33926) ******************** TEST 'LLVM-Unit :: ADT/./ADTTests/ArrayRefTest.SizeTSizedOperations' FAILED ******************** Note: Google Test filter = ArrayRefTest.SizeTSizedOperations [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from ArrayRefTest [ RUN ] ArrayRefTest.SizeTSizedOperations /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:180:32: runtime error: applying non-zero offset 9223372036854775806 to null pointer #0 0x5ae8dc in llvm::ArrayRef<char>::slice(unsigned long, unsigned long) const /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:180:32 #1 0x5ae44c in (anonymous namespace)::ArrayRefTest_SizeTSizedOperations_Test::TestBody() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/unittests/ADT/ArrayRefTest.cpp:85:3 #2 0x928a96 in testing::Test::Run() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2474:5 #3 0x929793 in testing::TestInfo::Run() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2656:11 #4 0x92a152 in testing::TestCase::Run() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2774:28 #5 0x9319d2 in testing::internal::UnitTestImpl::RunAllTests() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:4649:43 #6 0x931416 in testing::UnitTest::Run() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:4257:10 #7 0x920ac3 in RUN_ALL_TESTS /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h:2233:46 #8 0x920ac3 in main /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/UnitTestMain/TestMain.cpp:50:10 #9 0x7f66135b72e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0) #10 0x472c19 in _start (/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/unittests/ADT/ADTTests+0x472c19) SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:180:32 in
  73. Fix -Wparentheses warning. NFCI.
  74. Revert "Use -fdebug-compilation-dir to form absolute paths in coverage mappings" This reverts commit f6777964bde28c349d3e289ea37ecf5f5eeedbc4. Because the absolute path check relies on temporary path containing "clang", "test" and "CoverageMapping" as a subsequence, which is not necessarily true on all systems(breaks internal integrates). Wanted to fix it by checking for a leading "/" instead, but then noticed that it would break windows tests, so leaving it to the author instead.
  75. Fix sanitizer lint check after r374315
  76. [Mips] Fix 374055 EXPENSIVE_CHECKS build was failing on new test. This is fixed by marking $ra register as undef. Test now has -verify-machineinstrs to check for operand flags.
  77. [test] Use system locale for mri-utf8.test Summary: llvm-ar's mri-utf8.test test relies on the en_US.UTF-8 locale to be installed for its last RUN line to work. If not installed, the unicode string gets encoded (interpreted) as ascii which fails since the most significant byte is non zero. This commit changes the test to only rely on the system being able to encode the pound sign in its default encoding (e.g. UTF-16 for Microsoft Windows) by always opening the file via input/output redirection. This avoids forcing a given locale to be present and supported. A Byte Order Mark is also added to help recognizing the encoding of the file and its endianness. Reviewers: gbreynoo, MaskRay, rupprecht, JamesNagurne, jfb Subscribers: dexonsmith, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68472
  78. [UBSan] Appease linter
  79. [Sanitizers] Porting getrandom/getentropy interceptors to FreeBSD - Available from 12.x branch, by the time it lands next year in FreeBSD tree, the 11.x's might be EOL. - Intentionally changed the getrandom test to C code as with 12.0 (might be fixed in CURRENT since), there is a linkage issue in C++ context. Reviewers: emaste, dim, vitalybuka Reviewed-By: vitalybuka Differential Revision: https://reviews.llvm.org/D68451
  80. [UBSan] Split nullptr-and-nonzero-offset-variable.c in another direction
  81. Revert "[ASan] Do not misrepresent high value address dereferences as null dereferences" As it was breaking bots running sanitizer lint check This reverts r374265 (git b577efe4567f1f6a711ad36e1d17280dd1c4f009)
  82. [UBSan] Split nullptr-and-nonzero-offset-variable.cpp into C and C++ variants I do not understand the BB failire, it fully passes locally.
  83. [IfCvt][ARM] Optimise diamond if-conversion for code size Currently, the heuristics the if-conversion pass uses for diamond if-conversion are based on execution time, with no consideration for code size. This adds a new set of heuristics to be used when optimising for code size. This is mostly target-independent, because the if-conversion pass can see the code size of the instructions which it is removing. For thumb, there are a few passes (insertion of IT instructions, selection of narrow branches, and selection of CBZ instructions) which are run after if conversion and affect these heuristics, so I've added target hooks to better predict the code-size effect of a proposed if-conversion. Differential revision: https://reviews.llvm.org/D67350
  84. [UBSan] Revisit nullptr-and-nonzero-offset-variable.cpp test to hopefully make it pass on sanitizer-windows BB
  85. Remove rest of time-trace message as it is inconsistent style Other options which create output files don't produce output messages. Improve documentation to help find trace file. Differential Revision: https://reviews.llvm.org/D68710
  86. [UBSan][clang][compiler-rt] Applying non-zero offset to nullptr is undefined behaviour Summary: Quote from http://eel.is/c++draft/expr.add#4: ``` 4 When an expression J that has integral type is added to or subtracted from an expression P of pointer type, the result has the type of P. (4.1) If P evaluates to a null pointer value and J evaluates to 0, the result is a null pointer value. (4.2) Otherwise, if P points to an array element i of an array object x with n elements ([dcl.array]), the expressions P + J and J + P (where J has the value j) point to the (possibly-hypothetical) array element i+j of x if 0≤i+j≤n and the expression P - J points to the (possibly-hypothetical) array element i−j of x if 0≤i−j≤n. (4.3) Otherwise, the behavior is undefined. ``` Therefore, as per the standard, applying non-zero offset to `nullptr` (or making non-`nullptr` a `nullptr`, by subtracting pointer's integral value from the pointer itself) is undefined behavior. (*if* `nullptr` is not defined, i.e. e.g. `-fno-delete-null-pointer-checks` was *not* specified.) To make things more fun, in C (6.5.6p8), applying *any* offset to null pointer is undefined, although Clang front-end pessimizes the code by not lowering that info, so this UB is "harmless". Since rL369789 (D66608 `[InstCombine] icmp eq/ne (gep inbounds P, Idx..), null -> icmp eq/ne P, null`) LLVM middle-end uses those guarantees for transformations. If the source contains such UB's, said code may now be miscompiled. Such miscompilations were already observed: * https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20190826/687838.html * https://github.com/google/filament/pull/1566 Surprisingly, UBSan does not catch those issues ... until now. This diff teaches UBSan about these UB's. `getelementpointer inbounds` is a pretty frequent instruction, so this does have a measurable impact on performance; I've addressed most of the obvious missing folds (and thus decreased the performance impact by ~5%), and then re-performed some performance measurements using my [[ https://github.com/darktable-org/rawspeed | RawSpeed ]] benchmark: (all measurements done with LLVM ToT, the sanitizer never fired.) * no sanitization vs. existing check: average `+21.62%` slowdown * existing check vs. check after this patch: average `22.04%` slowdown * no sanitization vs. this patch: average `48.42%` slowdown Reviewers: vsk, filcab, rsmith, aaron.ballman, vitalybuka, rjmccall, #sanitizers Reviewed By: rsmith Subscribers: kristof.beyls, nickdesaulniers, nikic, ychen, dtzWill, xbolva00, dberris, arphaman, rupprecht, reames, regehr, llvm-commits, cfe-commits Tags: #clang, #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D67122
  87. Recommit "[Clang] Pragma vectorize_width() implies vectorize(enable)" This was further discussed at the llvm dev list: http://lists.llvm.org/pipermail/llvm-dev/2019-October/135602.html I think the brief summary of that is that this change is an improvement, this is the behaviour that we expect and promise in ours docs, and also as a result there are cases where we now emit diagnostics whereas before pragmas were silently ignored. Two areas where we can improve: 1) the diagnostic message itself, and 2) and in some cases (e.g. -Os and -Oz) the vectoriser is (quite understandably) not triggering. Original commit message: Specifying the vectorization width was supposed to implicitly enable vectorization, except that it wasn't really doing this. It was only setting the vectorize.width metadata, but not vectorize.enable. This should fix PR27643.
  88. [update_cc_test_checks] Support 'clang | opt | FileCheck' Some clang lit tests use a pipeline of the form // RUN: %clang [args] -O0 %s | opt [specific optimizations] | FileCheck %s to make the expected test output depend on as few optimization phases as possible, for stability. But when you write a RUN line of this form, you lose the ability to use update_cc_test_checks.py to automatically generate the expected output, because it only supports two-stage pipelines consisting of '%clang | FileCheck' (or %clang_cc1). This change extends the set of supported RUN lines so that pipelines with an invocation of `opt` in the middle can still be automatically handled. To implement it, I've adjusted `get_function_body()` so that it can cope with an arbitrary sequence of intermediate pipeline commands. But the code that decides which RUN lines to consider is more conservative: it only adds clang | opt | FileCheck to the set of supported lines, because I didn't want to accidentally include some other kind of line that doesn't output IR at all. (Also in this commit is the minimal change to make this script work at all, after r373912 added an extra parameter to `add_ir_checks`.) Reviewers: MaskRay, xbolva00 Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68406
  89. [clang] prevent crash for nonnull attribut in constant context (Bug 43601) Summary: bug : https://bugs.llvm.org/show_bug.cgi?id=43601 Reviewers: rnk Reviewed By: rnk Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D68716
  90. AMDGPU: Use SGPR_128 instead of SReg_128 for vregs SGPR_128 only includes the real allocatable SGPRs, and SReg_128 adds the additional non-allocatable TTMP registers. There's no point in allocating SReg_128 vregs. This shrinks the size of the classes regalloc needs to consider, which is usually good.
  91. [X86] Add test case for trunc_packus_v16i32_v16i8 with avx512vl+avx512bw and prefer-vector-width=256 and min-legal-vector-width=256. NFC
  92. [Attributor][NFC] clang format
  93. [Attributor] Handle `null` differently in capture and alias logic Summary: `null` in the default address space (=AS 0) cannot be captured nor can it alias anything. We make this clear now as it can be important for callbacks and other cases later on. In addition, this patch improves the debug output for noalias deduction. Reviewers: sstefan1, uenoku Subscribers: hiraditya, bollu, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68624
  94. gn build: Merge r374277
  95. Reland "[TextAPI] Introduce TBDv4" Original Patch broke for compilations w/ gcc and exposed asan fail. This reland repairs those bugs. Differential Revision: https://reviews.llvm.org/D67529
  96. [ast] Fix indentation. NFC.
  97. [sema] Revise `getCurrentMangleNumberContext` interface. NFC. - Prefer returning mulitple values using a tuple instead of additional pointers/references.
  98. [PowerPC] add testcase for ppc loop instr form prep - NFC
  99. gn build: (manually) merge r374271
  100. [libTooling] Move Transformer files to their own directory/library. Summary: The Transformer library has been growing inside of lib/Tooling/Refactoring. However, it's not really related to anything else in that directory. This revision moves all Transformer-related files into their own include & lib directories. A followup revision will (temporarily) add forwarding headers to help any users migrate their code to the new location. Reviewers: gribozavr Subscribers: mgorny, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D68637
  101. Re-land [mangle] Fix mangling where an extra mangle context is required. This reverts r374268 (git commit c34385d07c7d59447bf836b740f032235391d121) I think I reverted this by mistake, so I'm relanding it. While my bisect found this revision, I think the crashes I'm seeing locally must be environmental. Maybe the version of clang I'm using miscompiles tot clang.
  102. Revert [mangle] Fix mangling where an extra mangle context is required. This reverts r374200 (git commit fd18e94697c987d5f24e25aa4e27adaffff3cce4) Causes crashes just compiling `int main() {}` on my machine.
  103. [codeview] Try to avoid emitting .cv_loc with line zero Summary: Visual Studio doesn't like it while stepping. It kicks you out of the source view of the file being stepped through and tries to fall back to the disassembly view. Fixes PR43530 The fix is incomplete, because it's possible to have a basic block with no source locations at all. In this case, we don't emit a .cv_loc, but that will result in wrong stepping behavior in the debugger if the layout predecessor of the location-less BB has an unrelated source location. We could try harder to find a valid location that dominates or post-dominates the current BB, but in general it's a dataflow problem, and one still might not exist. I left a FIXME about this. As an alternative, we might want to consider having the middle-end check if its emitting codeview and get it to stop using line zero. Reviewers: akhuang Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68747
  104. Use -fdebug-compilation-dir to form absolute paths in coverage mappings This allows users to explicitly request relative paths with `-fdebug-compilation-dir .`. Fixes PR43614 Reviewers: vsk, arphaman Differential Revision: https://reviews.llvm.org/D68733
  105. [ASan] Do not misrepresent high value address dereferences as null dereferences Dereferences with addresses above the 48-bit hardware addressable range produce "invalid instruction" (instead of "invalid access") hardware exceptions (there is no hardware address decoding logic for those bits), and the address provided by this exception is the address of the instruction (not the faulting address). The kernel maps the "invalid instruction" to SEGV, but fails to provide the real fault address. Because of this ASan lies and says that those cases are null dereferences. This downgrades the severity of a found bug in terms of security. In the ASan signal handler, we can not provide the real faulting address, but at least we can try not to lie. rdar://50366151 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D68676
Revision 374432 by yln:
[lit] Bring back `--threads` option alias

Bring back `--threads` option which was lost in the move of the
command line argument parsing code to cl_arguments.py.  Update docs
since `--workers` is preferred.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/docs/CommandGuide/lit.rst (diff)llvm.src/docs/CommandGuide/lit.rst
The file was modified/llvm/trunk/utils/lit/lit/cl_arguments.py (diff)llvm.src/utils/lit/lit/cl_arguments.py
Revision 374431 by ctopper:
[X86] Use packusdw+vpmovuswb to implement v16i32->V16i8 that clamps signed inputs to be between 0 and 255 when zmm registers are disabled on SKX.

If we've disable zmm registers, the v16i32 will need to be split. This split will propagate through min/max the truncate. This creates two sequences that need to be concatenated back to v16i8. We can instead use packusdw to do part of the clamping, truncating, and concatenating all at once. Then we can use a vpmovuswb to finish off the clamp.

Differential Revision: https://reviews.llvm.org/D68763
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (diff)llvm.src/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/min-legal-vector-width.ll (diff)llvm.src/test/CodeGen/X86/min-legal-vector-width.ll
Revision 374429 by jdenny:
Revert r374388: "[lit] Make internal diff work in pipelines"

This breaks a Windows bot.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/lit/TestRunner.py (diff)llvm.src/utils/lit/lit/TestRunner.py
The file was removed/llvm/trunk/utils/lit/lit/builtin_commands/diff.pyllvm.src/utils/lit/lit/builtin_commands/diff.py
The file was added/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt
The file was removed/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was modified/llvm/trunk/utils/lit/tests/shtest-shell.py (diff)llvm.src/utils/lit/tests/shtest-shell.py
Revision 374428 by jsji:
[PowerPC][docs] Update IBM official docs in Compiler Writers Info page

Summary:
Just realized that most of the links in this page are deprecated.
So update some important reference here:
* adding PowerISA 3.0B/2.7B
* adding P8/P9 User Manual
* ELFv2 ABI and errata

Move deprecated ones into "Other documents..".

Reviewers: #powerpc, hfinkel, nemanjai

Reviewed By: hfinkel

Subscribers: shchenz, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68817
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/docs/CompilerWriterInfo.rst (diff)llvm.src/docs/CompilerWriterInfo.rst
Revision 374427 by jdenny:
Revert r374389: "[lit] Clean up internal diff's encoding handling"

This breaks a Windows bot.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/lit/builtin_commands/diff.py (diff)llvm.src/utils/lit/lit/builtin_commands/diff.py
The file was removed/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was removed/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-in.binllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-in.bin
The file was removed/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-in.utf16llvm.src/utils/lit/tests/Inputs/shtest-shell/diff-in.utf16
The file was removed/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-in.utf8llvm.src/utils/lit/tests/Inputs/shtest-shell/diff-in.utf8
The file was modified/llvm/trunk/utils/lit/tests/max-failures.py (diff)llvm.src/utils/lit/tests/max-failures.py
The file was modified/llvm/trunk/utils/lit/tests/shtest-shell.py (diff)llvm.src/utils/lit/tests/shtest-shell.py
Revision 374426 by jdenny:
Revert r374390: "[lit] Extend internal diff to support `-` argument"

This breaks a Windows bot.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/lit/builtin_commands/diff.py (diff)llvm.src/utils/lit/lit/builtin_commands/diff.py
The file was modified/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt (diff)llvm.src/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was modified/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt (diff)llvm.src/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was removed/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt
The file was removed/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txt
The file was modified/llvm/trunk/utils/lit/tests/max-failures.py (diff)llvm.src/utils/lit/tests/max-failures.py
The file was modified/llvm/trunk/utils/lit/tests/shtest-shell.py (diff)llvm.src/utils/lit/tests/shtest-shell.py
Revision 374425 by jdenny:
Revert r374392: "[lit] Extend internal diff to support -U"

This breaks a Windows bot.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/lit/builtin_commands/diff.py (diff)llvm.src/utils/lit/lit/builtin_commands/diff.py
The file was removed/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-unified.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
The file was modified/llvm/trunk/utils/lit/tests/max-failures.py (diff)llvm.src/utils/lit/tests/max-failures.py
The file was modified/llvm/trunk/utils/lit/tests/shtest-shell.py (diff)llvm.src/utils/lit/tests/shtest-shell.py
Revision 374421 by nico:
win: Move Parallel.h off concrt to cross-platform code

r179397 added Parallel.h and implemented it terms of concrt in 2013.

In 2015, a cross-platform implementation of the functions has appeared
and is in use everywhere but on Windows (r232419).  r246219 hints that
<thread> had issues in MSVC2013, but r296906 suggests they've been fixed
now that we require 2015+.

So remove the concrt code. It's less code, and it sounds like concrt has
conceptual and performance issues, see PR41198.

I built blink_core.dll in a debug component build with full symbols and
in a release component build without any symbols.  I couldn't measure a
performance difference for linking blink_core.dll before and after this
patch.

Differential Revision: https://reviews.llvm.org/D68820
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Support/Parallel.h (diff)llvm.src/include/llvm/Support/Parallel.h
The file was modified/llvm/trunk/lib/Support/Parallel.cpp (diff)llvm.src/lib/Support/Parallel.cpp
Revision 374420 by xiangling_liao:
[NFC][PowerPC]Clean up PPCAsmPrinter for TOC related pseudo opcode

Add a helper function getMCSymbolForTOCPseudoMO to clean up PPCAsmPrinter
a little bit.

Differential Revision: https://reviews.llvm.org/D68721
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/PowerPC/PPCAsmPrinter.cpp (diff)llvm.src/lib/Target/PowerPC/PPCAsmPrinter.cpp
Revision 374419 by efriedma:
[ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 2.

Just running -fsyntax-only over arm_neon.h doesn't cover some intrinsics
which are defined using macros.  Add more test coverage for that.

arm-neon-header.c wasn't checking the full set of available NEON target
features; change the target architecture of the test to account for
that.

Fix the generator for arm_neon.h to generate casts in more cases where
they are necessary.

Fix VFMLAL_LOW etc. to express their signatures differently, so the
builtins have the expected type. Maybe the TableGen backend should
detect intrinsics that are defined the wrong way, and produce an error.
The rules here are sort of strange.

Differential Revision: https://reviews.llvm.org/D68743
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/arm_neon.td (diff)clang.src/include/clang/Basic/arm_neon.td
The file was modified/cfe/trunk/test/CodeGen/aarch64-neon-intrinsics.c (diff)clang.src/test/CodeGen/aarch64-neon-intrinsics.c
The file was modified/cfe/trunk/test/CodeGen/arm_neon_intrinsics.c (diff)clang.src/test/CodeGen/arm_neon_intrinsics.c
The file was modified/cfe/trunk/test/Headers/arm-neon-header.c (diff)clang.src/test/Headers/arm-neon-header.c
The file was modified/cfe/trunk/utils/TableGen/NeonEmitter.cpp (diff)clang.src/utils/TableGen/NeonEmitter.cpp
Revision 374418 by rnk:
Fix one more clang test which didn't have \5C in it
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/test/CoverageMapping/abspath.cpp (diff)clang.src/test/CoverageMapping/abspath.cpp
Revision 374416 by rnk:
Update clang tests for new LLVM IR backslash printing in r374415
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/test/CodeGen/debug-prefix-map.c (diff)clang.src/test/CodeGen/debug-prefix-map.c
The file was modified/cfe/trunk/test/CodeGen/string-literal.c (diff)clang.src/test/CodeGen/string-literal.c
The file was modified/cfe/trunk/test/CodeGen/ubsan-strip-path-components.cpp (diff)clang.src/test/CodeGen/ubsan-strip-path-components.cpp
The file was modified/cfe/trunk/test/Driver/darwin-debug-flags.c (diff)clang.src/test/Driver/darwin-debug-flags.c
The file was modified/cfe/trunk/test/Profile/gcc-flag-compatibility.c (diff)clang.src/test/Profile/gcc-flag-compatibility.c
Revision 374415 by rnk:
Print quoted backslashes in LLVM IR as \\ instead of \5C

This improves readability of Windows path string literals in LLVM IR.
The LLVM assembler has supported \\ in IR strings for a long time, but
the lexer doesn't tolerate escaped quotes, so they have to be printed as
\22 for now.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Support/StringExtras.cpp (diff)llvm.src/lib/Support/StringExtras.cpp
The file was modified/llvm/trunk/test/Assembler/asm-path-writer.ll (diff)llvm.src/test/Assembler/asm-path-writer.ll
The file was modified/llvm/trunk/test/Assembler/source-filename-backslash.ll (diff)llvm.src/test/Assembler/source-filename-backslash.ll
The file was modified/llvm/trunk/test/CodeGen/MIR/X86/global-value-operands.mir (diff)llvm.src/test/CodeGen/MIR/X86/global-value-operands.mir
The file was modified/llvm/trunk/unittests/ADT/StringExtrasTest.cpp (diff)llvm.src/unittests/ADT/StringExtrasTest.cpp
The file was modified/llvm/trunk/unittests/IR/MetadataTest.cpp (diff)llvm.src/unittests/IR/MetadataTest.cpp
Revision 374413 by nico:
Fix Windows build after r374381
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/DebugInfo/GSYM/GsymCreator.cpp (diff)llvm.src/lib/DebugInfo/GSYM/GsymCreator.cpp
The file was modified/llvm/trunk/lib/DebugInfo/GSYM/GsymReader.cpp (diff)llvm.src/lib/DebugInfo/GSYM/GsymReader.cpp
Revision 374411 by rnk:
Remove strings.h include to fix GSYM Windows build

Fifth time's the charm.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/DebugInfo/GSYM/GsymCreator.cpp (diff)llvm.src/lib/DebugInfo/GSYM/GsymCreator.cpp
Revision 374410 by gclayton:
Unbreak buildbots.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/DebugInfo/GSYM/GsymReader.cpp (diff)llvm.src/lib/DebugInfo/GSYM/GsymReader.cpp
Revision 374409 by gclayton:
Fix buildbots by using memset instead of bzero.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/DebugInfo/GSYM/GsymCreator.cpp (diff)llvm.src/lib/DebugInfo/GSYM/GsymCreator.cpp
Revision 374407 by caseycarter:
[libc++][test] Change IsSmallObject's calculation for std::any's small object buffer

`sizeof(std::any) - sizeof(void*)` is correct for both libc++ and the MSVC standard library.

Differential Revision: https://reviews.llvm.org/D68756
Change TypePath in RepositoryPath in Workspace
The file was modified/libcxx/trunk/test/support/any_helpers.h (diff)libcxx.src/test/support/any_helpers.h
Revision 374406 by hliao:
Fix build by adding the missing dependency.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/DebugInfo/GSYM/LLVMBuild.txt (diff)llvm.src/lib/DebugInfo/GSYM/LLVMBuild.txt
Revision 374405 by yln:
[lit] Leverage argparse features to remove some code

Reviewed By: rnk, serge-sans-paille

Differential Revision: https://reviews.llvm.org/D68589
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/lit/cl_arguments.py (diff)llvm.src/utils/lit/lit/cl_arguments.py
The file was modified/llvm/trunk/utils/lit/tests/max-failures.py (diff)llvm.src/utils/lit/tests/max-failures.py
The file was modified/llvm/trunk/utils/lit/tests/selecting.py (diff)llvm.src/utils/lit/tests/selecting.py
Revision 374404 by rnk:
Fix test to avoid check-not matching the temp file absolute path

Fix for PR43636
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-exec.test (diff)llvm.src/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-exec.test
Revision 374403 by rnk:
Re-land "Use -fdebug-compilation-dir to form absolute paths in coverage mappings"

This reverts r374324 (git commit 62808631acceaa8b78f8ab9b407eb6b943ff5f77)

I changed the test to not rely on finding the sequence "clang, test,
CoverageMapping" in the CWD used to run the test. Instead it makes its
own internal directory hierarchy of foo/bar/baz and looks for that.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp (diff)clang.src/lib/CodeGen/CoverageMappingGen.cpp
The file was modified/cfe/trunk/lib/CodeGen/CoverageMappingGen.h (diff)clang.src/lib/CodeGen/CoverageMappingGen.h
The file was added/cfe/trunk/test/CoverageMapping/debug-dir.cppclang.src/test/CoverageMapping/debug-dir.cpp
Revision 374400 by yln:
[lit] Move argument parsing/validation to separate file

Reviewed By: serge-sans-paille

Differential Revision: https://reviews.llvm.org/D68529
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/utils/lit/lit/cl_arguments.pyllvm.src/utils/lit/lit/cl_arguments.py
The file was modified/llvm/trunk/utils/lit/lit/main.py (diff)llvm.src/utils/lit/lit/main.py
Revision 374399 by paulhoad:
[clang-format] throws an incorrect assertion in consumeToken() formatting the MSVC stl

Summary:
An incorrect assertion is thrown when clang-formatting MSVC's STL library

```
Assertion failed: !Line.startsWith(tok::hash), file C:/llvm/llvm-project/clang/lib/Format/TokenAnnotator.cpp, line 847
Stack dump:
0.      Program arguments: C:\llvm\build\bin\clang-format.exe -i -n ./stl/inc/xkeycheck.h
```

```
Enable warning C4005 to find the forbidden define.
```

Reviewers: mitchell-stellar, STL_MSFT, klimek, krasimir

Reviewed By: mitchell-stellar

Subscribers: cfe-commits

Tags: #clang-format, #clang-tools-extra, #clang

Differential Revision: https://reviews.llvm.org/D68707
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Format/TokenAnnotator.cpp (diff)clang.src/lib/Format/TokenAnnotator.cpp
The file was modified/cfe/trunk/unittests/Format/FormatTest.cpp (diff)clang.src/unittests/Format/FormatTest.cpp
Revision 374398 by gclayton:
Unbreak  llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast buildbot.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/DebugInfo/GSYM/GsymCreator.cpp (diff)llvm.src/lib/DebugInfo/GSYM/GsymCreator.cpp
Revision 374397 by spatel:
[DAGCombiner] fold select-of-constants to shift

This reverses the scalar canonicalization proposed in D63382.

Pre: isPowerOf2(C1)
%r = select i1 %cond, i32 C1, i32 0
=>
%z = zext i1 %cond to i32
%r = shl i32 %z, log2(C1)

https://rise4fun.com/Alive/Z50

x86 already tries to fold this pattern, but it isn't done
uniformly, so we still see a diff. AArch64 probably should
enable the TLI hook to benefit too, but that's a follow-on.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/selectcc-to-shiftand.ll (diff)llvm.src/test/CodeGen/X86/selectcc-to-shiftand.ll
Revision 374396 by gclayton:
Unbreak windows buildbots.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/DebugInfo/GSYM/GsymReader.cpp (diff)llvm.src/lib/DebugInfo/GSYM/GsymReader.cpp
Revision 374395 by nico:
gn build: restore tablegen restat optimization after r373664
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/llvm/utils/TableGen/tablegen.gni (diff)llvm.src/utils/gn/secondary/llvm/utils/TableGen/tablegen.gni
Revision 374392 by jdenny:
[lit] Extend internal diff to support -U

When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:

```
# RUN: program | diff -U1 file -
```

Such cases exist now, in `clang/test/Analysis` for example.  We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` doesn't
recognize `-U` as a command-line option.  This patch adds `-U`
support.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D68668
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/lit/builtin_commands/diff.py (diff)llvm.src/utils/lit/lit/builtin_commands/diff.py
The file was added/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-unified.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
The file was modified/llvm/trunk/utils/lit/tests/max-failures.py (diff)llvm.src/utils/lit/tests/max-failures.py
The file was modified/llvm/trunk/utils/lit/tests/shtest-shell.py (diff)llvm.src/utils/lit/tests/shtest-shell.py
Revision 374391 by nico:
gn build: merge r374381 more (effectively a no-op)
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn (diff)llvm.src/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
Revision 374390 by jdenny:
[lit] Extend internal diff to support `-` argument

When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:

```
# RUN: program | diff file -
```

Such cases exist now, in `clang/test/Analysis` for example.  We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` doesn't
recognize `-` as a command-line option.  This patch adds support for
`-` to mean stdin.

Reviewed By: probinson, rnk

Differential Revision: https://reviews.llvm.org/D67643
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/lit/builtin_commands/diff.py (diff)llvm.src/utils/lit/lit/builtin_commands/diff.py
The file was modified/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt (diff)llvm.src/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was modified/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt (diff)llvm.src/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was added/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt
The file was added/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txt
The file was modified/llvm/trunk/utils/lit/tests/max-failures.py (diff)llvm.src/utils/lit/tests/max-failures.py
The file was modified/llvm/trunk/utils/lit/tests/shtest-shell.py (diff)llvm.src/utils/lit/tests/shtest-shell.py
Revision 374389 by jdenny:
[lit] Clean up internal diff's encoding handling

As suggested by rnk at D67643#1673043, instead of reading files
multiple times until an appropriate encoding is found, read them once
as binary, and then try to decode what was read.

For python >= 3.5, don't fail when attempting to decode the
`diff_bytes` output in order to print it.

Finally, add some tests for encoding handling.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D68664
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/lit/builtin_commands/diff.py (diff)llvm.src/utils/lit/lit/builtin_commands/diff.py
The file was added/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was added/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-in.binllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-in.bin
The file was added/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-in.utf16llvm.src/utils/lit/tests/Inputs/shtest-shell/diff-in.utf16
The file was added/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-in.utf8llvm.src/utils/lit/tests/Inputs/shtest-shell/diff-in.utf8
The file was modified/llvm/trunk/utils/lit/tests/max-failures.py (diff)llvm.src/utils/lit/tests/max-failures.py
The file was modified/llvm/trunk/utils/lit/tests/shtest-shell.py (diff)llvm.src/utils/lit/tests/shtest-shell.py
Revision 374388 by jdenny:
[lit] Make internal diff work in pipelines

When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:

```
# RUN: program | diff file -
# RUN: not diff file1 file2 | FileCheck %s
```

Such cases exist now, in `clang/test/Analysis` for example.  We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` cannot
currently be used in pipelines and doesn't recognize `-` as a
command-line option.

To enable pipelines, this patch moves lit's `diff` implementation into
an out-of-process script, similar to lit's `cat` implementation.  A
follow-up patch will implement `-` to mean stdin.

Reviewed By: probinson, stella.stamenova

Differential Revision: https://reviews.llvm.org/D66574
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/lit/lit/TestRunner.py (diff)llvm.src/utils/lit/lit/TestRunner.py
The file was added/llvm/trunk/utils/lit/lit/builtin_commands/diff.pyllvm.src/utils/lit/lit/builtin_commands/diff.py
The file was removed/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt
The file was added/llvm/trunk/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txtllvm.src/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was modified/llvm/trunk/utils/lit/tests/shtest-shell.py (diff)llvm.src/utils/lit/tests/shtest-shell.py
Revision 374387 by abataev:
[OPENMP50]Support for declare variant directive for NVPTX target.

NVPTX does not support global aliases. Instead, we have to copy the full
body of the variant function for the original function.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp (diff)clang.src/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGOpenMPRuntime.h (diff)clang.src/lib/CodeGen/CGOpenMPRuntime.h
The file was modified/cfe/trunk/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp (diff)clang.src/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modified/cfe/trunk/lib/CodeGen/CGOpenMPRuntimeNVPTX.h (diff)clang.src/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
The file was modified/cfe/trunk/lib/CodeGen/CodeGenModule.cpp (diff)clang.src/lib/CodeGen/CodeGenModule.cpp
The file was modified/cfe/trunk/lib/CodeGen/CodeGenModule.h (diff)clang.src/lib/CodeGen/CodeGenModule.h
The file was added/cfe/trunk/test/OpenMP/nvptx_declare_variant_implementation_vendor_codegen.cppclang.src/test/OpenMP/nvptx_declare_variant_implementation_vendor_codegen.cpp
Revision 374384 by yln:
Reland "[ASan] Do not misrepresent high value address dereferences as null dereferences"

Updated: Removed offending TODO comment.

Dereferences with addresses above the 48-bit hardware addressable range
produce "invalid instruction" (instead of "invalid access") hardware
exceptions (there is no hardware address decoding logic for those bits),
and the address provided by this exception is the address of the
instruction (not the faulting address).  The kernel maps the "invalid
instruction" to SEGV, but fails to provide the real fault address.

Because of this ASan lies and says that those cases are null
dereferences.  This downgrades the severity of a found bug in terms of
security.  In the ASan signal handler, we can not provide the real
faulting address, but at least we can try not to lie.

rdar://50366151

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D68676

llvm-svn: 374265
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/asan/asan_errors.h (diff)compiler-rt.src/lib/asan/asan_errors.h
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_common.h
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_linux.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_mac.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer_report.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_win.cpp
The file was added/compiler-rt/trunk/test/asan/TestCases/Posix/high-address-dereference.ccompiler-rt.src/test/asan/TestCases/Posix/high-address-dereference.c
Revision 374383 by gnsyncbot:
gn build: Merge r374381
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn (diff)llvm.src/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
Revision 374381 by gclayton:
Add GsymCreator and GsymReader.

This patch adds the ability to create GSYM files with GsymCreator, and read them with GsymReader. Full testing has been added for both new classes.

This patch differs from the original patch https://reviews.llvm.org/D53379 in that is uses a StringTableBuilder class from llvm instead of a custom version. Support for big and little endian files has been added. If the endianness matches the current host, we use efficient extraction for the header, address table and address info offset tables.

Differential Revision: https://reviews.llvm.org/D68744
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/DebugInfo/GSYM/FileWriter.h (diff)llvm.src/include/llvm/DebugInfo/GSYM/FileWriter.h
The file was added/llvm/trunk/include/llvm/DebugInfo/GSYM/GsymCreator.hllvm.src/include/llvm/DebugInfo/GSYM/GsymCreator.h
The file was added/llvm/trunk/include/llvm/DebugInfo/GSYM/GsymReader.hllvm.src/include/llvm/DebugInfo/GSYM/GsymReader.h
The file was modified/llvm/trunk/include/llvm/DebugInfo/GSYM/Header.h (diff)llvm.src/include/llvm/DebugInfo/GSYM/Header.h
The file was modified/llvm/trunk/lib/DebugInfo/GSYM/CMakeLists.txt (diff)llvm.src/lib/DebugInfo/GSYM/CMakeLists.txt
The file was modified/llvm/trunk/lib/DebugInfo/GSYM/FunctionInfo.cpp (diff)llvm.src/lib/DebugInfo/GSYM/FunctionInfo.cpp
The file was added/llvm/trunk/lib/DebugInfo/GSYM/GsymCreator.cppllvm.src/lib/DebugInfo/GSYM/GsymCreator.cpp
The file was added/llvm/trunk/lib/DebugInfo/GSYM/GsymReader.cppllvm.src/lib/DebugInfo/GSYM/GsymReader.cpp
The file was modified/llvm/trunk/lib/DebugInfo/GSYM/Header.cpp (diff)llvm.src/lib/DebugInfo/GSYM/Header.cpp
The file was modified/llvm/trunk/unittests/DebugInfo/GSYM/CMakeLists.txt (diff)llvm.src/unittests/DebugInfo/GSYM/CMakeLists.txt
The file was modified/llvm/trunk/unittests/DebugInfo/GSYM/GSYMTest.cpp (diff)llvm.src/unittests/DebugInfo/GSYM/GSYMTest.cpp
Revision 374378 by Jonas Devlieghere:
[dsymutil] Move CommonSymbols.clear() in resetParserState.

This seems like a more natural place to clear the vector, especially
since this method is clearing other data structures as well.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/tools/dsymutil/MachODebugMapParser.cpp (diff)llvm.src/tools/dsymutil/MachODebugMapParser.cpp
Revision 374377 by dmgreen:
[ARM] VQSUB instruction

Same as VQADD, VQSUB can be selected from llvm.ssub.sat intrinsics.

Differential Revision: https://reviews.llvm.org/D68567
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (diff)llvm.src/lib/Target/ARM/ARMISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/ARM/ARMInstrMVE.td (diff)llvm.src/lib/Target/ARM/ARMInstrMVE.td
The file was modified/llvm/trunk/test/CodeGen/Thumb2/mve-saturating-arith.ll (diff)llvm.src/test/CodeGen/Thumb2/mve-saturating-arith.ll
Revision 374373 by dmgreen:
[Codegen] Alter the default promotion for saturating adds and subs

The default promotion for the add_sat/sub_sat nodes currently does:
   1. ANY_EXTEND iN to iM
   2. SHL by M-N
   3. [US][ADD|SUB]SAT
   4. L/ASHR by M-N
If the promoted add_sat or sub_sat node is not legal, this can produce code
that effectively does a lot of shifting (and requiring large constants to be
materialised) just to use the overflow flag. It is simpler to just do the
saturation manually, using the higher bitwidth addition and a min/max against
the saturating bounds. That is what this patch attempts to do.

Differential Revision: https://reviews.llvm.org/D68643
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modified/llvm/trunk/test/CodeGen/AArch64/sadd_sat.ll (diff)llvm.src/test/CodeGen/AArch64/sadd_sat.ll
The file was modified/llvm/trunk/test/CodeGen/AArch64/sadd_sat_vec.ll (diff)llvm.src/test/CodeGen/AArch64/sadd_sat_vec.ll
The file was modified/llvm/trunk/test/CodeGen/AArch64/ssub_sat.ll (diff)llvm.src/test/CodeGen/AArch64/ssub_sat.ll
The file was modified/llvm/trunk/test/CodeGen/AArch64/ssub_sat_vec.ll (diff)llvm.src/test/CodeGen/AArch64/ssub_sat_vec.ll
The file was modified/llvm/trunk/test/CodeGen/AArch64/uadd_sat.ll (diff)llvm.src/test/CodeGen/AArch64/uadd_sat.ll
The file was modified/llvm/trunk/test/CodeGen/AArch64/uadd_sat_vec.ll (diff)llvm.src/test/CodeGen/AArch64/uadd_sat_vec.ll
The file was modified/llvm/trunk/test/CodeGen/AArch64/usub_sat.ll (diff)llvm.src/test/CodeGen/AArch64/usub_sat.ll
The file was modified/llvm/trunk/test/CodeGen/AArch64/usub_sat_vec.ll (diff)llvm.src/test/CodeGen/AArch64/usub_sat_vec.ll
The file was modified/llvm/trunk/test/CodeGen/ARM/sadd_sat.ll (diff)llvm.src/test/CodeGen/ARM/sadd_sat.ll
The file was modified/llvm/trunk/test/CodeGen/ARM/ssub_sat.ll (diff)llvm.src/test/CodeGen/ARM/ssub_sat.ll
The file was modified/llvm/trunk/test/CodeGen/ARM/uadd_sat.ll (diff)llvm.src/test/CodeGen/ARM/uadd_sat.ll
The file was modified/llvm/trunk/test/CodeGen/ARM/usub_sat.ll (diff)llvm.src/test/CodeGen/ARM/usub_sat.ll
The file was modified/llvm/trunk/test/CodeGen/X86/sadd_sat.ll (diff)llvm.src/test/CodeGen/X86/sadd_sat.ll
The file was modified/llvm/trunk/test/CodeGen/X86/ssub_sat.ll (diff)llvm.src/test/CodeGen/X86/ssub_sat.ll
The file was modified/llvm/trunk/test/CodeGen/X86/uadd_sat.ll (diff)llvm.src/test/CodeGen/X86/uadd_sat.ll
The file was modified/llvm/trunk/test/CodeGen/X86/usub_sat.ll (diff)llvm.src/test/CodeGen/X86/usub_sat.ll
Revision 374372 by kadircet:
Fix assertions disabled builds after rL374367
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/BPF/BPFMISimplifyPatchable.cpp (diff)llvm.src/lib/Target/BPF/BPFMISimplifyPatchable.cpp
Revision 374370 by spatel:
[DAGCombiner] reduce code duplication; NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Revision 374369 by gchatelet:
[Alignment][NFC] Use llv::Align in GISelKnownBits

Summary:
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68786
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h (diff)llvm.src/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
The file was modified/llvm/trunk/lib/CodeGen/GlobalISel/GISelKnownBits.cpp (diff)llvm.src/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
Revision 374367 by yhs:
[BPF] Remove relocation for patchable externs

Previously, patchable extern relocations are introduced to patch
external variables used for multi versioning in
compile once, run everywhere use case. The load instruction
will be converted into a move with an patchable immediate
which can be changed by bpf loader on the host.

The kernel verifier has evolved and is able to load
and propagate constant values, so compiler relocation
becomes unnecessary. This patch removed codes related to this.

Differential Revision: https://reviews.llvm.org/D68760
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/BPF/BPFAbstractMemberAccess.cpp (diff)llvm.src/lib/Target/BPF/BPFAbstractMemberAccess.cpp
The file was modified/llvm/trunk/lib/Target/BPF/BPFCORE.h (diff)llvm.src/lib/Target/BPF/BPFCORE.h
The file was modified/llvm/trunk/lib/Target/BPF/BPFMISimplifyPatchable.cpp (diff)llvm.src/lib/Target/BPF/BPFMISimplifyPatchable.cpp
The file was modified/llvm/trunk/lib/Target/BPF/BTF.h (diff)llvm.src/lib/Target/BPF/BTF.h
The file was modified/llvm/trunk/lib/Target/BPF/BTFDebug.cpp (diff)llvm.src/lib/Target/BPF/BTFDebug.cpp
The file was modified/llvm/trunk/lib/Target/BPF/BTFDebug.h (diff)llvm.src/lib/Target/BPF/BTFDebug.h
The file was modified/llvm/trunk/test/CodeGen/BPF/BTF/binary-format.ll (diff)llvm.src/test/CodeGen/BPF/BTF/binary-format.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/BTF/filename.ll (diff)llvm.src/test/CodeGen/BPF/BTF/filename.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/BTF/func-func-ptr.ll (diff)llvm.src/test/CodeGen/BPF/BTF/func-func-ptr.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/BTF/func-non-void.ll (diff)llvm.src/test/CodeGen/BPF/BTF/func-non-void.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/BTF/func-source.ll (diff)llvm.src/test/CodeGen/BPF/BTF/func-source.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/BTF/func-typedef.ll (diff)llvm.src/test/CodeGen/BPF/BTF/func-typedef.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/BTF/func-unused-arg.ll (diff)llvm.src/test/CodeGen/BPF/BTF/func-unused-arg.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/BTF/func-void.ll (diff)llvm.src/test/CodeGen/BPF/BTF/func-void.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-basic.ll (diff)llvm.src/test/CodeGen/BPF/CORE/offset-reloc-basic.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-multilevel.ll (diff)llvm.src/test/CodeGen/BPF/CORE/offset-reloc-multilevel.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-struct-anonymous.ll (diff)llvm.src/test/CodeGen/BPF/CORE/offset-reloc-struct-anonymous.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll (diff)llvm.src/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll
The file was modified/llvm/trunk/test/CodeGen/BPF/CORE/offset-reloc-union.ll (diff)llvm.src/test/CodeGen/BPF/CORE/offset-reloc-union.ll
The file was removed/llvm/trunk/test/CodeGen/BPF/CORE/patchable-extern-char.llllvm.src/test/CodeGen/BPF/CORE/patchable-extern-char.ll
The file was removed/llvm/trunk/test/CodeGen/BPF/CORE/patchable-extern-uint.llllvm.src/test/CodeGen/BPF/CORE/patchable-extern-uint.ll
The file was removed/llvm/trunk/test/CodeGen/BPF/CORE/patchable-extern-ulonglong.llllvm.src/test/CodeGen/BPF/CORE/patchable-extern-ulonglong.ll
Revision 374366 by kousikk:
In openFileForRead don't cache erroneous entries if the error relates to them being directories. Add tests.

Summary:
It seems that when the CachingFileSystem is first given a file to open that is actually a directory, it incorrectly
caches that path to be errenous and throws an error when subsequently a directory open call is made for the same
path.
This change makes it so that we do NOT cache a path if it turns out we asked for a file when its a directory.

Reviewers: arphaman

Subscribers: dexonsmith, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68193
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h (diff)clang.src/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
The file was modified/cfe/trunk/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp (diff)clang.src/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
The file was added/cfe/trunk/test/ClangScanDeps/Inputs/headerwithdirnamefollowedbyinclude.jsonclang.src/test/ClangScanDeps/Inputs/headerwithdirnamefollowedbyinclude.json
The file was added/cfe/trunk/test/ClangScanDeps/headerwithdirnamefollowedbyinclude.cppclang.src/test/ClangScanDeps/headerwithdirnamefollowedbyinclude.cpp
Revision 374365 by rampitec:
[AMDGPU] Fixed dpp_combine.mir with expensive checks. NFC.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/dpp_combine.mir (diff)llvm.src/test/CodeGen/AMDGPU/dpp_combine.mir
Revision 374364 by rksimon:
Fix Wdocumentation warnings. NFCI.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/IPO/Attributor.cpp (diff)llvm.src/lib/Transforms/IPO/Attributor.cpp
Revision 374363 by abataev:
[OPENMP50]Register vendor name only once in vendor context selector.

No need to store multiple copies of the same vendor names in the context
selector, keep only single copy.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Parse/ParseOpenMP.cpp (diff)clang.src/lib/Parse/ParseOpenMP.cpp
The file was modified/cfe/trunk/test/OpenMP/declare_variant_ast_print.c (diff)clang.src/test/OpenMP/declare_variant_ast_print.c
The file was modified/cfe/trunk/test/OpenMP/declare_variant_ast_print.cpp (diff)clang.src/test/OpenMP/declare_variant_ast_print.cpp
Revision 374361 by lebedevri:
[MCA] Show aggregate over Average Wait times for the whole snippet (PR43219)

Summary:
As disscused in https://bugs.llvm.org/show_bug.cgi?id=43219,
i believe it may be somewhat useful to show //some// aggregates
over all the sea of statistics provided.

Example:
```
Average Wait times (based on the timeline view):
[0]: Executions
[1]: Average time spent waiting in a scheduler's queue
[2]: Average time spent waiting in a scheduler's queue while ready
[3]: Average time elapsed from WB until retire stage

      [0]    [1]    [2]    [3]
0.     3     1.0    1.0    4.7       vmulps     %xmm0, %xmm1, %xmm2
1.     3     2.7    0.0    2.3       vhaddps    %xmm2, %xmm2, %xmm3
2.     3     6.0    0.0    0.0       vhaddps    %xmm3, %xmm3, %xmm4
       3     3.2    0.3    2.3       <total>
```
I.e. we average the averages.

Reviewers: andreadb, mattd, RKSimon

Reviewed By: andreadb

Subscribers: gbedwell, arphaman, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68714
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/docs/CommandGuide/llvm-mca.rst (diff)llvm.src/docs/CommandGuide/llvm-mca.rst
The file was modified/llvm/trunk/test/tools/llvm-mca/ARM/memcpy-ldm-stm.s (diff)llvm.src/test/tools/llvm-mca/ARM/memcpy-ldm-stm.s
The file was modified/llvm/trunk/test/tools/llvm-mca/ARM/vld1-index-update.s (diff)llvm.src/test/tools/llvm-mca/ARM/vld1-index-update.s
The file was modified/llvm/trunk/test/tools/llvm-mca/SystemZ/stm-lm.s (diff)llvm.src/test/tools/llvm-mca/SystemZ/stm-lm.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/clear-super-register-1.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/clear-super-register-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/clear-super-register-2.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/clear-super-register-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-cmp.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-cmp.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-pcmpeq.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-pcmpeq.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-pcmpgt.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-pcmpgt.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-sbb-1.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-sbb-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-sbb-2.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-sbb-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/int-to-fpu-forwarding-3.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/int-to-fpu-forwarding-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/load-store-throughput.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/load-store-throughput.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/load-throughput.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/load-throughput.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/one-idioms.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/one-idioms.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-2.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-3.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-4.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-4.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-6.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-6.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-7.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-7.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/partial-reg-update.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/partial-reg-update.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/read-advance-1.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/read-advance-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/read-advance-2.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/read-advance-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/read-advance-3.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/read-advance-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-1.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-2.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-3.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-4.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-4.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-5.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-5.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-6.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-6.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/store-throughput.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/store-throughput.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Barcelona/zero-idioms.s (diff)llvm.src/test/tools/llvm-mca/X86/Barcelona/zero-idioms.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/add-sequence.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/add-sequence.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/clear-super-register-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/clear-super-register-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/clear-super-register-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/clear-super-register-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/clear-super-register-3.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/clear-super-register-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-cmp.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-cmp.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-pcmpeq.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-pcmpeq.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-pcmpgt.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-pcmpgt.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-sbb-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-sbb-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-sbb-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-sbb-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/dependent-pmuld-paddd.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/dependent-pmuld-paddd.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/dot-product.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/dot-product.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/hadd-read-after-ld-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/hadd-read-after-ld-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/hadd-read-after-ld-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/hadd-read-after-ld-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/int-to-fpu-forwarding-3.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/int-to-fpu-forwarding-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/load-store-alias.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/load-store-alias.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/load-store-throughput.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/load-store-throughput.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/load-throughput.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/load-throughput.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/memcpy-like-test.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/memcpy-like-test.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/one-idioms.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/one-idioms.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-3.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-4.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-4.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-6.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-6.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/partial-reg-update.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/partial-reg-update.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/pipes-fpu.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/pipes-fpu.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/pr37790.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/pr37790.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/rank.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/rank.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/read-advance-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/read-advance-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/read-advance-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/read-advance-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/read-advance-3.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/read-advance-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-3.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-4.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-4.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-5.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-5.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/register-files-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/register-files-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/register-files-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/register-files-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/register-files-5.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/register-files-5.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/store-throughput.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/store-throughput.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/vbroadcast-operand-latency.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/vbroadcast-operand-latency.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/vec-logic-read-after-ld-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/vec-logic-read-after-ld-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/vec-logic-read-after-ld-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/vec-logic-read-after-ld-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/xop-super-registers-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/xop-super-registers-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/xop-super-registers-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/xop-super-registers-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/zero-idioms-avx-256.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/zero-idioms-avx-256.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BdVer2/zero-idioms.s (diff)llvm.src/test/tools/llvm-mca/X86/BdVer2/zero-idioms.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Broadwell/zero-idioms.s (diff)llvm.src/test/tools/llvm-mca/X86/Broadwell/zero-idioms.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/add-sequence.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/add-sequence.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/bottleneck-hints-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/bottleneck-hints-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/bottleneck-hints-3.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/bottleneck-hints-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/clear-super-register-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/clear-super-register-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/clear-super-register-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/clear-super-register-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/cmpxchg-read-advance.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/cmpxchg-read-advance.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-cmp.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-cmp.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-pcmpeq.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-pcmpeq.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-pcmpgt.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-pcmpgt.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-sbb-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-sbb-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-sbb-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-sbb-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/dependent-pmuld-paddd.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/dependent-pmuld-paddd.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/dot-product.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/dot-product.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/int-to-fpu-forwarding-3.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/int-to-fpu-forwarding-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/load-store-alias.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/load-store-alias.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/memcpy-like-test.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/memcpy-like-test.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/one-idioms.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/one-idioms.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-3.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-4.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-4.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-6.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-6.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-7.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-7.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/partial-reg-update.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/partial-reg-update.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/pipes-fpu.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/pipes-fpu.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/pr37790.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/pr37790.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/rank.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/rank.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/read-advance-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/read-advance-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/read-advance-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/read-advance-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/read-advance-3.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/read-advance-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-3.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-4.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-4.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-5.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-5.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-6.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-6.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/register-files-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/register-files-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/register-files-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/register-files-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/register-files-5.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/register-files-5.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/vbroadcast-operand-latency.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/vbroadcast-operand-latency.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-1.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-2.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/xadd.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/xadd.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/xchg.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/xchg.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/zero-idioms-avx-256.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/zero-idioms-avx-256.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/BtVer2/zero-idioms.s (diff)llvm.src/test/tools/llvm-mca/X86/BtVer2/zero-idioms.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Generic/avx512-super-registers-1.s (diff)llvm.src/test/tools/llvm-mca/X86/Generic/avx512-super-registers-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Generic/avx512-super-registers-2.s (diff)llvm.src/test/tools/llvm-mca/X86/Generic/avx512-super-registers-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Generic/avx512-super-registers-3.s (diff)llvm.src/test/tools/llvm-mca/X86/Generic/avx512-super-registers-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Generic/xop-super-registers-1.s (diff)llvm.src/test/tools/llvm-mca/X86/Generic/xop-super-registers-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Generic/xop-super-registers-2.s (diff)llvm.src/test/tools/llvm-mca/X86/Generic/xop-super-registers-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Haswell/zero-idioms.s (diff)llvm.src/test/tools/llvm-mca/X86/Haswell/zero-idioms.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/SandyBridge/zero-idioms.s (diff)llvm.src/test/tools/llvm-mca/X86/SandyBridge/zero-idioms.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/SkylakeClient/zero-idioms.s (diff)llvm.src/test/tools/llvm-mca/X86/SkylakeClient/zero-idioms.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/SkylakeServer/zero-idioms.s (diff)llvm.src/test/tools/llvm-mca/X86/SkylakeServer/zero-idioms.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Znver1/partial-reg-update-2.s (diff)llvm.src/test/tools/llvm-mca/X86/Znver1/partial-reg-update-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Znver1/partial-reg-update-3.s (diff)llvm.src/test/tools/llvm-mca/X86/Znver1/partial-reg-update-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Znver1/partial-reg-update-4.s (diff)llvm.src/test/tools/llvm-mca/X86/Znver1/partial-reg-update-4.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Znver1/partial-reg-update-6.s (diff)llvm.src/test/tools/llvm-mca/X86/Znver1/partial-reg-update-6.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Znver1/partial-reg-update-7.s (diff)llvm.src/test/tools/llvm-mca/X86/Znver1/partial-reg-update-7.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/Znver1/partial-reg-update.s (diff)llvm.src/test/tools/llvm-mca/X86/Znver1/partial-reg-update.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/bextr-read-after-ld.s (diff)llvm.src/test/tools/llvm-mca/X86/bextr-read-after-ld.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/bzhi-read-after-ld.s (diff)llvm.src/test/tools/llvm-mca/X86/bzhi-read-after-ld.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/fma3-read-after-ld-1.s (diff)llvm.src/test/tools/llvm-mca/X86/fma3-read-after-ld-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/fma3-read-after-ld-2.s (diff)llvm.src/test/tools/llvm-mca/X86/fma3-read-after-ld-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/read-after-ld-1.s (diff)llvm.src/test/tools/llvm-mca/X86/read-after-ld-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/read-after-ld-2.s (diff)llvm.src/test/tools/llvm-mca/X86/read-after-ld-2.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/read-after-ld-3.s (diff)llvm.src/test/tools/llvm-mca/X86/read-after-ld-3.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/sqrt-rsqrt-rcp-memop.s (diff)llvm.src/test/tools/llvm-mca/X86/sqrt-rsqrt-rcp-memop.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/variable-blend-read-after-ld-1.s (diff)llvm.src/test/tools/llvm-mca/X86/variable-blend-read-after-ld-1.s
The file was modified/llvm/trunk/test/tools/llvm-mca/X86/variable-blend-read-after-ld-2.s (diff)llvm.src/test/tools/llvm-mca/X86/variable-blend-read-after-ld-2.s
The file was modified/llvm/trunk/tools/llvm-mca/Views/TimelineView.cpp (diff)llvm.src/tools/llvm-mca/Views/TimelineView.cpp
The file was modified/llvm/trunk/tools/llvm-mca/Views/TimelineView.h (diff)llvm.src/tools/llvm-mca/Views/TimelineView.h
Revision 374359 by gribozavr:
Revert "[FileCheck] Implement --ignore-case option."

This reverts commit r374339. It broke tests:
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/19066
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/docs/CommandGuide/FileCheck.rst (diff)llvm.src/docs/CommandGuide/FileCheck.rst
The file was modified/llvm/trunk/include/llvm/Support/FileCheck.h (diff)llvm.src/include/llvm/Support/FileCheck.h
The file was modified/llvm/trunk/lib/Support/FileCheck.cpp (diff)llvm.src/lib/Support/FileCheck.cpp
The file was modified/llvm/trunk/lib/Support/FileCheckImpl.h (diff)llvm.src/lib/Support/FileCheckImpl.h
The file was removed/llvm/trunk/test/FileCheck/check-ignore-case.txtllvm.src/test/FileCheck/check-ignore-case.txt
The file was modified/llvm/trunk/utils/FileCheck/FileCheck.cpp (diff)llvm.src/utils/FileCheck/FileCheck.cpp
Revision 374358 by gribozavr:
Revert "[Tests] Output of od can be lower or upper case (llvm-objcopy/yaml2obj)."

This reverts commit r374343. It broke tests:
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/19066
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/basic-binary-copy.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/basic-binary-copy.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/binary-no-paddr.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/binary-no-paddr.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/binary-paddr.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/binary-paddr.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/binary-segment-layout.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/binary-segment-layout.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/check-addr-offset-align-binary.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/check-addr-offset-align-binary.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/dump-section.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/dump-section.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/preserve-segment-contents.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/preserve-segment-contents.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/strip-all-gnu.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/strip-all-gnu.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/strip-sections.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/strip-sections.test
The file was modified/llvm/trunk/test/tools/yaml2obj/elf-override-shoffset.yaml (diff)llvm.src/test/tools/yaml2obj/elf-override-shoffset.yaml
The file was modified/llvm/trunk/test/tools/yaml2obj/elf-override-shsize.yaml (diff)llvm.src/test/tools/yaml2obj/elf-override-shsize.yaml
Revision 374357 by gribozavr:
Revert "Fix OCaml/core.ml fneg check"

This reverts commit r374346. It attempted to fix OCaml tests, but is
does not actually fix them.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Bindings/OCaml/core.ml (diff)llvm.src/test/Bindings/OCaml/core.ml
Revision 374356 by rksimon:
[X86] combineFMA - Convert to use isNegatibleForFree/GetNegatedExpression.

Split off from D67557.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (diff)llvm.src/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/recip-fastmath.ll (diff)llvm.src/test/CodeGen/X86/recip-fastmath.ll
The file was modified/llvm/trunk/test/CodeGen/X86/recip-fastmath2.ll (diff)llvm.src/test/CodeGen/X86/recip-fastmath2.ll
Revision 374355 by rksimon:
Fix OCaml/core.ml fneg check (try 2)
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Bindings/OCaml/core.ml (diff)llvm.src/test/Bindings/OCaml/core.ml
Revision 374354 by gribozavr:
Revert "[IRBuilder] Update IRBuilder::CreateFNeg(...) to return a UnaryOperator"

This reverts commit r374240. It broke OCaml tests:
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/19014
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CGExprScalar.cpp (diff)clang.src/lib/CodeGen/CGExprScalar.cpp
The file was modified/cfe/trunk/test/CodeGen/aarch64-neon-2velem.c (diff)clang.src/test/CodeGen/aarch64-neon-2velem.c
The file was modified/cfe/trunk/test/CodeGen/aarch64-neon-fma.c (diff)clang.src/test/CodeGen/aarch64-neon-fma.c
The file was modified/cfe/trunk/test/CodeGen/aarch64-neon-intrinsics.c (diff)clang.src/test/CodeGen/aarch64-neon-intrinsics.c
The file was modified/cfe/trunk/test/CodeGen/aarch64-neon-misc.c (diff)clang.src/test/CodeGen/aarch64-neon-misc.c
The file was modified/cfe/trunk/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c (diff)clang.src/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c
The file was modified/cfe/trunk/test/CodeGen/aarch64-v8.2a-fp16-intrinsics.c (diff)clang.src/test/CodeGen/aarch64-v8.2a-fp16-intrinsics.c
The file was modified/cfe/trunk/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c (diff)clang.src/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
The file was modified/cfe/trunk/test/CodeGen/arm-v8.2a-neon-intrinsics.c (diff)clang.src/test/CodeGen/arm-v8.2a-neon-intrinsics.c
The file was modified/cfe/trunk/test/CodeGen/arm_neon_intrinsics.c (diff)clang.src/test/CodeGen/arm_neon_intrinsics.c
The file was modified/cfe/trunk/test/CodeGen/avx512f-builtins.c (diff)clang.src/test/CodeGen/avx512f-builtins.c
The file was modified/cfe/trunk/test/CodeGen/avx512vl-builtins.c (diff)clang.src/test/CodeGen/avx512vl-builtins.c
The file was modified/cfe/trunk/test/CodeGen/builtins-ppc-vsx.c (diff)clang.src/test/CodeGen/builtins-ppc-vsx.c
The file was modified/cfe/trunk/test/CodeGen/complex-math.c (diff)clang.src/test/CodeGen/complex-math.c
The file was modified/cfe/trunk/test/CodeGen/exprs.c (diff)clang.src/test/CodeGen/exprs.c
The file was modified/cfe/trunk/test/CodeGen/fma-builtins.c (diff)clang.src/test/CodeGen/fma-builtins.c
The file was modified/cfe/trunk/test/CodeGen/fma4-builtins.c (diff)clang.src/test/CodeGen/fma4-builtins.c
The file was modified/cfe/trunk/test/CodeGen/fp16-ops.c (diff)clang.src/test/CodeGen/fp16-ops.c
The file was modified/cfe/trunk/test/CodeGen/zvector.c (diff)clang.src/test/CodeGen/zvector.c
The file was modified/cfe/trunk/test/CodeGen/zvector2.c (diff)clang.src/test/CodeGen/zvector2.c
The file was modified/llvm/trunk/include/llvm/IR/IRBuilder.h (diff)llvm.src/include/llvm/IR/IRBuilder.h
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll (diff)llvm.src/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/divrem24-assume.ll (diff)llvm.src/test/CodeGen/AMDGPU/divrem24-assume.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/cos-1.ll (diff)llvm.src/test/Transforms/InstCombine/cos-1.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/fast-math.ll (diff)llvm.src/test/Transforms/InstCombine/fast-math.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/fmul.ll (diff)llvm.src/test/Transforms/InstCombine/fmul.ll
The file was modified/llvm/trunk/test/Transforms/InstCombine/select-crash.ll (diff)llvm.src/test/Transforms/InstCombine/select-crash.ll
The file was modified/llvm/trunk/unittests/IR/InstructionsTest.cpp (diff)llvm.src/unittests/IR/InstructionsTest.cpp
Revision 374351 by rksimon:
[X86] combineFMADDSUB - Convert to use isNegatibleForFree/GetNegatedExpression.

Split off from D67557, fixes the compile time regression mentioned in rL372756
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (diff)llvm.src/lib/Target/X86/X86ISelLowering.cpp
Revision 374349 by thopre:
Revert "[test] Use system locale for mri-utf8.test"

This reverts commit r374318 / b6f1d1fa0e3ee0e25f22414bf97c05276b934507.
Change TypePath in RepositoryPath in Workspace
The file was removed/llvm/trunk/test/tools/llvm-ar/mri-nonascii.testllvm.src/test/tools/llvm-ar/mri-nonascii.test
The file was added/llvm/trunk/test/tools/llvm-ar/mri-utf8.testllvm.src/test/tools/llvm-ar/mri-utf8.test
Revision 374347 by foad:
Revert "[AMDGPU] Run `unreachable-mbb-elimination` after isel to clean up PHIs."

Summary:
This has been superseded by "[AMDGPU]: PHI Elimination hooks added for custom COPY insertion."

This reverts the code changes from commit 53f967f2bdb6aa7b08596880c3689d1ecad6f0ff
but keeps the test case.

Reviewers: hliao, arsenm, tpr, dstuttard

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, t-tye, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68769
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Revision 374346 by rksimon:
Fix OCaml/core.ml fneg check
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Bindings/OCaml/core.ml (diff)llvm.src/test/Bindings/OCaml/core.ml
Revision 374345 by rksimon:
[DAG][X86] Add isNegatibleForFree/GetNegatedExpression override placeholders. NFCI.

Continuing to undo the rL372756 reversion.

Differential Revision: https://reviews.llvm.org/D67557
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (diff)llvm.src/lib/Target/X86/X86ISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.h (diff)llvm.src/lib/Target/X86/X86ISelLowering.h
Revision 374344 by grimar:
[llvm-readelf] - Do not enter an infinite loop when printing histogram.

This is similar to D68086.
We are entering an infinite loop when dumping a histogram for a specially crafted
.hash section with a loop in a chain.

Differential revision: https://reviews.llvm.org/D68771
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/llvm-readobj/elf-hash-histogram.test (diff)llvm.src/test/tools/llvm-readobj/elf-hash-histogram.test
The file was modified/llvm/trunk/tools/llvm-readobj/ELFDumper.cpp (diff)llvm.src/tools/llvm-readobj/ELFDumper.cpp
Revision 374343 by redstar:
[Tests] Output of od can be lower or upper case (llvm-objcopy/yaml2obj).

The command `od -t x` is used to dump data in hex format.
The LIT tests assumes that the hex characters are in lowercase.
However, there are also platforms which use uppercase letter.

To solve this issue the tests are updated to use the new
`--ignore-case` option of FileCheck.

Reviewers: Bigcheese, jakehehrlich, rupprecht, espindola, alexshap, jhenderson

Differential Revision: https://reviews.llvm.org/D68693
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/basic-binary-copy.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/basic-binary-copy.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/binary-no-paddr.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/binary-no-paddr.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/binary-paddr.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/binary-paddr.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/binary-segment-layout.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/binary-segment-layout.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/check-addr-offset-align-binary.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/check-addr-offset-align-binary.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/dump-section.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/dump-section.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/preserve-segment-contents.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/preserve-segment-contents.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/strip-all-gnu.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/strip-all-gnu.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/strip-sections.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/strip-sections.test
The file was modified/llvm/trunk/test/tools/yaml2obj/elf-override-shoffset.yaml (diff)llvm.src/test/tools/yaml2obj/elf-override-shoffset.yaml
The file was modified/llvm/trunk/test/tools/yaml2obj/elf-override-shsize.yaml (diff)llvm.src/test/tools/yaml2obj/elf-override-shsize.yaml
Revision 374340 by deadalnix:
[DAGCombine] Match more patterns for half word bswap

Summary: It ensures that the bswap is generated even when a part of the subtree already matches a bswap transform.

Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68250
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)llvm.src/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modified/llvm/trunk/test/CodeGen/X86/bswap_tree.ll (diff)llvm.src/test/CodeGen/X86/bswap_tree.ll
Revision 374339 by redstar:
[FileCheck] Implement --ignore-case option.

The FileCheck utility is enhanced to support a `--ignore-case`
option. This is useful in cases where the output of Unix tools
differs in case (e.g. case not specified by Posix).

Reviewers: Bigcheese, jakehehrlich, rupprecht, espindola, alexshap, jhenderson, MaskRay

Differential Revision: https://reviews.llvm.org/D68146
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/docs/CommandGuide/FileCheck.rst (diff)llvm.src/docs/CommandGuide/FileCheck.rst
The file was modified/llvm/trunk/include/llvm/Support/FileCheck.h (diff)llvm.src/include/llvm/Support/FileCheck.h
The file was modified/llvm/trunk/lib/Support/FileCheck.cpp (diff)llvm.src/lib/Support/FileCheck.cpp
The file was modified/llvm/trunk/lib/Support/FileCheckImpl.h (diff)llvm.src/lib/Support/FileCheckImpl.h
The file was added/llvm/trunk/test/FileCheck/check-ignore-case.txtllvm.src/test/FileCheck/check-ignore-case.txt
The file was modified/llvm/trunk/utils/FileCheck/FileCheck.cpp (diff)llvm.src/utils/FileCheck/FileCheck.cpp
Revision 374338 by fhahn:
[LV][NFC] Factor out calculation of "best" estimated trip count.

This is just small refactoring to minimize changes in upcoming patch.
In the next path I'm going to introduce changes into heuristic for vectorization of "tiny trip count" loops.

Patch by Evgeniy Brevnov <evgueni.brevnov@gmail.com>

Reviewers: hsaito, Ayal, fhahn, reames

Reviewed By: hsaito

Differential Revision: https://reviews.llvm.org/D67690
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (diff)llvm.src/lib/Transforms/Vectorize/LoopVectorize.cpp
Revision 374337 by labath:
MinidumpYAML: Add support for the memory info list stream

Summary:
The implementation is fairly straight-forward and uses the same patterns
as the existing streams. The yaml form does not attempt to preserve the
data in the "gaps" that can be created by setting a larger-than-required
header or entry size in the stream header, because the existing consumer
(lldb) does not make use of the information in the gap in any way, and
attempting to preserve that would make the implementation more
complicated.

Reviewers: amccarth, jhenderson, clayborg

Subscribers: llvm-commits, lldb-commits, markmentovai, zturner, JosephTremoulet

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68645
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/BinaryFormat/Minidump.h (diff)llvm.src/include/llvm/BinaryFormat/Minidump.h
The file was modified/llvm/trunk/include/llvm/ObjectYAML/MinidumpYAML.h (diff)llvm.src/include/llvm/ObjectYAML/MinidumpYAML.h
The file was modified/llvm/trunk/lib/ObjectYAML/MinidumpEmitter.cpp (diff)llvm.src/lib/ObjectYAML/MinidumpEmitter.cpp
The file was modified/llvm/trunk/lib/ObjectYAML/MinidumpYAML.cpp (diff)llvm.src/lib/ObjectYAML/MinidumpYAML.cpp
The file was modified/llvm/trunk/test/tools/obj2yaml/basic-minidump.yaml (diff)llvm.src/test/tools/obj2yaml/basic-minidump.yaml
Revision 374336 by dmgreen:
[ARM] VQADD instructions

This selects MVE VQADD from the vector llvm.sadd.sat or llvm.uadd.sat
intrinsics.

Differential Revision: https://reviews.llvm.org/D68566
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (diff)llvm.src/lib/Target/ARM/ARMISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/ARM/ARMInstrMVE.td (diff)llvm.src/lib/Target/ARM/ARMInstrMVE.td
The file was modified/llvm/trunk/test/CodeGen/Thumb2/mve-saturating-arith.ll (diff)llvm.src/test/CodeGen/Thumb2/mve-saturating-arith.ll
Revision 374334 by spatel:
[AArch64][x86] add tests for (v)select bit magic; NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/AArch64/selectcc-to-shiftand.ll (diff)llvm.src/test/CodeGen/AArch64/selectcc-to-shiftand.ll
The file was modified/llvm/trunk/test/CodeGen/X86/selectcc-to-shiftand.ll (diff)llvm.src/test/CodeGen/X86/selectcc-to-shiftand.ll
Revision 374333 by David CARLIER:
[Sanitizers] Fix getrandom test
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getrandom.c (diff)compiler-rt.src/test/sanitizer_common/TestCases/Posix/getrandom.c
Revision 374330 by gchatelet:
[Alignment][NFC] Make VectorUtils uas llvm::Align

Summary:
This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

Reviewers: courbet

Subscribers: hiraditya, rogfer01, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68784
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Analysis/VectorUtils.h (diff)llvm.src/include/llvm/Analysis/VectorUtils.h
The file was modified/llvm/trunk/lib/Analysis/VectorUtils.cpp (diff)llvm.src/lib/Analysis/VectorUtils.cpp
The file was modified/llvm/trunk/lib/Transforms/Vectorize/VPlan.cpp (diff)llvm.src/lib/Transforms/Vectorize/VPlan.cpp
Revision 374328 by lebedevri:
[AST] ASTReader::ReadSLocEntry(): move computation of FirstDecl into the branch where it's used

The existing code is not defined, you are not allowed
to produce non-null pointer from null pointer (F->FileSortedDecls here).
That being said, i'm not really confident this is fix-enough, but we'll see.

FAIL: Clang :: Modules/no-module-map.cpp (6879 of 16079)
******************** TEST 'Clang :: Modules/no-module-map.cpp' FAILED ********************
Script:
--
: 'RUN: at line 1';   /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -fmodules-ts -fmodule-name=ab -x c++-header /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map/a.h /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map/b.h -emit-header-module -o /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm
: 'RUN: at line 2';   /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -fmodules-ts -fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp -I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map -verify
: 'RUN: at line 3';   /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -fmodules-ts -fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp -I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map -verify -DA
: 'RUN: at line 4';   /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -fmodules-ts -fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp -I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map -verify -DB
: 'RUN: at line 5';   /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -fmodules-ts -fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp -I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map -verify -DA -DB
: 'RUN: at line 7';   /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -E /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm -o - | /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp
: 'RUN: at line 8';   /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang -cc1 -internal-isystem /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include -nostdsysteminc -frewrite-imports -E /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm -o - | /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp
--
Exit Code: 2

Command Output (stderr):
--
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Serialization/ASTReader.cpp:1526:50: runtime error: applying non-zero offset 8 to null pointer
    #0 0x3a9bd0c in clang::ASTReader::ReadSLocEntry(int) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Serialization/ASTReader.cpp:1526:50
    #1 0x328b6f8 in clang::SourceManager::loadSLocEntry(unsigned int, bool*) const /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Basic/SourceManager.cpp:461:28
    #2 0x328b351 in clang::SourceManager::initializeForReplay(clang::SourceManager const&) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Basic/SourceManager.cpp:399:11
    #3 0x3996c71 in clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&, clang::FrontendInputFile const&) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Frontend/FrontendAction.cpp:581:27
    #4 0x394f341 in clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:956:13
    #5 0x3a8a92b in clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:290:25
    #6 0xaf8d62 in cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/cc1_main.cpp:250:15
    #7 0xaf1602 in ExecuteCC1Tool /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/driver.cpp:309:12
    #8 0xaf1602 in main /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/driver.cpp:382:12
    #9 0x7f2c1eecc2e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
    #10 0xad57f9 in _start (/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang-10+0xad57f9)

SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Serialization/ASTReader.cpp:1526:50 in
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Serialization/ASTReader.cpp (diff)clang.src/lib/Serialization/ASTReader.cpp
Revision 374327 by lebedevri:
[ADR] ArrayRefTest: disable SizeTSizedOperations test - it's UB.

This test is not defined.

FAIL: LLVM-Unit :: ADT/./ADTTests/ArrayRefTest.SizeTSizedOperations (178 of 33926)
******************** TEST 'LLVM-Unit :: ADT/./ADTTests/ArrayRefTest.SizeTSizedOperations' FAILED ********************
Note: Google Test filter = ArrayRefTest.SizeTSizedOperations
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ArrayRefTest
[ RUN      ] ArrayRefTest.SizeTSizedOperations
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:180:32: runtime error: applying non-zero offset 9223372036854775806 to null pointer
    #0 0x5ae8dc in llvm::ArrayRef<char>::slice(unsigned long, unsigned long) const /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:180:32
    #1 0x5ae44c in (anonymous namespace)::ArrayRefTest_SizeTSizedOperations_Test::TestBody() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/unittests/ADT/ArrayRefTest.cpp:85:3
    #2 0x928a96 in testing::Test::Run() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2474:5
    #3 0x929793 in testing::TestInfo::Run() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2656:11
    #4 0x92a152 in testing::TestCase::Run() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2774:28
    #5 0x9319d2 in testing::internal::UnitTestImpl::RunAllTests() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:4649:43
    #6 0x931416 in testing::UnitTest::Run() /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:4257:10
    #7 0x920ac3 in RUN_ALL_TESTS /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h:2233:46
    #8 0x920ac3 in main /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/UnitTestMain/TestMain.cpp:50:10
    #9 0x7f66135b72e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
    #10 0x472c19 in _start (/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/unittests/ADT/ADTTests+0x472c19)

SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:180:32 in
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/unittests/ADT/ArrayRefTest.cpp (diff)llvm.src/unittests/ADT/ArrayRefTest.cpp
Revision 374326 by rksimon:
Fix -Wparentheses warning. NFCI.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp (diff)llvm.src/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
Revision 374324 by kadircet:
Revert "Use -fdebug-compilation-dir to form absolute paths in coverage mappings"

This reverts commit f6777964bde28c349d3e289ea37ecf5f5eeedbc4.

Because the absolute path check relies on temporary path containing
"clang", "test" and "CoverageMapping" as a subsequence, which is not
necessarily true on all systems(breaks internal integrates). Wanted to
fix it by checking for a leading "/" instead, but then noticed that it
would break windows tests, so leaving it to the author instead.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp (diff)clang.src/lib/CodeGen/CoverageMappingGen.cpp
The file was modified/cfe/trunk/lib/CodeGen/CoverageMappingGen.h (diff)clang.src/lib/CodeGen/CoverageMappingGen.h
The file was removed/cfe/trunk/test/CoverageMapping/debug-dir.cppclang.src/test/CoverageMapping/debug-dir.cpp
Revision 374321 by russell_gallop:
Fix sanitizer lint check after r374315
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_platform_interceptors.h
Revision 374320 by mbrkusanin:
[Mips] Fix 374055

EXPENSIVE_CHECKS build was failing on new test.
This is fixed by marking $ra register as undef.
Test now has -verify-machineinstrs to check for operand flags.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/Mips/MipsSEISelDAGToDAG.cpp (diff)llvm.src/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
The file was modified/llvm/trunk/test/CodeGen/Mips/mcount.ll (diff)llvm.src/test/CodeGen/Mips/mcount.ll
Revision 374318 by thopre:
[test] Use system locale for mri-utf8.test

Summary:
llvm-ar's mri-utf8.test test relies on the en_US.UTF-8 locale to be
installed for its last RUN line to work. If not installed, the unicode
string gets encoded (interpreted) as ascii which fails since the most
significant byte is non zero. This commit changes the test to only rely
on the system being able to encode the pound sign in its default
encoding (e.g. UTF-16 for Microsoft Windows) by always opening the file
via input/output redirection. This avoids forcing a given locale to be
present and supported. A Byte Order Mark is also added to help
recognizing the encoding of the file and its endianness.

Reviewers: gbreynoo, MaskRay, rupprecht, JamesNagurne, jfb

Subscribers: dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68472
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/tools/llvm-ar/mri-nonascii.testllvm.src/test/tools/llvm-ar/mri-nonascii.test
The file was removed/llvm/trunk/test/tools/llvm-ar/mri-utf8.testllvm.src/test/tools/llvm-ar/mri-utf8.test
Revision 374316 by lebedevri:
[UBSan] Appease linter
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/ubsan/ubsan_checks.inc (diff)compiler-rt.src/lib/ubsan/ubsan_checks.inc
Revision 374315 by David CARLIER:
[Sanitizers] Porting getrandom/getentropy interceptors to FreeBSD

- Available from 12.x branch, by the time it lands next year in FreeBSD tree, the 11.x's might be EOL.
- Intentionally changed the getrandom test to C code as with 12.0 (might be fixed in CURRENT since), there is a linkage issue in C++ context.

Reviewers: emaste, dim, vitalybuka

Reviewed-By: vitalybuka

Differential Revision: https://reviews.llvm.org/D68451
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common_interceptors.inc (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_common_interceptors.inc
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform_interceptors.h (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_platform_interceptors.h
The file was removed/compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/getrandom.cppcompiler-rt.src/test/sanitizer_common/TestCases/Linux/getrandom.cpp
The file was added/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/getrandom.ccompiler-rt.src/test/sanitizer_common/TestCases/Posix/getrandom.c
Revision 374309 by lebedevri:
[UBSan] Split nullptr-and-nonzero-offset-variable.c in another direction
Change TypePath in RepositoryPath in Workspace
The file was removed/compiler-rt/trunk/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.ccompiler-rt.src/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.c
The file was modified/compiler-rt/trunk/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp (diff)compiler-rt.src/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp
Revision 374308 by russell_gallop:
Revert "[ASan] Do not misrepresent high value address dereferences as null dereferences"

As it was breaking bots running sanitizer lint check

This reverts r374265 (git b577efe4567f1f6a711ad36e1d17280dd1c4f009)
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/asan/asan_errors.h (diff)compiler-rt.src/lib/asan/asan_errors.h
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_common.h
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_linux.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_mac.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer_report.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_win.cpp
The file was removed/compiler-rt/trunk/test/asan/TestCases/Posix/high-address-dereference.ccompiler-rt.src/test/asan/TestCases/Posix/high-address-dereference.c
Revision 374306 by lebedevri:
[UBSan] Split nullptr-and-nonzero-offset-variable.cpp into C and C++ variants

I do not understand the BB failire, it fully passes locally.
Change TypePath in RepositoryPath in Workspace
The file was added/compiler-rt/trunk/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.ccompiler-rt.src/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.c
The file was modified/compiler-rt/trunk/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp (diff)compiler-rt.src/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp
Revision 374301 by ostannard:
[IfCvt][ARM] Optimise diamond if-conversion for code size

Currently, the heuristics the if-conversion pass uses for diamond if-conversion
are based on execution time, with no consideration for code size. This adds a
new set of heuristics to be used when optimising for code size.

This is mostly target-independent, because the if-conversion pass can
see the code size of the instructions which it is removing. For thumb,
there are a few passes (insertion of IT instructions, selection of
narrow branches, and selection of CBZ instructions) which are run after
if conversion and affect these heuristics, so I've added target hooks to
better predict the code-size effect of a proposed if-conversion.

Differential revision: https://reviews.llvm.org/D67350
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/TargetInstrInfo.h (diff)llvm.src/include/llvm/CodeGen/TargetInstrInfo.h
The file was modified/llvm/trunk/lib/CodeGen/IfConversion.cpp (diff)llvm.src/lib/CodeGen/IfConversion.cpp
The file was modified/llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp (diff)llvm.src/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modified/llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.h (diff)llvm.src/lib/Target/ARM/ARMBaseInstrInfo.h
The file was added/llvm/trunk/test/CodeGen/ARM/ifcvt-size.mirllvm.src/test/CodeGen/ARM/ifcvt-size.mir
Revision 374298 by lebedevri:
[UBSan] Revisit nullptr-and-nonzero-offset-variable.cpp test to hopefully make it pass on sanitizer-windows BB
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp (diff)compiler-rt.src/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp
Revision 374294 by russell_gallop:
Remove rest of time-trace message as it is inconsistent style

Other options which create output files don't produce output messages.
Improve documentation to help find trace file.

Differential Revision: https://reviews.llvm.org/D68710
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Driver/Options.td (diff)clang.src/include/clang/Driver/Options.td
The file was modified/cfe/trunk/tools/driver/cc1_main.cpp (diff)clang.src/tools/driver/cc1_main.cpp
Revision 374293 by lebedevri:
[UBSan][clang][compiler-rt] Applying non-zero offset to nullptr is undefined behaviour

Summary:
Quote from http://eel.is/c++draft/expr.add#4:
```
4     When an expression J that has integral type is added to or subtracted
      from an expression P of pointer type, the result has the type of P.
(4.1) If P evaluates to a null pointer value and J evaluates to 0,
      the result is a null pointer value.
(4.2) Otherwise, if P points to an array element i of an array object x with n
      elements ([dcl.array]), the expressions P + J and J + P
      (where J has the value j) point to the (possibly-hypothetical) array
      element i+j of x if 0≤i+j≤n and the expression P - J points to the
      (possibly-hypothetical) array element i−j of x if 0≤i−j≤n.
(4.3) Otherwise, the behavior is undefined.
```

Therefore, as per the standard, applying non-zero offset to `nullptr`
(or making non-`nullptr` a `nullptr`, by subtracting pointer's integral value
from the pointer itself) is undefined behavior. (*if* `nullptr` is not defined,
i.e. e.g. `-fno-delete-null-pointer-checks` was *not* specified.)

To make things more fun, in C (6.5.6p8), applying *any* offset to null pointer
is undefined, although Clang front-end pessimizes the code by not lowering
that info, so this UB is "harmless".

Since rL369789 (D66608 `[InstCombine] icmp eq/ne (gep inbounds P, Idx..), null -> icmp eq/ne P, null`)
LLVM middle-end uses those guarantees for transformations.
If the source contains such UB's, said code may now be miscompiled.
Such miscompilations were already observed:
* https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20190826/687838.html
* https://github.com/google/filament/pull/1566

Surprisingly, UBSan does not catch those issues
... until now. This diff teaches UBSan about these UB's.

`getelementpointer inbounds` is a pretty frequent instruction,
so this does have a measurable impact on performance;
I've addressed most of the obvious missing folds (and thus decreased the performance impact by ~5%),
and then re-performed some performance measurements using my [[ https://github.com/darktable-org/rawspeed | RawSpeed ]] benchmark:
(all measurements done with LLVM ToT, the sanitizer never fired.)
* no sanitization vs. existing check: average `+21.62%` slowdown
* existing check vs. check after this patch: average `22.04%` slowdown
* no sanitization vs. this patch: average `48.42%` slowdown

Reviewers: vsk, filcab, rsmith, aaron.ballman, vitalybuka, rjmccall, #sanitizers

Reviewed By: rsmith

Subscribers: kristof.beyls, nickdesaulniers, nikic, ychen, dtzWill, xbolva00, dberris, arphaman, rupprecht, reames, regehr, llvm-commits, cfe-commits

Tags: #clang, #sanitizers, #llvm

Differential Revision: https://reviews.llvm.org/D67122
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/docs/ReleaseNotes.rst (diff)clang.src/docs/ReleaseNotes.rst
The file was modified/cfe/trunk/docs/UndefinedBehaviorSanitizer.rst (diff)clang.src/docs/UndefinedBehaviorSanitizer.rst
The file was modified/cfe/trunk/lib/CodeGen/CGExprScalar.cpp (diff)clang.src/lib/CodeGen/CGExprScalar.cpp
The file was added/cfe/trunk/test/CodeGen/catch-nullptr-and-nonzero-offset-blacklist.cclang.src/test/CodeGen/catch-nullptr-and-nonzero-offset-blacklist.c
The file was added/cfe/trunk/test/CodeGen/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.cclang.src/test/CodeGen/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.c
The file was added/cfe/trunk/test/CodeGen/catch-nullptr-and-nonzero-offset-when-nullptr-is-defined.cclang.src/test/CodeGen/catch-nullptr-and-nonzero-offset-when-nullptr-is-defined.c
The file was added/cfe/trunk/test/CodeGen/catch-nullptr-and-nonzero-offset.cclang.src/test/CodeGen/catch-nullptr-and-nonzero-offset.c
The file was added/cfe/trunk/test/CodeGen/catch-pointer-overflow-volatile.cclang.src/test/CodeGen/catch-pointer-overflow-volatile.c
The file was added/cfe/trunk/test/CodeGen/catch-pointer-overflow.cclang.src/test/CodeGen/catch-pointer-overflow.c
The file was added/cfe/trunk/test/CodeGen/ubsan-pointer-overflow.cclang.src/test/CodeGen/ubsan-pointer-overflow.c
The file was modified/cfe/trunk/test/CodeGen/ubsan-pointer-overflow.m (diff)clang.src/test/CodeGen/ubsan-pointer-overflow.m
The file was added/cfe/trunk/test/CodeGenCXX/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.cppclang.src/test/CodeGenCXX/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_suppressions.h (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_suppressions.h
The file was modified/compiler-rt/trunk/lib/ubsan/ubsan_checks.inc (diff)compiler-rt.src/lib/ubsan/ubsan_checks.inc
The file was modified/compiler-rt/trunk/lib/ubsan/ubsan_handlers.cpp (diff)compiler-rt.src/lib/ubsan/ubsan_handlers.cpp
The file was modified/compiler-rt/trunk/test/ubsan/TestCases/Pointer/index-overflow.cpp (diff)compiler-rt.src/test/ubsan/TestCases/Pointer/index-overflow.cpp
The file was added/compiler-rt/trunk/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-constants.cppcompiler-rt.src/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-constants.cpp
The file was added/compiler-rt/trunk/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cppcompiler-rt.src/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp
The file was added/compiler-rt/trunk/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cppcompiler-rt.src/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp
The file was modified/compiler-rt/trunk/test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp (diff)compiler-rt.src/test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp
The file was added/compiler-rt/trunk/test/ubsan_minimal/TestCases/nullptr-and-nonzero-offset.ccompiler-rt.src/test/ubsan_minimal/TestCases/nullptr-and-nonzero-offset.c
The file was modified/llvm/trunk/docs/ReleaseNotes.rst (diff)llvm.src/docs/ReleaseNotes.rst
Revision 374288 by sjoerdmeijer:
Recommit "[Clang] Pragma vectorize_width() implies vectorize(enable)"

This was further discussed at the llvm dev list:

http://lists.llvm.org/pipermail/llvm-dev/2019-October/135602.html

I think the brief summary of that is that this change is an improvement,
this is the behaviour that we expect and promise in ours docs, and also
as a result there are cases where we now emit diagnostics whereas before
pragmas were silently ignored. Two areas where we can improve: 1) the
diagnostic message itself, and 2) and in some cases (e.g. -Os and -Oz)
the vectoriser is (quite understandably) not triggering.

Original commit message:

Specifying the vectorization width was supposed to implicitly enable
vectorization, except that it wasn't really doing this. It was only
setting the vectorize.width metadata, but not vectorize.enable.

This should fix PR27643.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CGLoopInfo.cpp (diff)clang.src/lib/CodeGen/CGLoopInfo.cpp
The file was modified/cfe/trunk/test/CodeGenCXX/pragma-loop-predicate.cpp (diff)clang.src/test/CodeGenCXX/pragma-loop-predicate.cpp
The file was modified/cfe/trunk/test/CodeGenCXX/pragma-loop.cpp (diff)clang.src/test/CodeGenCXX/pragma-loop.cpp
Revision 374287 by statham:
[update_cc_test_checks] Support 'clang | opt | FileCheck'

Some clang lit tests use a pipeline of the form

// RUN: %clang [args] -O0 %s | opt [specific optimizations] | FileCheck %s

to make the expected test output depend on as few optimization phases
as possible, for stability. But when you write a RUN line of this
form, you lose the ability to use update_cc_test_checks.py to
automatically generate the expected output, because it only supports
two-stage pipelines consisting of '%clang | FileCheck' (or %clang_cc1).

This change extends the set of supported RUN lines so that pipelines
with an invocation of `opt` in the middle can still be automatically
handled.

To implement it, I've adjusted `get_function_body()` so that it can
cope with an arbitrary sequence of intermediate pipeline commands. But
the code that decides which RUN lines to consider is more
conservative: it only adds clang | opt | FileCheck to the set of
supported lines, because I didn't want to accidentally include some
other kind of line that doesn't output IR at all.

(Also in this commit is the minimal change to make this script work at
all, after r373912 added an extra parameter to `add_ir_checks`.)

Reviewers: MaskRay, xbolva00

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68406
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/update_cc_test_checks.py (diff)llvm.src/utils/update_cc_test_checks.py
Revision 374285 by tyker:
[clang] prevent crash for nonnull attribut in constant context (Bug 43601)

Summary:

bug : https://bugs.llvm.org/show_bug.cgi?id=43601

Reviewers: rnk

Reviewed By: rnk

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68716
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/AST/ExprConstant.cpp (diff)clang.src/lib/AST/ExprConstant.cpp
The file was modified/cfe/trunk/test/SemaCXX/attr-nonnull.cpp (diff)clang.src/test/SemaCXX/attr-nonnull.cpp
Revision 374284 by arsenm:
AMDGPU: Use SGPR_128 instead of SReg_128 for vregs

SGPR_128 only includes the real allocatable SGPRs, and SReg_128 adds
the additional non-allocatable TTMP registers. There's no point in
allocating SReg_128 vregs. This shrinks the size of the classes
regalloc needs to consider, which is usually good.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp (diff)llvm.src/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp (diff)llvm.src/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cpp (diff)llvm.src/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp (diff)llvm.src/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp (diff)llvm.src/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp (diff)llvm.src/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modified/llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.td (diff)llvm.src/lib/Target/AMDGPU/SIRegisterInfo.td
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-concat-vectors.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-concat-vectors.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-insert.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-constant.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-merge-values.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-merge-values.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-trunc.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-trunc.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/inst-select-unmerge-values.mir (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/inst-select-unmerge-values.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f16.ll (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f16.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f32.ll (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.format.f32.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.ll (diff)llvm.src/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll (diff)llvm.src/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/coalescer-extend-pruned-subrange.mir (diff)llvm.src/test/CodeGen/AMDGPU/coalescer-extend-pruned-subrange.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/coalescer-identical-values-undef.mir (diff)llvm.src/test/CodeGen/AMDGPU/coalescer-identical-values-undef.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/coalescer-subranges-another-copymi-not-live.mir (diff)llvm.src/test/CodeGen/AMDGPU/coalescer-subranges-another-copymi-not-live.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/coalescer-subranges-another-prune-error.mir (diff)llvm.src/test/CodeGen/AMDGPU/coalescer-subranges-another-prune-error.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/coalescer-subreg-join.mir (diff)llvm.src/test/CodeGen/AMDGPU/coalescer-subreg-join.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/coalescer-subregjoin-fullcopy.mir (diff)llvm.src/test/CodeGen/AMDGPU/coalescer-subregjoin-fullcopy.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/coalescer-with-subregs-bad-identical.mir (diff)llvm.src/test/CodeGen/AMDGPU/coalescer-with-subregs-bad-identical.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir (diff)llvm.src/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/couldnt-join-subrange-3.mir (diff)llvm.src/test/CodeGen/AMDGPU/couldnt-join-subrange-3.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/dce-disjoint-intervals.mir (diff)llvm.src/test/CodeGen/AMDGPU/dce-disjoint-intervals.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/detect-dead-lanes.mir (diff)llvm.src/test/CodeGen/AMDGPU/detect-dead-lanes.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll (diff)llvm.src/test/CodeGen/AMDGPU/extract_subvector_vec4_vec3.ll
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/fold-imm-copy.mir (diff)llvm.src/test/CodeGen/AMDGPU/fold-imm-copy.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/fold-imm-f16-f32.mir (diff)llvm.src/test/CodeGen/AMDGPU/fold-imm-f16-f32.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/fold-multiple.mir (diff)llvm.src/test/CodeGen/AMDGPU/fold-multiple.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/global-load-store-atomics.mir (diff)llvm.src/test/CodeGen/AMDGPU/global-load-store-atomics.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/memory_clause.mir (diff)llvm.src/test/CodeGen/AMDGPU/memory_clause.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/merge-load-store.mir (diff)llvm.src/test/CodeGen/AMDGPU/merge-load-store.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/mubuf-legalize-operands.mir (diff)llvm.src/test/CodeGen/AMDGPU/mubuf-legalize-operands.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/optimize-negated-cond-exec-masking.mir (diff)llvm.src/test/CodeGen/AMDGPU/optimize-negated-cond-exec-masking.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/phi-elimination-end-cf.mir (diff)llvm.src/test/CodeGen/AMDGPU/phi-elimination-end-cf.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/promote-constOffset-to-imm.mir (diff)llvm.src/test/CodeGen/AMDGPU/promote-constOffset-to-imm.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/regbank-reassign.mir (diff)llvm.src/test/CodeGen/AMDGPU/regbank-reassign.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/regcoal-subrange-join-seg.mir (diff)llvm.src/test/CodeGen/AMDGPU/regcoal-subrange-join-seg.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/regcoal-subrange-join.mir (diff)llvm.src/test/CodeGen/AMDGPU/regcoal-subrange-join.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/regcoalescing-remove-partial-redundancy-assert.mir (diff)llvm.src/test/CodeGen/AMDGPU/regcoalescing-remove-partial-redundancy-assert.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/rename-independent-subregs.mir (diff)llvm.src/test/CodeGen/AMDGPU/rename-independent-subregs.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/schedule-regpressure.mir (diff)llvm.src/test/CodeGen/AMDGPU/schedule-regpressure.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/spill-before-exec.mir (diff)llvm.src/test/CodeGen/AMDGPU/spill-before-exec.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/splitkit.mir (diff)llvm.src/test/CodeGen/AMDGPU/splitkit.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/subreg-split-live-in-error.mir (diff)llvm.src/test/CodeGen/AMDGPU/subreg-split-live-in-error.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/subreg_interference.mir (diff)llvm.src/test/CodeGen/AMDGPU/subreg_interference.mir
The file was modified/llvm/trunk/test/CodeGen/AMDGPU/subvector-test.mir (diff)llvm.src/test/CodeGen/AMDGPU/subvector-test.mir
Revision 374283 by ctopper:
[X86] Add test case for trunc_packus_v16i32_v16i8 with avx512vl+avx512bw and prefer-vector-width=256 and min-legal-vector-width=256. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/min-legal-vector-width.ll (diff)llvm.src/test/CodeGen/X86/min-legal-vector-width.ll
Revision 374281 by jdoerfert:
[Attributor][NFC] clang format
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Transforms/IPO/Attributor.h (diff)llvm.src/include/llvm/Transforms/IPO/Attributor.h
The file was modified/llvm/trunk/lib/Transforms/IPO/Attributor.cpp (diff)llvm.src/lib/Transforms/IPO/Attributor.cpp
Revision 374280 by jdoerfert:
[Attributor] Handle `null` differently in capture and alias logic

Summary:
`null` in the default address space (=AS 0) cannot be captured nor can
it alias anything. We make this clear now as it can be important for
callbacks and other cases later on. In addition, this patch improves the
debug output for noalias deduction.

Reviewers: sstefan1, uenoku

Subscribers: hiraditya, bollu, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68624
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/IPO/Attributor.cpp (diff)llvm.src/lib/Transforms/IPO/Attributor.cpp
The file was modified/llvm/trunk/test/Transforms/FunctionAttrs/callbacks.ll (diff)llvm.src/test/Transforms/FunctionAttrs/callbacks.ll
The file was modified/llvm/trunk/test/Transforms/FunctionAttrs/nocapture.ll (diff)llvm.src/test/Transforms/FunctionAttrs/nocapture.ll
Revision 374278 by gnsyncbot:
gn build: Merge r374277
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/llvm/unittests/TextAPI/BUILD.gn (diff)llvm.src/utils/gn/secondary/llvm/unittests/TextAPI/BUILD.gn
Revision 374277 by cishida:
Reland "[TextAPI] Introduce TBDv4"

Original Patch broke for compilations w/ gcc and exposed asan fail.
This reland repairs those bugs.

Differential Revision: https://reviews.llvm.org/D67529
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/TextAPI/MachO/InterfaceFile.h (diff)llvm.src/include/llvm/TextAPI/MachO/InterfaceFile.h
The file was modified/llvm/trunk/include/llvm/TextAPI/MachO/Symbol.h (diff)llvm.src/include/llvm/TextAPI/MachO/Symbol.h
The file was modified/llvm/trunk/include/llvm/TextAPI/MachO/Target.h (diff)llvm.src/include/llvm/TextAPI/MachO/Target.h
The file was modified/llvm/trunk/lib/TextAPI/MachO/Target.cpp (diff)llvm.src/lib/TextAPI/MachO/Target.cpp
The file was modified/llvm/trunk/lib/TextAPI/MachO/TextStub.cpp (diff)llvm.src/lib/TextAPI/MachO/TextStub.cpp
The file was modified/llvm/trunk/lib/TextAPI/MachO/TextStubCommon.cpp (diff)llvm.src/lib/TextAPI/MachO/TextStubCommon.cpp
The file was modified/llvm/trunk/unittests/TextAPI/CMakeLists.txt (diff)llvm.src/unittests/TextAPI/CMakeLists.txt
The file was added/llvm/trunk/unittests/TextAPI/TextStubV4Tests.cppllvm.src/unittests/TextAPI/TextStubV4Tests.cpp
Revision 374276 by hliao:
[ast] Fix indentation. NFC.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/Decl.h (diff)clang.src/include/clang/AST/Decl.h
Revision 374274 by hliao:
[sema] Revise `getCurrentMangleNumberContext` interface. NFC.

- Prefer returning mulitple values using a tuple instead of
  additional pointers/references.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Sema/Sema.h (diff)clang.src/include/clang/Sema/Sema.h
The file was modified/cfe/trunk/lib/Sema/SemaDecl.cpp (diff)clang.src/lib/Sema/SemaDecl.cpp
The file was modified/cfe/trunk/lib/Sema/SemaExpr.cpp (diff)clang.src/lib/Sema/SemaExpr.cpp
The file was modified/cfe/trunk/lib/Sema/SemaLambda.cpp (diff)clang.src/lib/Sema/SemaLambda.cpp
Revision 374273 by shchenz:
[PowerPC] add testcase for ppc loop instr form prep - NFC
Change TypePath in RepositoryPath in Workspace
The file was added/llvm/trunk/test/CodeGen/PowerPC/loop-instr-form-prepare.llllvm.src/test/CodeGen/PowerPC/loop-instr-form-prepare.ll
Revision 374272 by nico:
gn build: (manually) merge r374271
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-tidy/utils/BUILD.gn (diff)llvm.src/utils/gn/secondary/clang-tools-extra/clang-tidy/utils/BUILD.gn
The file was modified/llvm/trunk/utils/gn/secondary/clang-tools-extra/unittests/clang-tidy/BUILD.gn (diff)llvm.src/utils/gn/secondary/clang-tools-extra/unittests/clang-tidy/BUILD.gn
The file was modified/llvm/trunk/utils/gn/secondary/clang/lib/Tooling/Refactoring/BUILD.gn (diff)llvm.src/utils/gn/secondary/clang/lib/Tooling/Refactoring/BUILD.gn
The file was added/llvm/trunk/utils/gn/secondary/clang/lib/Tooling/Transformerllvm.src/utils/gn/secondary/clang/lib/Tooling/Transformer
The file was added/llvm/trunk/utils/gn/secondary/clang/lib/Tooling/Transformer/BUILD.gnllvm.src/utils/gn/secondary/clang/lib/Tooling/Transformer/BUILD.gn
The file was modified/llvm/trunk/utils/gn/secondary/clang/unittests/Tooling/BUILD.gn (diff)llvm.src/utils/gn/secondary/clang/unittests/Tooling/BUILD.gn
Revision 374271 by ymandel:
[libTooling] Move Transformer files to their own directory/library.

Summary:
The Transformer library has been growing inside of
lib/Tooling/Refactoring. However, it's not really related to anything else in
that directory. This revision moves all Transformer-related files into their own
include & lib directories.  A followup revision will (temporarily) add
forwarding headers to help any users migrate their code to the new location.

Reviewers: gribozavr

Subscribers: mgorny, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68637
Change TypePath in RepositoryPath in Workspace
The file was removed/cfe/trunk/include/clang/Tooling/Refactoring/MatchConsumer.hclang.src/include/clang/Tooling/Refactoring/MatchConsumer.h
The file was removed/cfe/trunk/include/clang/Tooling/Refactoring/RangeSelector.hclang.src/include/clang/Tooling/Refactoring/RangeSelector.h
The file was removed/cfe/trunk/include/clang/Tooling/Refactoring/SourceCode.hclang.src/include/clang/Tooling/Refactoring/SourceCode.h
The file was removed/cfe/trunk/include/clang/Tooling/Refactoring/SourceCodeBuilders.hclang.src/include/clang/Tooling/Refactoring/SourceCodeBuilders.h
The file was removed/cfe/trunk/include/clang/Tooling/Refactoring/Stencil.hclang.src/include/clang/Tooling/Refactoring/Stencil.h
The file was removed/cfe/trunk/include/clang/Tooling/Refactoring/Transformer.hclang.src/include/clang/Tooling/Refactoring/Transformer.h
The file was added/cfe/trunk/include/clang/Tooling/Transformerclang.src/include/clang/Tooling/Transformer
The file was added/cfe/trunk/include/clang/Tooling/Transformer/MatchConsumer.hclang.src/include/clang/Tooling/Transformer/MatchConsumer.h
The file was added/cfe/trunk/include/clang/Tooling/Transformer/RangeSelector.hclang.src/include/clang/Tooling/Transformer/RangeSelector.h
The file was added/cfe/trunk/include/clang/Tooling/Transformer/SourceCode.hclang.src/include/clang/Tooling/Transformer/SourceCode.h
The file was added/cfe/trunk/include/clang/Tooling/Transformer/SourceCodeBuilders.hclang.src/include/clang/Tooling/Transformer/SourceCodeBuilders.h
The file was added/cfe/trunk/include/clang/Tooling/Transformer/Stencil.hclang.src/include/clang/Tooling/Transformer/Stencil.h
The file was added/cfe/trunk/include/clang/Tooling/Transformer/Transformer.hclang.src/include/clang/Tooling/Transformer/Transformer.h
The file was modified/cfe/trunk/lib/Tooling/CMakeLists.txt (diff)clang.src/lib/Tooling/CMakeLists.txt
The file was modified/cfe/trunk/lib/Tooling/Refactoring/CMakeLists.txt (diff)clang.src/lib/Tooling/Refactoring/CMakeLists.txt
The file was removed/cfe/trunk/lib/Tooling/Refactoring/RangeSelector.cppclang.src/lib/Tooling/Refactoring/RangeSelector.cpp
The file was removed/cfe/trunk/lib/Tooling/Refactoring/SourceCode.cppclang.src/lib/Tooling/Refactoring/SourceCode.cpp
The file was removed/cfe/trunk/lib/Tooling/Refactoring/SourceCodeBuilders.cppclang.src/lib/Tooling/Refactoring/SourceCodeBuilders.cpp
The file was removed/cfe/trunk/lib/Tooling/Refactoring/Stencil.cppclang.src/lib/Tooling/Refactoring/Stencil.cpp
The file was removed/cfe/trunk/lib/Tooling/Refactoring/Transformer.cppclang.src/lib/Tooling/Refactoring/Transformer.cpp
The file was added/cfe/trunk/lib/Tooling/Transformerclang.src/lib/Tooling/Transformer
The file was added/cfe/trunk/lib/Tooling/Transformer/CMakeLists.txtclang.src/lib/Tooling/Transformer/CMakeLists.txt
The file was added/cfe/trunk/lib/Tooling/Transformer/RangeSelector.cppclang.src/lib/Tooling/Transformer/RangeSelector.cpp
The file was added/cfe/trunk/lib/Tooling/Transformer/SourceCode.cppclang.src/lib/Tooling/Transformer/SourceCode.cpp
The file was added/cfe/trunk/lib/Tooling/Transformer/SourceCodeBuilders.cppclang.src/lib/Tooling/Transformer/SourceCodeBuilders.cpp
The file was added/cfe/trunk/lib/Tooling/Transformer/Stencil.cppclang.src/lib/Tooling/Transformer/Stencil.cpp
The file was added/cfe/trunk/lib/Tooling/Transformer/Transformer.cppclang.src/lib/Tooling/Transformer/Transformer.cpp
The file was modified/cfe/trunk/unittests/Tooling/CMakeLists.txt (diff)clang.src/unittests/Tooling/CMakeLists.txt
The file was modified/cfe/trunk/unittests/Tooling/RangeSelectorTest.cpp (diff)clang.src/unittests/Tooling/RangeSelectorTest.cpp
The file was modified/cfe/trunk/unittests/Tooling/SourceCodeBuildersTest.cpp (diff)clang.src/unittests/Tooling/SourceCodeBuildersTest.cpp
The file was modified/cfe/trunk/unittests/Tooling/SourceCodeTest.cpp (diff)clang.src/unittests/Tooling/SourceCodeTest.cpp
The file was modified/cfe/trunk/unittests/Tooling/StencilTest.cpp (diff)clang.src/unittests/Tooling/StencilTest.cpp
The file was modified/cfe/trunk/unittests/Tooling/TransformerTest.cpp (diff)clang.src/unittests/Tooling/TransformerTest.cpp
The file was modified/clang-tools-extra/trunk/clang-tidy/utils/CMakeLists.txt (diff)clang-tools-extra.src/clang-tidy/utils/CMakeLists.txt
The file was modified/clang-tools-extra/trunk/clang-tidy/utils/TransformerClangTidyCheck.h (diff)clang-tools-extra.src/clang-tidy/utils/TransformerClangTidyCheck.h
The file was modified/clang-tools-extra/trunk/unittests/clang-tidy/CMakeLists.txt (diff)clang-tools-extra.src/unittests/clang-tidy/CMakeLists.txt
The file was modified/clang-tools-extra/trunk/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp (diff)clang-tools-extra.src/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp
Revision 374269 by rnk:
Re-land [mangle] Fix mangling where an extra mangle context is required.

This reverts r374268 (git commit c34385d07c7d59447bf836b740f032235391d121)

I think I reverted this by mistake, so I'm relanding it. While my bisect
found this revision, I think the crashes I'm seeing locally must be
environmental. Maybe the version of clang I'm using miscompiles tot
clang.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/ASTContext.h (diff)clang.src/include/clang/AST/ASTContext.h
The file was modified/cfe/trunk/include/clang/Sema/Sema.h (diff)clang.src/include/clang/Sema/Sema.h
The file was modified/cfe/trunk/lib/AST/ASTContext.cpp (diff)clang.src/lib/AST/ASTContext.cpp
The file was modified/cfe/trunk/lib/Sema/SemaLambda.cpp (diff)clang.src/lib/Sema/SemaLambda.cpp
The file was modified/cfe/trunk/test/CodeGenCXX/mangle-lambdas.cpp (diff)clang.src/test/CodeGenCXX/mangle-lambdas.cpp
Revision 374268 by rnk:
Revert [mangle] Fix mangling where an extra mangle context is required.

This reverts r374200 (git commit fd18e94697c987d5f24e25aa4e27adaffff3cce4)

Causes crashes just compiling `int main() {}` on my machine.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/AST/ASTContext.h (diff)clang.src/include/clang/AST/ASTContext.h
The file was modified/cfe/trunk/include/clang/Sema/Sema.h (diff)clang.src/include/clang/Sema/Sema.h
The file was modified/cfe/trunk/lib/AST/ASTContext.cpp (diff)clang.src/lib/AST/ASTContext.cpp
The file was modified/cfe/trunk/lib/Sema/SemaLambda.cpp (diff)clang.src/lib/Sema/SemaLambda.cpp
The file was modified/cfe/trunk/test/CodeGenCXX/mangle-lambdas.cpp (diff)clang.src/test/CodeGenCXX/mangle-lambdas.cpp
Revision 374267 by rnk:
[codeview] Try to avoid emitting .cv_loc with line zero

Summary:
Visual Studio doesn't like it while stepping. It kicks you out of the
source view of the file being stepped through and tries to fall back to
the disassembly view.

Fixes PR43530

The fix is incomplete, because it's possible to have a basic block with
no source locations at all. In this case, we don't emit a .cv_loc, but
that will result in wrong stepping behavior in the debugger if the
layout predecessor of the location-less BB has an unrelated source
location. We could try harder to find a valid location that dominates or
post-dominates the current BB, but in general it's a dataflow problem,
and one still might not exist. I left a FIXME about this.

As an alternative, we might want to consider having the middle-end check
if its emitting codeview and get it to stop using line zero.

Reviewers: akhuang

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68747
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp (diff)llvm.src/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was added/llvm/trunk/test/DebugInfo/COFF/line-zero.llllvm.src/test/DebugInfo/COFF/line-zero.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/local-variables.ll (diff)llvm.src/test/DebugInfo/COFF/local-variables.ll
Revision 374266 by rnk:
Use -fdebug-compilation-dir to form absolute paths in coverage mappings

This allows users to explicitly request relative paths with
`-fdebug-compilation-dir .`.

Fixes PR43614

Reviewers: vsk, arphaman

Differential Revision: https://reviews.llvm.org/D68733
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CoverageMappingGen.cpp (diff)clang.src/lib/CodeGen/CoverageMappingGen.cpp
The file was modified/cfe/trunk/lib/CodeGen/CoverageMappingGen.h (diff)clang.src/lib/CodeGen/CoverageMappingGen.h
The file was added/cfe/trunk/test/CoverageMapping/debug-dir.cppclang.src/test/CoverageMapping/debug-dir.cpp
Revision 374265 by yln:
[ASan] Do not misrepresent high value address dereferences as null dereferences

Dereferences with addresses above the 48-bit hardware addressable range
produce "invalid instruction" (instead of "invalid access") hardware
exceptions (there is no hardware address decoding logic for those bits),
and the address provided by this exception is the address of the
instruction (not the faulting address).  The kernel maps the "invalid
instruction" to SEGV, but fails to provide the real fault address.

Because of this ASan lies and says that those cases are null
dereferences.  This downgrades the severity of a found bug in terms of
security.  In the ASan signal handler, we can not provide the real
faulting address, but at least we can try not to lie.

rdar://50366151

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D68676
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/asan/asan_errors.h (diff)compiler-rt.src/lib/asan/asan_errors.h
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_common.h
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_linux.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_mac.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer_report.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
The file was modified/compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cpp (diff)compiler-rt.src/lib/sanitizer_common/sanitizer_win.cpp
The file was added/compiler-rt/trunk/test/asan/TestCases/Posix/high-address-dereference.ccompiler-rt.src/test/asan/TestCases/Posix/high-address-dereference.c