SuccessChanges

Summary

  1. DebugInfo: Put range base specifier entry functionality behind a flag Chromium's gold build seems to have trouble with this (gold produces errors) - not sure if it's gold that's not coping with the valid representation, or a bug in the implementation in LLVM, etc.
  2. [AVX512] Add a common prefix to avx512-insert-extract.ll so we can reduce the number of check lines on some test cases. This was pointed out during the review for D313804.
  3. [codeview] Ignore DBG_VALUEs when choosing a BB start source loc When the first instruction of a basic block has no location (consider a LEA materializing the address of an alloca for a call), we want to start the line table for the block with the first valid source location in the block. We need to ignore DBG_VALUE instructions during this scan to get decent line tables.
  4. [InstCombine] allow mask hoisting transform for vector types
  5. Move RTEMS to OSTargets.h Differential Revision: https://reviews.llvm.org/D36106
  6. [AVX-512] Use AVX512 as test check prefix instead of AVX3. NFC
  7. Revert r309622, "Fix logic for generating llvm.type.test()s" Caused a bot test failure: http://bb.pgr.jp/builders/test-clang-msc-x64-on-i686-linux-RA/builds/5325
  8. Debug Info: Also check the DWARF output in assembler-only test cases This will prevent me from introducing a regression in my next commit.
  9. Fix logic for generating llvm.type.test()s CodeGenFunction::EmitTypeMetadataCodeForVCall() could output an llvm.assume(llvm.type.test())when CFI was enabled, optimizing out the vcall check. This case was only reached when: 1) CFI-vcall was enabled, 2) -fwhole-program-tables was specified, and 3) -fno-sanitize-trap=cfi-vcall was specified. Patch by Vlad Tsyrklevich! Differential Revision: https://reviews.llvm.org/D36013
  10. Update phi nodes in LowerTypeTests control flow simplification D33925 added a control flow simplification for -O2 --lto-O0 builds that manually splits blocks and reassigns conditional branches but does not correctly update phi nodes. If the else case being branched to had incoming phi nodes the control-flow simplification would leave phi nodes in that BB with an unhandled predecessor. Patch by Vlad Tsyrklevich! Differential Revision: https://reviews.llvm.org/D36012
  11. [Attr] Make TargetWindows and TargetMicrosoftCXXABI match on aarch64 as well Differential Revision: https://reviews.llvm.org/D36100
  12. [AArch64] Don't define __LP64__ when targeting Windows Windows/ARM64 is a LLP64 environment, so don't set this default define. Differential Revision: https://reviews.llvm.org/D36098
  13. [test] Fix mistagged CHECK-NOT-lines for AARCH64-DARWIN in Preprocessor/init.c Differential Revision: https://reviews.llvm.org/D36099
  14. Remove STL/microsoft-specific CFI blacklist entries Patch by Vlad Tsyrklevich! Differential Revision: https://reviews.llvm.org/D35855
  15. [X86] Remove -O3 from tbm-builtins.c test file. A change to InstCombine broke this test, but we generally frown on running optimizations clang tests anyway. So I've updated the checks to not depend on optimizations anymore.
  16. [libFuzzer] implement __sanitizer_cov_pcs_init and add pc-table to build flags for one test (for now)
  17. [X86][MMX] Added custom lowering action for MMX SELECT (PR30418) Fix for pr30418 - error in backend: Cannot select: t17: x86mmx = select_cc t2, Constant:i64<0>, t7, t8, seteq:ch Differential Revision: https://reviews.llvm.org/D34661
  18. [InstCombine] add tests for mask hoisting; NFC The scalar transforms exist with no test coverage. The vector equivalents are missing.
  19. [sanitizer-coverage] don't instrument available_externally functions
  20. [sanitizer-coverage] ensure minimal alignment for coverage counters and guards
  21. [lld/pdb] Add an empty globals stream. We don't write any actual symbols to this stream yet, but for now we just create the stream and hook it up to the appropriate places and give it a valid header. Differential Revision: https://reviews.llvm.org/D35290
  22. [Driver] Allow users to silence the warning that is issued when the deployment target is earlier than iOS 11 and the target is 32-bit. This is a follow-up to r306922. rdar://problem/32230613
  23. [SLPVectorizer] Unbreak the build with -Werror. GCC was complaining about `&&` within `||` without explicit parentheses. NFCI.
  24. [X86][InstCombine] Add some simplifications for BZHI intrinsics This intrinsic clears the upper bits starting at a specified index. If the index is a constant we can do some simplifications. This could be in InstSimplify, but we don't handle any target specific intrinsics there today. Differential Revision: https://reviews.llvm.org/D36069
  25. [X86][InstCombine] Add basic simplification support for BEXTR/BEXTRI intrinsics. This patch adds simplification support for the BEXTR/BEXTRI intrinsics to match gcc. This only supports cases that fold to 0 or can be fully constant folded. Theoretically we could support converting to AND if the shift part is unused or to only a shift if the mask doesn't modify any bits after an equivalent shl. gcc doesn't do these transformations either. I put this in InstCombine, but it could be done in InstSimplify. It would be the first target specific intrinsic in InstSimplify. Differential Revision: https://reviews.llvm.org/D36063
  26. [lit] Avoid copying llvm/utils/lit/tests/Inputs with lit site configs Summary: This is an alternative solution to running the lit test suite on bots without polluting the source directory. Each input test suite gets an auto-generated site config in the build directory that points back to the test input source directory. This adds some cmake comlexity, but now we don't need to remove and re-copy the test input directory before every test. Reviewers: delcypher, modocache Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D36026
  27. [msan] Check for pvalloc overflow Summary: `CheckForPvallocOverflow` was introduced with D35818 to detect when pvalloc would wrap when rounding up to the next multiple of the page size. Add this check to MSan's pvalloc implementation. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D36093
  28. [llc][NFC] Update message in assert.
  29. [TargetPassConfig] Feature generic options to setup start/stop-after/before This patch refactors the code used in llc such that all the users of the addPassesToEmitFile API have access to a homogeneous way of handling start/stop-after/before options right out of the box. In particular, just invoking addPassesToEmitFile will set the proper pipeline without additional effort (modulo parsing a .mir file if the start-before/after options are used. NFC. Differential Revision: https://reviews.llvm.org/D30913
  30. [Targets] Move addCygMingDefines into the arch-independent Targets.cpp (NFC) This fixes a dependency inconsistency, where addMinGWDefines in Targets.cpp (used from other architectures than X86) called the addCygMingDefines function in X86.h. This was inconsistently split in SVN r308791 (D35701). Differential Revision: https://reviews.llvm.org/D36072
  31. [CGP] use subtract or subtract-of-cmps for result of memcmp expansion As noted in the code comment, transforming this in the other direction might require a separate transform here in CGP given the block-at-a-time DAG constraint. Besides that theoretical motivation, there are 2 practical motivations for the subtract-of-cmps form: 1. The codegen for both x86 and PPC is better for this IR (though PPC could be better still). There is discussion about canonicalizing IR to the select form ( http://lists.llvm.org/pipermail/llvm-dev/2017-July/114885.html ), so we probably need to add DAG transforms for those patterns anyway, but this improves the memcmp output without waiting for that step. 2. If we allow vector-sized chunks for the load and compare, x86 is better prepared to convert that to optimal code when using subtract-of-cmps, so another prerequisite patch is avoided if we choose to enable that. Differential Revision: https://reviews.llvm.org/D34904
  32. [DWARF] Added verification check for tags in accelerator tables. This patch verifies that the atom tag is actually the same with the tag of the DIE that we retrieve from the table. Differential Revision: https://reviews.llvm.org/D35963
Revision 309630 by dblaikie:
DebugInfo: Put range base specifier entry functionality behind a flag

Chromium's gold build seems to have trouble with this (gold produces
errors) - not sure if it's gold that's not coping with the valid
representation, or a bug in the implementation in LLVM, etc.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cppllvm.src/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modified/llvm/trunk/test/DebugInfo/X86/range_reloc.llllvm.src/test/DebugInfo/X86/range_reloc.ll
Revision 309629 by ctopper:
[AVX512] Add a common prefix to avx512-insert-extract.ll so we can reduce the number of check lines on some test cases.

This was pointed out during the review for D313804.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/avx512-insert-extract.llllvm.src/test/CodeGen/X86/avx512-insert-extract.ll
Revision 309628 by rnk:
[codeview] Ignore DBG_VALUEs when choosing a BB start source loc

When the first instruction of a basic block has no location (consider a
LEA materializing the address of an alloca for a call), we want to start
the line table for the block with the first valid source location in the
block.  We need to ignore DBG_VALUE instructions during this scan to get
decent line tables.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/CodeViewDebug.cppllvm.src/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modified/llvm/trunk/test/DebugInfo/COFF/lines-bb-start.llllvm.src/test/DebugInfo/COFF/lines-bb-start.ll
The file was modified/llvm/trunk/test/DebugInfo/COFF/local-variables.llllvm.src/test/DebugInfo/COFF/local-variables.ll
Revision 309627 by spatel:
[InstCombine] allow mask hoisting transform for vector types
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cppllvm.src/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modified/llvm/trunk/test/Transforms/InstCombine/and-or.llllvm.src/test/Transforms/InstCombine/and-or.ll
Revision 309626 by waltl:
Move RTEMS to OSTargets.h

Differential Revision: https://reviews.llvm.org/D36106
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Basic/Targets/OSTargets.hclang.src/lib/Basic/Targets/OSTargets.h
The file was modified/cfe/trunk/lib/Basic/Targets/X86.hclang.src/lib/Basic/Targets/X86.h
Revision 309625 by ctopper:
[AVX-512] Use AVX512 as test check prefix instead of AVX3. NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/CodeGen/X86/x86-interleaved-access.llllvm.src/test/CodeGen/X86/x86-interleaved-access.ll
Revision 309624 by pcc:
Revert r309622, "Fix logic for generating llvm.type.test()s"

Caused a bot test failure:
http://bb.pgr.jp/builders/test-clang-msc-x64-on-i686-linux-RA/builds/5325
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CGClass.cppclang.src/lib/CodeGen/CGClass.cpp
The file was removed/cfe/trunk/test/CodeGenCXX/cfi-vcall-no-trap.cppclang.src/test/CodeGenCXX/cfi-vcall-no-trap.cpp
Revision 309623 by Adrian Prantl:
Debug Info: Also check the DWARF output in assembler-only test cases

This will prevent me from introducing a regression in my next commit.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/DebugInfo/ARM/PR16736.llllvm.src/test/DebugInfo/ARM/PR16736.ll
The file was modified/llvm/trunk/test/DebugInfo/X86/dbg-value-frame-index.llllvm.src/test/DebugInfo/X86/dbg-value-frame-index.ll
The file was modified/llvm/trunk/test/DebugInfo/X86/debug-loc-asan.llllvm.src/test/DebugInfo/X86/debug-loc-asan.ll
The file was modified/llvm/trunk/test/DebugInfo/X86/pieces-4.llllvm.src/test/DebugInfo/X86/pieces-4.ll
Revision 309622 by pcc:
Fix logic for generating llvm.type.test()s

CodeGenFunction::EmitTypeMetadataCodeForVCall() could output an
llvm.assume(llvm.type.test())when CFI was enabled, optimizing out the
vcall check. This case was only reached when: 1) CFI-vcall was enabled,
2) -fwhole-program-tables was specified, and 3)
-fno-sanitize-trap=cfi-vcall was specified.

