SuccessChanges

Summary

  1. [LegalizeTypes] Remove code for softening a float type to itself. (details)
  2. [WebAssembly] Add REQUIRES to test (details)
  3. [WebAssembly] Make wasm-eh.cpp requires WebAssembly (details)
  4. [WebAssembly] Delete duplicate REQUIRES line (details)
  5. [DAGCombiner] Improve division estimation of floating points. (details)
  6. [ELF] Support -z undefs (details)
  7. [ELF] Fix a common-page-size typo (details)
  8. [PowerPC][MCP][NFC] Pre-commit test cases for (details)
  9. [InstSimplify] simplifyUnsignedRangeCheck(): handle more cases (PR43251) (details)
  10. [clang-format] Add new style option IndentGotoLabels (details)
  11. [clang-format] [PR43100] clang-format C#  support does not add a space (details)
  12. CodeGenPrep: add separate hook say when GEPs should be used for sinking. (details)
  13. AArch64: support arm64_32, an ILP32 slice for watchOS. (details)
  14. Removed dead code from DiagnosticBuilder (details)
  15. [DAGCombine] visitFDIV - Use isCheaperToUseNegatedFPOps helper for (fdiv (details)
  16. Switch "windows" to "system-windows" in some XFAILs (details)
  17. [MIPS GlobalISel] Select G_IMPLICIT_DEF (details)
  18. [MIPS GlobalISel] Lower G_DYN_STACKALLOC (details)
  19. lld-link: Make /linkrepro: take a filename, not a directory. (details)
  20. [MIPS GlobalISel] Select indirect branch (details)
  21. Removed some questionable default arguments from setters (details)
  22. lld-link: Fix tests that do not run on macOS after r371729. (details)
  23. [clang] [unittest] Import LLVMTestingSupport if necessary (details)
  24. [lldb] Remove duplicated breakpoint tests (details)
  25. [ConstProp] allow folding for fma that produces NaN (details)
  26. [NFC][InstCombine][InstSimplify] Add test for "add-of-negative is (details)
  27. [InstCombine][InstSimplify] Move constant-folding tests in (details)
  28. [lldb][NFC] Simplify makefiles also for breakpoint tests (details)
  29. [docs][llvm-strip] Remove unnecessary whitespace for consistency (details)
  30. test-release.sh: Don't use chrpath on Solaris (details)
  31. [Alignment] Move OffsetToAlignment to Alignment.h (details)
  32. [CGP] Ensure sinking multiple instructions does not invalidate dominance (details)
  33. [ELF] ICF: change a dyn_cast<InputSection> to cast (details)
  34. [LV] Support invariant addresses in speculation logic (details)
  35. [InstCombine] reduce test noise and regenerate CHECK lines; NFC (details)
  36. Precommit tests for generalization of load dereferenceability in loop (details)
  37. [MemorySSA] Pass (for update) MSSAU when hoisting instructions. (details)
  38. Don't warn about selectany on implicitly inline variables (details)
  39. [InstCombine] add tests for fptrunc; NFC (details)
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/LegalizeTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
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
them.
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: https://reviews.llvm.org/D66050
llvm-svn: 371713
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/recipest.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/rsq.ll
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath2.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/fdiv.ll
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath.ll
The file was modifiedllvm/test/CodeGen/PowerPC/qpx-recipest.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: https://reviews.llvm.org/D67479
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
https://reviews.llvm.org/D65267
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
https://bugs.llvm.org/show_bug.cgi?id=43251 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 https://bugs.llvm.org/show_bug.cgi?id=43259,
so it'd seem to be good to not overlook very similar patterns..
Proofs: https://rise4fun.com/Alive/21b
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: https://reviews.llvm.org/D67411
llvm-svn: 371718
The file was modifiedllvm/lib/Analysis/InstructionSimplify.cpp
The file was modifiedllvm/test/Transforms/InstSimplify/result-of-usub-by-nonzero-is-non-zero-and-no-overflow.ll
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 [[
http://lists.llvm.org/pipermail/cfe-dev/2015-September/045014.html |
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: https://reviews.llvm.org/D67037
llvm-svn: 371719
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
The file was modifiedclang/lib/Format/UnwrappedLineParser.cpp
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/UnwrappedLineParser.h
Commit 719087bbb775d49f6f4c3f923bb3282b66e588ce by mydeveloperday
[clang-format] [PR43100] clang-format C#  support does not add a space
between "using" and paren
Summary: Addresses https://bugs.llvm.org/show_bug.cgi?id=43100
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: https://reviews.llvm.org/D66662
llvm-svn: 371720
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp
Commit 98534843fb4c14ebe8022143cdcfc2a4ea8d2d02 by Tim Northover
CodeGenPrep: add separate hook say when GEPs should be used for sinking.
NFCI.
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 modifiedllvm/include/llvm/Target/TargetCallingConv.td
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-fastisel.ll
The file was modifiedllvm/test/CodeGen/AArch64/swift-return.ll
The file was modifiedllvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll
The file was modifiedllvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-aapcs.ll
The file was modifiedllvm/test/CodeGen/AArch64/fastcc-reserved.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-frame-pointers.ll
The file was modifiedllvm/include/llvm/CodeGen/CallingConvLower.h
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-stack-pointers.ll
The file was modifiedllvm/test/CodeGen/AArch64/swiftcc.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-tls.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64CollectLOH.cpp
The file was modifiedllvm/lib/LTO/LTOModule.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was addedllvm/test/CodeGen/AArch64/arm64_32-va.ll
The file was addedllvm/test/CodeGen/AArch64/jump-table-32.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-indexed-memory.ll
The file was modifiedllvm/test/CodeGen/AArch64/win64_vararg.ll
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-addrs.ll
The file was modifiedllvm/test/CodeGen/AArch64/tail-call.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallingConvention.h
The file was addedllvm/test/CodeGen/AArch64/arm64_32-neon.ll
The file was modifiedllvm/test/CodeGen/AArch64/swifterror.ll
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-collect-loh.ll
The file was addedllvm/test/CodeGen/AArch64/arm64_32-atomics.ll
The file was modifiedllvm/test/CodeGen/AArch64/fastcc.ll
The file was modifiedllvm/lib/LTO/ThinLTOCodeGenerator.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallingConvention.td
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.h
The file was modifiedllvm/test/CodeGen/AArch64/arm64-stacksave.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64FastISel.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-null.ll
The file was modifiedllvm/test/CodeGen/AArch64/swiftself.ll
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-gep-sink.ll
The file was modifiedllvm/utils/TableGen/CallingConvEmitter.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-pointer-extend.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64CallingConvention.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-collect-loh-str.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64Subtarget.h
The file was modifiedllvm/test/CodeGen/AArch64/sibling-call.ll
The file was addedllvm/test/MC/AArch64/arm64_32-compact-unwind.s
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86FastISel.cpp
The file was addedllvm/test/CodeGen/AArch64/arm64_32-memcpy.ll
The file was modifiedllvm/test/CodeGen/AArch64/umulo-128-legalisation-lowering.ll
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
failures:

http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/28114
llvm-svn: 371726
The file was modifiedclang/test/VFS/include-mixed-real-and-virtual.c
The file was modifiedclang/test/VFS/framework-import.m
The file was modifiedclang/test/VFS/module-import.m
The file was modifiedclang/test/VFS/relative-path.c
The file was modifiedclang/test/VFS/vfsroot-module.m
The file was modifiedclang/test/VFS/external-names.c
The file was modifiedclang/test/VFS/vfsroot-with-overlay.c
The file was modifiedclang/test/Index/index-module-with-vfs.m
The file was modifiedclang/test/VFS/real-path-found-first.m
The file was modifiedclang/test/VFS/implicit-include.c
The file was modifiedclang/test/VFS/include-real-from-virtual.c
The file was modifiedclang/test/VFS/include.c
The file was modifiedclang/test/VFS/include-virtual-from-real.c
The file was modifiedclang/test/VFS/umbrella-framework-import-skipnonexist.m
The file was modifiedclang/test/VFS/vfsroot-include.c
The file was modifiedclang/test/VFS/incomplete-umbrella.m
The file was modifiedclang/test/VFS/subframework-symlink.m
The file was modifiedclang/test/Modules/double-quotes.m
The file was modifiedclang/test/Modules/framework-public-includes-private.m
Commit 75e43a607c8bfbb33cc56b74bbe6becd2021731a by petar.avramovic
[MIPS GlobalISel] Select G_IMPLICIT_DEF
G_IMPLICIT_DEF is used for both integer and floating point implicit-def.
Handle G_IMPLICIT_DEF as ambiguous opcode in MipsRegisterBankInfo.
Select G_IMPLICIT_DEF for MIPS32.
Differential Revision: https://reviews.llvm.org/D67439
llvm-svn: 371727
The file was addedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/implicit_def.mir
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/implicit_def.mir
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/implicit_def.ll
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/implicit_def.mir
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
Commit 646e1f7b7fa3b4f5aded87555bb85721a7138e40 by petar.avramovic
[MIPS GlobalISel] Lower G_DYN_STACKALLOC
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: https://reviews.llvm.org/D67440
llvm-svn: 371728
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/dyn_stackalloc.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/dyn_stackalloc.ll
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
does.
Differential Revision: https://reviews.llvm.org/D67461
llvm-svn: 371729
The file was modifiedlld/docs/ReleaseNotes.rst
The file was modifiedlld/test/COFF/linkrepro.test
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/test/COFF/linkrepro-res.test
Commit ff6ac1eb5f304ab2b690cf24509680fd62cdf743 by petar.avramovic
[MIPS GlobalISel] Select indirect branch
Select G_BRINDIRECT for MIPS32.
Differential Revision: https://reviews.llvm.org/D67441
llvm-svn: 371730
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
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 addedllvm/test/CodeGen/Mips/GlobalISel/instruction-select/brindirect.mir
The file was modifiedllvm/lib/Target/Mips/MipsInstructionSelector.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/brindirect.ll
The file was modifiedllvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
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: https://reviews.llvm.org/D67491
llvm-svn: 371731
The file was modifiedclang/include/clang/Basic/Diagnostic.h
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/lib/ARCMigrate/ARCMT.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.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-pdb.test
The file was modifiedlld/test/COFF/linkrepro-manifest.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: https://reviews.llvm.org/D67452
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/b.c
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/TestRegexpBreakCommand.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/TestBreakpointCommand.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/bktptcmd.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/TestBreakpointCommandsFromPython.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/main.c
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/Makefile
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/a.c
The file was removedlldb/packages/Python/lldbsuite/test/commands/breakpoint/basic/side_effect.py
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
too.
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
implementation
    defined whether the invalid operation exception is signaled
d) addition or subtraction or fusedMultiplyAdd: magnitude subtraction
of
    infinities, such as: addition(+∞, −∞)
Differential Revision: https://reviews.llvm.org/D67446
llvm-svn: 371735
The file was modifiedllvm/test/Transforms/ConstProp/fma.ll
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/include/llvm/ADT/APFloat.h
Commit b3e0937f0a10ea6666f3fb2b3df92119d1f7d987 by lebedev.ri
[NFC][InstCombine][InstSimplify] Add test for "add-of-negative is
non-zero and no overflow" (PR43259)
https://rise4fun.com/Alive/ska https://rise4fun.com/Alive/9iX
https://bugs.llvm.org/show_bug.cgi?id=43259
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
result-of-usub-is-non-zero-and-no-overflow.ll
llvm-svn: 371737
The file was addedllvm/test/Transforms/InstSimplify/result-of-usub-is-non-zero-and-no-overflow.ll
The file was modifiedllvm/test/Transforms/InstCombine/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/move_nearest/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_ignore_count/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/consecutive_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/address_breakpoints/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_in_delayslot/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_language/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/global_constructor/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_locations/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/objc/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/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/cpp_exception/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_command/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_ids/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_hit_count/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/inlined_breakpoints/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_options/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/debugbreak/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/source_regexp/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/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
test-release.sh: Don't use chrpath on Solaris
When trying to run test-release.sh 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: https://reviews.llvm.org/D67484
llvm-svn: 371741
The file was modifiedllvm/utils/release/test-release.sh
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:
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, JDevlieghere, alexshap, rupprecht, jhenderson
Subscribers: sdardis, nemanjai, hiraditya, kbarton, jakehehrlich,
jrtc27, MaskRay, atanasyan, jsji, seiya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D67499
llvm-svn: 371742
The file was modifiedllvm/lib/Target/Mips/MipsSERegisterInfo.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantIslandPass.cpp
The file was modifiedllvm/include/llvm/Support/OnDiskHashTable.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/Target/Mips/MipsConstantIslandPass.cpp
The file was modifiedllvm/lib/CodeGen/BranchRelaxation.cpp
The file was modifiedllvm/include/llvm/Support/Alignment.h
The file was modifiedllvm/lib/Object/ArchiveWriter.cpp
The file was modifiedllvm/tools/llvm-cov/TestingSupport.cpp
The file was modifiedllvm/lib/MC/MCAssembler.cpp
The file was modifiedllvm/tools/dsymutil/DwarfStreamer.cpp
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was modifiedllvm/include/llvm/Support/MathExtras.h
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCBranchSelector.cpp
The file was modifiedllvm/lib/MC/ELFObjectWriter.cpp
The file was modifiedllvm/lib/MC/MachObjectWriter.cpp
Commit a6e944b1731107c647df7aa2c9b026d6a9818c90 by david.green
[CGP] Ensure sinking multiple instructions does not invalidate dominance
checks
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: https://reviews.llvm.org/D67366
llvm-svn: 371743
The file was addedllvm/test/Transforms/CodeGenPrepare/ARM/sinkchain.ll
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/test/Transforms/CodeGenPrepare/ARM/sink-add-mul-shufflevector.ll
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
InputSection.
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: https://reviews.llvm.org/D67372
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
MSSA.
Reviewers: george.burgess.iv
Subscribers: Prazek, sanjoy.google, uabelho, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67470
llvm-svn: 371748
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnswitch.cpp
The file was addedllvm/test/Analysis/MemorySSA/loop-unswitch.ll
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:
https://docs.microsoft.com/en-us/cpp/build/reference/microsoft-extensions-to-c-and-cpp?view=vs-2019
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: https://reviews.llvm.org/D67426
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