Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [compiler-rt] Remove some cpplint filters (details)
  2. [compiler-rt] cpplint of inc files in background (details)
  3. [clang-tidy] Fix build with -DBUILD_SHARED_LIB=ON (details)
  4. Make SwitchInstProfUpdateWrapper strict permanently (details)
  5. [WebAssembly] Add -fwasm-exceptions for wasm EH (details)
  6. [LegalizeTypes] Remove code for softening a float type to itself. (details)
  7. [WebAssembly] Add REQUIRES to test (details)
  8. [WebAssembly] Make wasm-eh.cpp requires WebAssembly (details)
  9. [WebAssembly] Delete duplicate REQUIRES line (details)
  10. [DAGCombiner] Improve division estimation of floating points. (details)
  11. [ELF] Support -z undefs (details)
  12. [ELF] Fix a common-page-size typo (details)
  13. [PowerPC][MCP][NFC] Pre-commit test cases for (details)
  14. [InstSimplify] simplifyUnsignedRangeCheck(): handle more cases (PR43251) (details)
  15. [clang-format] Add new style option IndentGotoLabels (details)
  16. [clang-format] [PR43100] clang-format C#  support does not add a space (details)
  17. CodeGenPrep: add separate hook say when GEPs should be used for sinking. (details)
  18. AArch64: support arm64_32, an ILP32 slice for watchOS. (details)
  19. Removed dead code from DiagnosticBuilder (details)
  20. [DAGCombine] visitFDIV - Use isCheaperToUseNegatedFPOps helper for (fdiv (details)
  21. Switch "windows" to "system-windows" in some XFAILs (details)
  22. [MIPS GlobalISel] Select G_IMPLICIT_DEF (details)
  23. [MIPS GlobalISel] Lower G_DYN_STACKALLOC (details)
  24. lld-link: Make /linkrepro: take a filename, not a directory. (details)
  25. [MIPS GlobalISel] Select indirect branch (details)
  26. Removed some questionable default arguments from setters (details)
  27. lld-link: Fix tests that do not run on macOS after r371729. (details)
  28. [clang] [unittest] Import LLVMTestingSupport if necessary (details)
  29. [lldb] Remove duplicated breakpoint tests (details)
  30. [ConstProp] allow folding for fma that produces NaN (details)
  31. [NFC][InstCombine][InstSimplify] Add test for "add-of-negative is (details)
  32. [InstCombine][InstSimplify] Move constant-folding tests in (details)
  33. [lldb][NFC] Simplify makefiles also for breakpoint tests (details)
  34. [docs][llvm-strip] Remove unnecessary whitespace for consistency (details)
  35. Don't use chrpath on Solaris (details)
  36. [Alignment] Move OffsetToAlignment to Alignment.h (details)
  37. [CGP] Ensure sinking multiple instructions does not invalidate dominance (details)
  38. [ELF] ICF: change a dyn_cast<InputSection> to cast (details)
  39. [LV] Support invariant addresses in speculation logic (details)
  40. [InstCombine] reduce test noise and regenerate CHECK lines; NFC (details)
  41. Precommit tests for generalization of load dereferenceability in loop (details)
  42. [MemorySSA] Pass (for update) MSSAU when hoisting instructions. (details)
  43. Don't warn about selectany on implicitly inline variables (details)
  44. [InstCombine] add tests for fptrunc; NFC (details)
Commit d2af368aee56abf77f4a6ca3fd57ebdb697c48f2 by Vitaly Buka
[compiler-rt] Remove some cpplint filters
llvm-svn: 371704
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/
The file was modifiedcompiler-rt/lib/asan/asan_malloc_win.cpp
The file was modifiedcompiler-rt/lib/msan/msan.h
The file was modifiedcompiler-rt/lib/asan/asan_thread.cpp
The file was modifiedcompiler-rt/lib/asan/asan_rtems.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp
The file was modifiedcompiler-rt/include/fuzzer/FuzzedDataProvider.h
The file was modifiedcompiler-rt/lib/sanitizer_common/
The file was modifiedcompiler-rt/test/asan/TestCases/scariness_score_test.cpp
The file was modifiedcompiler-rt/lib/asan/asan_scariness_score.h
The file was modifiedcompiler-rt/lib/dfsan/dfsan_custom.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_flag_parser.cpp
The file was modifiedcompiler-rt/lib/dfsan/dfsan.h
The file was modifiedcompiler-rt/lib/lsan/lsan_common.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_libc.cpp
The file was modifiedcompiler-rt/lib/asan/asan_report.cpp
The file was modifiedcompiler-rt/lib/interception/interception_win.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_printf_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_suppressions_test.cpp
Commit 23bbeb52f392d88bf0d0527392a7a11561ee09c0 by Vitaly Buka
[compiler-rt] cpplint of inc files in background
llvm-svn: 371705
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/
Commit 4f0245fd98bca1dd0797c4e2aad83dbab1b9fccc by aheejin
[clang-tidy] Fix build with -DBUILD_SHARED_LIB=ON
Summary: This fixes build failures with `-DBUILD_SHARED_LIB=ON` after
Reviewers: NoQ
Subscribers: mgorny, xazax.hun, cfe-commits
Tags: #clang
Differential Revision:
llvm-svn: 371706
The file was modifiedclang-tools-extra/clang-tidy/CMakeLists.txt
Commit bdfe84ad110fb386676955a24afd30f68b25b80b by yevgeny.rouban
Make SwitchInstProfUpdateWrapper strict permanently
We have been using -switch-inst-prof-update-wrapper-strict set to true
by default for some time. It is time to remove the safety stuff and make
SwitchInstProfUpdateWrapper intolerant to inconsistencies in !prof
branch_weights metadata of SwitchInst.
This patch gets rid of the Invalid state of SwitchInstProfUpdateWrapper
and the option
-switch-inst-prof-update-wrapper-strict. So there is only two states:
changed and unchanged.
Reviewers: davidx, nikic, eraman, reames, chandlerc Reviewed By: davidx
Differential Revision:
llvm-svn: 371707
The file was modifiedllvm/include/llvm/IR/Instructions.h
The file was modifiedllvm/lib/IR/Instructions.cpp
Commit e8b2b8868d2192fefe2ddf6445e465e283c3ba2d by aheejin
[WebAssembly] Add -fwasm-exceptions for wasm EH
Summary: This adds `-fwasm-exceptions` (in similar fashion with
`-fdwarf-exceptions` or `-fsjlj-exceptions`) that turns on everything
with wasm exception handling from the frontend to the backend.
We currently have `-mexception-handling` in clang frontend, but this is
only about the architecture capability and does not turn on other
necessary options such as the exception model in the backend. (This can
be turned on with `llc -exception-model=wasm`, but llc is not invoked
separately as a command line tool, so this option has to be transferred
from clang.)
Turning on `-fwasm-exceptions` in clang also turns on
`-mexception-handling` if not specified, and will error out if
`-mno-exception-handling` is specified.
Reviewers: dschuff, tlively, sbc100
Subscribers: aprantl, jgravelle-google, sunfish, cfe-commits
Tags: #clang
Differential Revision:
llvm-svn: 371708
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/ToolChains/WebAssembly.cpp
The file was modifiedclang/include/clang/Driver/
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedclang/lib/CodeGen/CGException.cpp
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
The file was modifiedclang/test/Driver/wasm-toolchain.c
Commit b8dd07527568e869b4ccfbd8110eef93f196b515 by craig.topper
[LegalizeTypes] Remove code for softening a float type to itself.
This was previously used to turn fp128 operations into libcalls on X86.
This is now done through op legalization after r371672.
This restores much of this code to before r254653.
llvm-svn: 371709
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Commit c167402183aafdfb0f985979431ebafc43f59acf by dave
[WebAssembly] Add REQUIRES to test
llvm-svn: 371710
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
Commit c4712fda7c6c27fae1ce2a1b0cc28ecbbdf5f53a by aheejin
[WebAssembly] Make wasm-eh.cpp requires WebAssembly
D67208 added a new test line to wasm-eh.cpp that invokes the LLVM
backend and this test fails on bots that don't have WebAssembly target.
This makes wasm-eh.cpp explicitly require WebAssembly so this will be
skipped on those targets.
llvm-svn: 371711
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
Commit 75f65fe8d316407c5dd7cd9bfdfc760203947aa1 by aheejin
[WebAssembly] Delete duplicate REQUIRES line
r371710 and r371711 committed the same line, so this deletes one of
llvm-svn: 371712
The file was modifiedclang/test/CodeGenCXX/wasm-eh.cpp
Commit b7fb5d0f6f2abf07f0ce6edc3397b4c291c1d25e by qiucofan
[DAGCombiner] Improve division estimation of floating points.
Current implementation of estimating divisions loses precision since it
estimates reciprocal first and does multiplication.  This patch is to
re-order arithmetic operations in the last iteration in DAGCombiner to
improve the accuracy.
Reviewed By: Sanjay Patel, Jinsong Ji
Differential Revision:
llvm-svn: 371713
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fdiv.ll
The file was modifiedllvm/test/CodeGen/PowerPC/qpx-recipest.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/rsq.ll
The file was modifiedllvm/test/CodeGen/PowerPC/recipest.ll
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath2.ll
Commit 60ff4dd9cd8a5052067b2dee1fc68bfba1f695cc by maskray
[ELF] Support -z undefs
-z undefs is the inverse of -z defs. It allows unresolved references
from object files. This can be used to cancel --no-undefined or -z defs.
Reviewed By: ruiu
Differential Revision:
llvm-svn: 371715
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/test/ELF/zdefs.s
Commit 786ce3fbd625710c93c7b967cf561d294f3786c9 by maskray
[ELF] Fix a common-page-size typo
llvm-svn: 371716
The file was modifiedlld/ELF/Driver.cpp
Commit cfaf2b6cfa24057856ce4689d4b00388586c9103 by lkail
[PowerPC][MCP][NFC] Pre-commit test cases for
llvm-svn: 371717
The file was addedllvm/test/CodeGen/MIR/PowerPC/machine-backward-cp.mir
Commit f1286621eb9672c07a67075624f97310eadd2632 by lebedev.ri
[InstSimplify] simplifyUnsignedRangeCheck(): handle more cases (PR43251)
Summary: I don't have a direct motivational case for this, but it would
be good to have this for completeness/symmetry.
This pattern is basically the motivational pattern from but with different predicate
that requires that the offset is non-zero.
The completeness bit comes from the fact that a similar pattern (offset
!= zero) will be needed for,
so it'd seem to be good to not overlook very similar patterns..
Also, there is something odd with `isKnownNonZero()`, if the non-zero
knowledge was specified as an assumption, it didn't pick it up (PR43267)
Reviewers: spatel, nikic, xbolva00
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision:
llvm-svn: 371718
The file was modifiedllvm/test/Transforms/InstSimplify/result-of-usub-by-nonzero-is-non-zero-and-no-overflow.ll
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
Commit 3867a2d51076494a19c02a2d5c4e4167bd6cbe0e by mydeveloperday
[clang-format] Add new style option IndentGotoLabels
Summary: This option determines whether goto labels are indented
according to scope. Setting this option to false causes goto labels to
be flushed to the left. This is mostly copied from [[ |
this patch ]] submitted by Christian Neukirchen that didn't make its way
into trunk.
    true:                                  false:
    int f() {                      vs.     int f() {
      if (foo()) {                           if (foo()) {
      label1:                              label1:
        bar();                                 bar();
      }                                      }
    label2:                                label2:
      return 1;                              return 1;
    }                                      }
Reviewers: klimek, MyDeveloperDay
Reviewed By: MyDeveloperDay
Subscribers: cfe-commits
Tags: #clang, #clang-tools-extra
Patch by: tetsuo-cpp
Differential Revision:
llvm-svn: 371719
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
The file was modifiedclang/lib/Format/UnwrappedLineParser.h
The file was modifiedclang/lib/Format/Format.cpp
Commit 719087bbb775d49f6f4c3f923bb3282b66e588ce by mydeveloperday
[clang-format] [PR43100] clang-format C#  support does not add a space
between "using" and paren
Summary: Addresses
Formatting using statement in C# with clang-format removes the space
between using and paren even when SpaceBeforeParens is !
``` using(FileStream fs = new FileStream(path, FileMode.Open,
FileAccess.Read, FileShare.Read, bufferSize : 1))
this change simply overcomes this for when using C# settings in the
.clang-format file
``` using (FileStream fs = new FileStream(path, FileMode.Open,
FileAccess.Read, FileShare.Read, bufferSize : 1))
All FormatTests pass..
[==========] 688 tests from 21 test cases ran. (88508 ms total)
[  PASSED  ] 688 tests.
Reviewers: djasper, klimek, owenpan
Reviewed By: owenpan
Subscribers: llvm-commits, cfe-commits
Tags: #clang
Differential Revision:
llvm-svn: 371720
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 98534843fb4c14ebe8022143cdcfc2a4ea8d2d02 by Tim Northover
CodeGenPrep: add separate hook say when GEPs should be used for sinking.
Up to now, we've decided whether to sink address calculations using GEPs
or normal arithmetic based on the useAA hook, but there are other
reasons GEPs might be preferred. So this patch splits the two questions,
with a default implementation falling back to useAA.
llvm-svn: 371721
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetSubtargetInfo.h
Commit f1c28929125400a1680868f7c6eea720de256779 by Tim Northover
AArch64: support arm64_32, an ILP32 slice for watchOS.
This is the main CodeGen patch to support the arm64_32 watchOS ABI in
LLVM. FastISel is mostly disabled for now since it would generate
incorrect code for ILP32.
llvm-svn: 371722
The file was addedllvm/test/CodeGen/AArch64/arm64_32-va.ll
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/sibling-call.ll
The file was modifiedllvm/utils/TableGen/CallingConvEmitter.cpp
The file was modifiedllvm/test/CodeGen/AArch64/win64_vararg.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-addrs.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-atomics.ll
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-frame-pointers.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-neon.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/test/CodeGen/AArch64/fastcc-reserved.ll
The file was modifiedllvm/include/llvm/Target/
The file was modifiedllvm/test/CodeGen/AArch64/fastcc.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-pointer-extend.ll
The file was addedllvm/test/MC/AArch64/arm64_32-compact-unwind.s
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-collect-loh.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/lib/LTO/LTOModule.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-indexed-memory.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-null.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallingConvention.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
The file was modifiedllvm/test/CodeGen/AArch64/swiftself.ll
The file was modifiedllvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/AArch64/
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll
The file was modifiedllvm/test/CodeGen/AArch64/swifterror.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was modifiedllvm/test/CodeGen/AArch64/swift-return.ll
The file was modifiedllvm/test/CodeGen/AArch64/swiftcc.ll
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.h
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CallingConvention.h
The file was addedllvm/test/CodeGen/AArch64/jump-table-32.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-aapcs.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-fastisel.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-tls.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64FastISel.cpp
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CollectLOH.cpp
The file was modifiedllvm/test/CodeGen/AArch64/umulo-128-legalisation-lowering.ll
The file was modifiedllvm/include/llvm/CodeGen/CallingConvLower.h
The file was modifiedllvm/lib/Target/X86/X86FastISel.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-stacksave.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-stack-pointers.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-gep-sink.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-collect-loh-str.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-memcpy.ll
The file was modifiedllvm/test/CodeGen/AArch64/tail-call.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
Commit f2cb4a1842a149b68a94a6c25cbba01987702da7 by gribozavr
Removed dead code from DiagnosticBuilder
llvm-svn: 371723
The file was modifiedclang/include/clang/Basic/Diagnostic.h
Commit da59a6bf7db11e1b207e1f9bd233d87f9a84dda1 by llvm-dev
[DAGCombine] visitFDIV - Use isCheaperToUseNegatedFPOps helper for (fdiv
(fneg X), (fneg Y)) -> (fdiv X, Y). NFCI.
Minor cleanup to use equivalent helper code.
llvm-svn: 371724
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 0c1e0d52c2e205ff38761af7d6817e0cc8145179 by jeremy.morse.llvm
Switch "windows" to "system-windows" in some XFAILs
The test failure mode appears to be due to the host machine rather than
the target. The PS4 buildbots are windows-hosted targeting
x86_64-scei-ps4, and are currently reporting these as unexpected
llvm-svn: 371726
The file was modifiedclang/test/Index/index-module-with-vfs.m
The file was modifiedclang/test/VFS/implicit-include.c
The file was modifiedclang/test/VFS/framework-import.m
The file was modifiedclang/test/VFS/include-mixed-real-and-virtual.c
The file was modifiedclang/test/VFS/module-import.m
The file was modifiedclang/test/VFS/include-virtual-from-real.c
The file was modifiedclang/test/VFS/include.c
The file was modifiedclang/test/VFS/include-real-from-virtual.c
The file was modifiedclang/test/VFS/real-path-found-first.m
The file was modifiedclang/test/VFS/vfsroot-module.m
The file was modifiedclang/test/VFS/relative-path.c
The file was modifiedclang/test/VFS/incomplete-umbrella.m
The file was modifiedclang/test/VFS/external-names.c
The file was modifiedclang/test/VFS/umbrella-framework-import-skipnonexist.m
The file was modifiedclang/test/VFS/vfsroot-with-overlay.c
The file was modifiedclang/test/Modules/framework-public-includes-private.m
The file was modifiedclang/test/VFS/subframework-symlink.m
The file was modifiedclang/test/Modules/double-quotes.m
The file was modifiedclang/test/VFS/vfsroot-include.c
Commit 75e43a607c8bfbb33cc56b74bbe6becd2021731a by petar.avramovic
G_IMPLICIT_DEF is used for both integer and floating point implicit-def.
Handle G_IMPLICIT_DEF as ambiguous opcode in MipsRegisterBankInfo.
Differential Revision:
llvm-svn: 371727
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/implicit_def.ll
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/implicit_def.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/implicit_def.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/implicit_def.mir
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
Commit 646e1f7b7fa3b4f5aded87555bb85721a7138e40 by petar.avramovic
IRTranslator creates G_DYN_STACKALLOC instruction during expansion of
alloca when argument that tells number of elements to allocate on stack
is a virtual register. Use default lowering for MIPS32.
Differential Revision:
llvm-svn: 371728
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/dyn_stackalloc.ll
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/dyn_stackalloc.mir
Commit 3c44d595be1e6c7c453be1a9cc0221d5e7e380ff by nicolasweber
lld-link: Make /linkrepro: take a filename, not a directory.
This makes lld-link behave like ld.lld. I don't see a reason for the two
drivers to have different behavior here.
While here, also make lld-link add a version.txt to the tar, like ld.lld
Differential Revision:
llvm-svn: 371729
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/test/COFF/linkrepro-res.test
The file was modifiedlld/test/COFF/linkrepro.test
The file was modifiedlld/docs/ReleaseNotes.rst
Commit ff6ac1eb5f304ab2b690cf24509680fd62cdf743 by petar.avramovic
[MIPS GlobalISel] Select indirect branch
Differential Revision:
llvm-svn: 371730
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/brindirect.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/brindirect.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/brindirect.mir
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/brindirect.ll
Commit 20f45ed6990458b8cc96fe2101fbbb7f90037dd7 by gribozavr
Removed some questionable default arguments from setters
Summary: They can be confusing -- what does it mean to call a setter
without a value? Also, some setters, like `setPrintTemplateTree` had
`false` as the default value!
The callers are largely not using these default arguments anyway.
Subscribers: cfe-commits
Tags: #clang
Differential Revision:
llvm-svn: 371731
The file was modifiedclang/lib/ARCMigrate/ARCMT.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/include/clang/Basic/Diagnostic.h
The file was modifiedclang/lib/Sema/Sema.cpp
Commit d0c800489044f33694954e8537e1e40e39e45264 by nicolasweber
lld-link: Fix tests that do not run on macOS after r371729.
llvm-svn: 371732
The file was modifiedlld/test/COFF/linkrepro-manifest.test
The file was modifiedlld/test/COFF/linkrepro-pdb.test
Commit bfb5b0cb86cf90d9fa794f873644aa642b652c43 by mgorny
[clang] [unittest] Import LLVMTestingSupport if necessary
Add LLVMTestingSupport directory from LLVM_MAIN_SRC_DIR when building
clang stand-alone and LLVMTestingSupport library is not present.  This
is needed to fix stand-alone builds without clang-tools-extra.
Differential Revision:
llvm-svn: 371733
The file was modifiedclang/unittests/CMakeLists.txt
Commit 03a111dc46456ca6c397a801da0c8f0c22ffc39e by Raphael Isemann
[lldb] Remove duplicated breakpoint tests
After reverting the deletion of the functionalities/breakpoint tests, we
now have some tests twice in the test/ folder which breaks dotest:
* commands/breakpoint/basic
* functionalities/breakpoint/breakpoint_command
After looking over these tests, I think it makes sense to only keep the
original functionalities/ folder. The commands/breakpoint/basic test are
not exclusively testing the breakpoint command itself, so they shouldn't
be in commands/ in the first place. Note that these folders have
identical contents (beside small adjustments regarding the Makefile
which landed after the restructuring).
llvm-svn: 371734
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/main.c
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/a.c
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/Makefile
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/b.c
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/
Commit 3f5a8083650339336d2431c3376196cdf10e6418 by spatel
[ConstProp] allow folding for fma that produces NaN
Folding for fma/fmuladd was added here: rL202914
...and as seen in existing/unchanged tests, that works to propagate NaN
if it's already an input, but we should fold an fma() that creates NaN
From IEEE-754-2008 7.2 "Invalid Operation", there are 2 clauses that
apply to fma, so I added tests for those patterns:
  c) fusedMultiplyAdd: fusedMultiplyAdd(0, ∞, c) or fusedMultiplyAdd(∞,
0, c)
    unless c is a quiet NaN; if c is a quiet NaN then it is
    defined whether the invalid operation exception is signaled