Patch by Vlad Tsyrklevich!

Differential Revision: https://reviews.llvm.org/D36013
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/CodeGen/CGClass.cppclang.src/lib/CodeGen/CGClass.cpp
The file was added/cfe/trunk/test/CodeGenCXX/cfi-vcall-no-trap.cppclang.src/test/CodeGenCXX/cfi-vcall-no-trap.cpp
Revision 309621 by pcc:
Update phi nodes in LowerTypeTests control flow simplification

D33925 added a control flow simplification for -O2 --lto-O0 builds that
manually splits blocks and reassigns conditional branches but does not
correctly update phi nodes. If the else case being branched to had
incoming phi nodes the control-flow simplification would leave phi nodes
in that BB with an unhandled predecessor.

Patch by Vlad Tsyrklevich!

Differential Revision: https://reviews.llvm.org/D36012
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/IPO/LowerTypeTests.cppllvm.src/lib/Transforms/IPO/LowerTypeTests.cpp
The file was added/llvm/trunk/test/Transforms/LowerTypeTests/simplify_phi.llllvm.src/test/Transforms/LowerTypeTests/simplify_phi.ll
Revision 309620 by mstorsjo:
[Attr] Make TargetWindows and TargetMicrosoftCXXABI match on aarch64 as well

Differential Revision: https://reviews.llvm.org/D36100
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/Attr.tdclang.src/include/clang/Basic/Attr.td
The file was modified/cfe/trunk/test/Sema/dllimport.cclang.src/test/Sema/dllimport.c
Revision 309619 by mstorsjo:
[AArch64] Don't define __LP64__ when targeting Windows