d) addition or subtraction or fusedMultiplyAdd: magnitude subtraction
    infinities, such as: addition(+∞, −∞)
Differential Revision:
llvm-svn: 371735
The file was modifiedllvm/test/Transforms/ConstProp/fma.ll
The file was modifiedllvm/include/llvm/ADT/APFloat.h
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
Commit b3e0937f0a10ea6666f3fb2b3df92119d1f7d987 by lebedev.ri
[NFC][InstCombine][InstSimplify] Add test for "add-of-negative is
non-zero and no overflow" (PR43259)
llvm-svn: 371736
The file was addedllvm/test/Transforms/InstCombine/result-of-add-of-negative-is-non-zero-and-no-underflow.ll
The file was addedllvm/test/Transforms/InstSimplify/result-of-add-of-negative-is-non-zero-and-no-underflow.ll
Commit 80a8a857583a413566f0c7b0726081d54dc7e620 by lebedev.ri
[InstCombine][InstSimplify] Move constant-folding tests in
llvm-svn: 371737
The file was modifiedllvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll
The file was addedllvm/test/Transforms/InstSimplify/result-of-usub-is-non-zero-and-no-overflow.ll
Commit d23fab09a2dd620f001dc34a1a46c0b1ce473ee3 by Raphael Isemann
[lldb][NFC] Simplify makefiles also for breakpoint tests
These tests were temporarily missing when the big Makefile
simplification patch landed, so this just applies the same change to
these tests.
llvm-svn: 371738
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_hit_count/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_by_line_and_column/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_language/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_names/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/require_hw_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ignore_count/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/scripted_bkpt/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/auto_continue/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/step_over_breakpoint/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_in_delayslot/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_command/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/hardware_breakpoints/hardware_breakpoint_on_multiple_threads/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/global_constructor/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/dummy_target_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/cpp_exception/Makefile
Commit f145456fc4a4a9938630daab41969da2be8208db by jh7370
[docs][llvm-strip] Remove unnecessary whitespace for consistency
llvm-svn: 371739
The file was modifiedllvm/docs/CommandGuide/llvm-strip.rst
Commit 0866dbfa1a8b36db16f58d1bd60688474d1b9474 by ro Don't use chrpath on Solaris
When trying to run on Solaris 11.4 for 9.0.0 rc4, I
failed initially because Solaris lacks chrpath.  This patch accounts for
that and allowed the run to continue.
Tested on amd64-pc-solaris2.11 and sparcv9-sun-solaris2.11.
Differential Revision:
llvm-svn: 371741
The file was modifiedllvm/utils/release/
Commit af11cc7eb5da320066d88a8f6d015e6296f0da25 by gchatelet
[Alignment] Move OffsetToAlignment to Alignment.h
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context: See this
patch for the introduction of the type:
Reviewers: courbet, JDevlieghere, alexshap, rupprecht, jhenderson
Subscribers: sdardis, nemanjai, hiraditya, kbarton, jakehehrlich,
jrtc27, MaskRay, atanasyan, jsji, seiya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision:
llvm-svn: 371742
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/lib/Object/ArchiveWriter.cpp
The file was modifiedllvm/lib/MC/MCAssembler.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCBranchSelector.cpp
The file was modifiedllvm/include/llvm/Support/Alignment.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/tools/llvm-cov/TestingSupport.cpp
The file was modifiedllvm/lib/MC/MachObjectWriter.cpp
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
The file was modifiedllvm/lib/Target/Mips/MipsSERegisterInfo.cpp
The file was modifiedllvm/include/llvm/Support/MathExtras.h
The file was modifiedllvm/lib/CodeGen/BranchRelaxation.cpp
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
The file was modifiedllvm/include/llvm/Support/OnDiskHashTable.h
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantIslandPass.cpp
The file was modifiedllvm/lib/Target/Mips/MipsConstantIslandPass.cpp
Commit a6e944b1731107c647df7aa2c9b026d6a9818c90 by
[CGP] Ensure sinking multiple instructions does not invalidate dominance
In MVE, as of rL371218, we are attempting to sink chains of instructions
such as:
%l1 = insertelement <8 x i8> undef, i8 %l0, i32 0
%broadcast.splat26 = shufflevector <8 x i8> %l1, <8 x i8> undef, <8 x
i32> zeroinitializer In certain situations though, we can end up
breaking the dominance relations of instructions. This happens when we
sink the instruction into a loop, but cannot remove the originals. The
Use is updated, which might in fact be a Use from the second instruction
to the first.
This attempts to fix that by reversing the order of instruction that are
sunk, and ensuring that we update the uses on new instructions if they
have already been sunk, not the old ones.
Differential Revision:
llvm-svn: 371743
The file was addedllvm/test/Transforms/CodeGenPrepare/ARM/sinkchain.ll
The file was modifiedllvm/test/Transforms/CodeGenPrepare/ARM/sink-add-mul-shufflevector.ll
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
Commit 2ad25a4aeeae6e070c9cb56cc15e82ba6e2231af by maskray
[ELF] ICF: change a dyn_cast<InputSection> to cast
ICF is performed after EhInputSections and MergeInputSections were
eliminated from inputSections. Every element of inputSections is an
llvm-svn: 371744
The file was modifiedlld/ELF/ICF.cpp
Commit b90f94f42e3286017066e13c89cd57be9743a0cd by listmail
[LV] Support invariant addresses in speculation logic
Implement a TODO from rL371452, and handle loop invariant addresses in
predicated blocks. If we can prove that the load is safe to speculate
into the header, then we can avoid using a masked.load in favour of a
normal load.
This is mostly about vectorization robustness. In the common case, it's
generally expected that LICM/LoadStorePromotion would have eliminated
such loads entirely.
Differential Revision:
llvm-svn: 371745
The file was modifiedllvm/lib/Analysis/Loads.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
Commit 62ad62fb98ecf4565ee5b3ade627ca24b473767a by spatel
[InstCombine] reduce test noise and regenerate CHECK lines; NFC
llvm-svn: 371746
The file was modifiedllvm/test/Transforms/InstCombine/fpextend.ll
Commit e0cab70718115cf64e53f79245710b702b954902 by listmail
Precommit tests for generalization of load dereferenceability in loop
llvm-svn: 371747
The file was modifiedllvm/test/Transforms/LoopVectorize/X86/load-deref-pred.ll
Commit 6943472d45aa4eda7392ee312d68d9cf2fc55f9f by asbirlea
[MemorySSA] Pass (for update) MSSAU when hoisting instructions.
Summary: Pass MSSAU to makeLoopInvariant in order to properly update
Reviewers: george.burgess.iv
Subscribers: Prazek,, uabelho, llvm-commits
Tags: #llvm
Differential Revision:
llvm-svn: 371748
The file was addedllvm/test/Analysis/MemorySSA/loop-unswitch.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnswitch.cpp
Commit b00a49d1b3a146b02d2277a463ef7618a9c29806 by rnk
Don't warn about selectany on implicitly inline variables
Summary: This avoids a -Wignored-attribute warning on the code pattern
Microsoft recommends for integral const static data members defined in
headers here:
The attribute is redundant, but it is necessary when compiling in C++14
modes with /Za, which disables MSVC's extension that treats such
variables as implicitly inline.
Fixes PR43270
Reviewers: epastor, thakis, hans
Subscribers: cfe-commits
Tags: #clang
Differential Revision:
llvm-svn: 371749
The file was addedclang/test/SemaCXX/declspec-selectany.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp
Commit 458c2759b184dcfc60c1c217061d926c3f7ba305 by spatel
[InstCombine] add tests for fptrunc; NFC
llvm-svn: 371750
The file was addedllvm/test/Transforms/InstCombine/fptrunc.ll