Windows/ARM64 is a LLP64 environment, so don't set this default
define.

Differential Revision: https://reviews.llvm.org/D36098
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Basic/Targets/AArch64.cppclang.src/lib/Basic/Targets/AArch64.cpp
The file was modified/cfe/trunk/test/Preprocessor/init.cclang.src/test/Preprocessor/init.c
Revision 309618 by mstorsjo:
[test] Fix mistagged CHECK-NOT-lines for AARCH64-DARWIN in Preprocessor/init.c

Differential Revision: https://reviews.llvm.org/D36099
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/test/Preprocessor/init.cclang.src/test/Preprocessor/init.c
Revision 309617 by pcc:
Remove STL/microsoft-specific CFI blacklist entries

Patch by Vlad Tsyrklevich!

Differential Revision: https://reviews.llvm.org/D35855
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/cfi/cfi_blacklist.txtcompiler-rt.src/lib/cfi/cfi_blacklist.txt
Revision 309616 by ctopper:
[X86] Remove -O3 from tbm-builtins.c test file.

A change to InstCombine broke this test, but we generally frown on running optimizations clang tests anyway. So I've updated the checks to not depend on optimizations anymore.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/test/CodeGen/tbm-builtins.cclang.src/test/CodeGen/tbm-builtins.c
Revision 309615 by kcc:
[libFuzzer] implement __sanitizer_cov_pcs_init and add pc-table to build flags for one test (for now)
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Fuzzer/FuzzerTracePC.cppllvm.src/lib/Fuzzer/FuzzerTracePC.cpp
The file was modified/llvm/trunk/lib/Fuzzer/FuzzerTracePC.hllvm.src/lib/Fuzzer/FuzzerTracePC.h
The file was modified/llvm/trunk/lib/Fuzzer/test/inline-8bit-counters/CMakeLists.txtllvm.src/lib/Fuzzer/test/inline-8bit-counters/CMakeLists.txt
Revision 309614 by kbelochapka:
[X86][MMX] Added custom lowering action for MMX SELECT (PR30418)
Fix for pr30418 - error in backend: Cannot select: t17: x86mmx = select_cc t2, Constant:i64<0>, t7, t8, seteq:ch
Differential Revision: https://reviews.llvm.org/D34661
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/X86/X86ISelLowering.cppllvm.src/lib/Target/X86/X86ISelLowering.cpp
The file was added/llvm/trunk/test/CodeGen/X86/select-mmx.llllvm.src/test/CodeGen/X86/select-mmx.ll
Revision 309612 by spatel:
[InstCombine] add tests for mask hoisting; NFC

The scalar transforms exist with no test coverage. The vector equivalents are missing.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/Transforms/InstCombine/and-or.llllvm.src/test/Transforms/InstCombine/and-or.ll
Revision 309611 by kcc:
[sanitizer-coverage] don't instrument available_externally functions
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cppllvm.src/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
The file was modified/llvm/trunk/test/Instrumentation/SanitizerCoverage/tracing.llllvm.src/test/Instrumentation/SanitizerCoverage/tracing.ll
Revision 309610 by kcc:
[sanitizer-coverage] ensure minimal alignment for coverage counters and guards
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Instrumentation/SanitizerCoverage.cppllvm.src/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
The file was modified/llvm/trunk/test/Instrumentation/SanitizerCoverage/inline-8bit-counters.llllvm.src/test/Instrumentation/SanitizerCoverage/inline-8bit-counters.ll
The file was modified/llvm/trunk/test/Instrumentation/SanitizerCoverage/tracing.llllvm.src/test/Instrumentation/SanitizerCoverage/tracing.ll
Revision 309608 by zturner:
[lld/pdb] Add an empty globals stream.

We don't write any actual symbols to this stream yet, but for
now we just create the stream and hook it up to the appropriate
places and give it a valid header.

Differential Revision: https://reviews.llvm.org/D35290
Change TypePath in RepositoryPath in Workspace
The file was modified/lld/trunk/COFF/PDB.cppN/A
The file was modified/lld/trunk/test/COFF/pdb-diff.testN/A
The file was modified/llvm/trunk/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.hllvm.src/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h
The file was added/llvm/trunk/include/llvm/DebugInfo/PDB/Native/GlobalsStreamBuilder.hllvm.src/include/llvm/DebugInfo/PDB/Native/GlobalsStreamBuilder.h
The file was modified/llvm/trunk/include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.hllvm.src/include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h
The file was modified/llvm/trunk/lib/DebugInfo/PDB/CMakeLists.txtllvm.src/lib/DebugInfo/PDB/CMakeLists.txt
The file was modified/llvm/trunk/lib/DebugInfo/PDB/Native/DbiStreamBuilder.cppllvm.src/lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
The file was added/llvm/trunk/lib/DebugInfo/PDB/Native/GlobalsStreamBuilder.cppllvm.src/lib/DebugInfo/PDB/Native/GlobalsStreamBuilder.cpp
The file was modified/llvm/trunk/lib/DebugInfo/PDB/Native/PDBFileBuilder.cppllvm.src/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
Revision 309607 by ahatanak:
[Driver] Allow users to silence the warning that is issued when the
deployment target is earlier than iOS 11 and the target is 32-bit.

This is a follow-up to r306922.

rdar://problem/32230613
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.tdclang.src/include/clang/Basic/DiagnosticDriverKinds.td
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticGroups.tdclang.src/include/clang/Basic/DiagnosticGroups.td
The file was modified/cfe/trunk/lib/Driver/ToolChains/Darwin.cppclang.src/lib/Driver/ToolChains/Darwin.cpp
The file was modified/cfe/trunk/test/Driver/darwin-version.cclang.src/test/Driver/darwin-version.c
Revision 309606 by davide:
[SLPVectorizer] Unbreak the build with -Werror.

GCC was complaining about `&&` within `||` without explicit
parentheses. NFCI.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cppllvm.src/lib/Transforms/Vectorize/SLPVectorizer.cpp
Revision 309604 by ctopper:
[X86][InstCombine] Add some simplifications for BZHI intrinsics

This intrinsic clears the upper bits starting at a specified index. If the index is a constant we can do some simplifications.

This could be in InstSimplify, but we don't handle any target specific intrinsics there today.

Differential Revision: https://reviews.llvm.org/D36069
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cppllvm.src/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was modified/llvm/trunk/test/Transforms/InstCombine/X86/x86-bmi-tbm.llllvm.src/test/Transforms/InstCombine/X86/x86-bmi-tbm.ll
Revision 309603 by ctopper:
[X86][InstCombine] Add basic simplification support for BEXTR/BEXTRI intrinsics.

This patch adds simplification support for the BEXTR/BEXTRI intrinsics to match gcc. This only supports cases that fold to 0 or can be fully constant folded. Theoretically we could support converting to AND if the shift part is unused or to only a shift if the mask doesn't modify any bits after an equivalent shl. gcc doesn't do these transformations either.

I put this in InstCombine, but it could be done in InstSimplify. It would be the first target specific intrinsic in InstSimplify.

Differential Revision: https://reviews.llvm.org/D36063
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cppllvm.src/lib/Transforms/InstCombine/InstCombineCalls.cpp
The file was added/llvm/trunk/test/Transforms/InstCombine/X86/x86-bmi-tbm.llllvm.src/test/Transforms/InstCombine/X86/x86-bmi-tbm.ll
Revision 309602 by rnk:
[lit] Avoid copying llvm/utils/lit/tests/Inputs with lit site configs

Summary:
This is an alternative solution to running the lit test suite on bots
without polluting the source directory. Each input test suite gets an
auto-generated site config in the build directory that points back to
the test input source directory.

This adds some cmake comlexity, but now we don't need to remove and
re-copy the test input directory before every test.

Reviewers: delcypher, modocache

Subscribers: mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D36026
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/CMakeLists.txtllvm.src/CMakeLists.txt
The file was removed/llvm/trunk/utils/lit/CMakeLists.txtllvm.src/utils/lit/CMakeLists.txt
The file was added/llvm/trunk/utils/lit/tests/CMakeLists.txtllvm.src/utils/lit/tests/CMakeLists.txt
The file was added/llvm/trunk/utils/lit/tests/Inputs/lit.site.cfg.inllvm.src/utils/lit/tests/Inputs/lit.site.cfg.in
The file was modified/llvm/trunk/utils/lit/tests/lit.site.cfg.inllvm.src/utils/lit/tests/lit.site.cfg.in
Revision 309601 by cryptoad:
[msan] Check for pvalloc overflow

Summary:
`CheckForPvallocOverflow` was introduced with D35818 to detect when pvalloc
would wrap when rounding up to the next multiple of the page size.

Add this check to MSan's pvalloc implementation.

Reviewers: alekseyshl

Reviewed By: alekseyshl

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D36093
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/msan/msan_allocator.cccompiler-rt.src/lib/msan/msan_allocator.cc
The file was modified/compiler-rt/trunk/lib/msan/tests/msan_test.cccompiler-rt.src/lib/msan/tests/msan_test.cc
Revision 309600 by qcolombet:
[llc][NFC] Update message in assert.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/tools/llc/llc.cppllvm.src/tools/llc/llc.cpp
Revision 309599 by qcolombet:
[TargetPassConfig] Feature generic options to setup start/stop-after/before

This patch refactors the code used in llc such that all the users of the
addPassesToEmitFile API have access to a homogeneous way of handling
start/stop-after/before options right out of the box.

In particular, just invoking addPassesToEmitFile will set the proper
pipeline without additional effort (modulo parsing a .mir file if the
start-before/after options are used.

NFC.

Differential Revision: https://reviews.llvm.org/D30913
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/CodeGen/TargetPassConfig.hllvm.src/include/llvm/CodeGen/TargetPassConfig.h
The file was modified/llvm/trunk/include/llvm/Target/TargetMachine.hllvm.src/include/llvm/Target/TargetMachine.h
The file was modified/llvm/trunk/lib/CodeGen/LLVMTargetMachine.cppllvm.src/lib/CodeGen/LLVMTargetMachine.cpp
The file was modified/llvm/trunk/lib/CodeGen/TargetPassConfig.cppllvm.src/lib/CodeGen/TargetPassConfig.cpp
The file was modified/llvm/trunk/test/CodeGen/Generic/llc-start-stop.llllvm.src/test/CodeGen/Generic/llc-start-stop.ll
The file was modified/llvm/trunk/tools/llc/llc.cppllvm.src/tools/llc/llc.cpp
Revision 309598 by mstorsjo:
[Targets] Move addCygMingDefines into the arch-independent Targets.cpp (NFC)

This fixes a dependency inconsistency, where addMinGWDefines in Targets.cpp
(used from other architectures than X86) called the addCygMingDefines function
in X86.h.

This was inconsistently split in SVN r308791 (D35701).

Differential Revision: https://reviews.llvm.org/D36072
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/lib/Basic/Targets.cppclang.src/lib/Basic/Targets.cpp
The file was modified/cfe/trunk/lib/Basic/Targets.hclang.src/lib/Basic/Targets.h
The file was modified/cfe/trunk/lib/Basic/Targets/X86.hclang.src/lib/Basic/Targets/X86.h
Revision 309597 by spatel:
[CGP] use subtract or subtract-of-cmps for result of memcmp expansion

As noted in the code comment, transforming this in the other direction might require
a separate transform here in CGP given the block-at-a-time DAG constraint.

Besides that theoretical motivation, there are 2 practical motivations for the
subtract-of-cmps form:

1. The codegen for both x86 and PPC is better for this IR (though PPC could be better still).
   There is discussion about canonicalizing IR to the select form
   ( http://lists.llvm.org/pipermail/llvm-dev/2017-July/114885.html ),
   so we probably need to add DAG transforms for those patterns anyway, but this improves the
   memcmp output without waiting for that step.

2. If we allow vector-sized chunks for the load and compare, x86 is better prepared to convert
   that to optimal code when using subtract-of-cmps, so another prerequisite patch is avoided
   if we choose to enable that.

Differential Revision: https://reviews.llvm.org/D34904
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/CodeGenPrepare.cppllvm.src/lib/CodeGen/CodeGenPrepare.cpp
The file was modified/llvm/trunk/test/CodeGen/PowerPC/memcmp.llllvm.src/test/CodeGen/PowerPC/memcmp.ll
The file was modified/llvm/trunk/test/CodeGen/PowerPC/memcmpIR.llllvm.src/test/CodeGen/PowerPC/memcmpIR.ll
The file was modified/llvm/trunk/test/CodeGen/X86/memcmp-optsize.llllvm.src/test/CodeGen/X86/memcmp-optsize.ll
The file was modified/llvm/trunk/test/CodeGen/X86/memcmp.llllvm.src/test/CodeGen/X86/memcmp.ll
The file was modified/llvm/trunk/test/Transforms/CodeGenPrepare/X86/memcmp.llllvm.src/test/Transforms/CodeGenPrepare/X86/memcmp.ll
Revision 309596 by sgravani:
[DWARF] Added verification check for tags in accelerator tables. This patch verifies that the atom tag is actually the same with the tag of the DIE that we retrieve from the table.

Differential Revision: https://reviews.llvm.org/D35963
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.hllvm.src/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
The file was modified/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFVerifier.hllvm.src/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
The file was modified/llvm/trunk/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cppllvm.src/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
The file was modified/llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cppllvm.src/lib/DebugInfo/DWARF/DWARFVerifier.cpp
The file was added/llvm/trunk/test/tools/llvm-dwarfdump/X86/apple_types_verify_tag.sllvm.src/test/tools/llvm-dwarfdump/X86/apple_types_verify_tag.s