FailedChanges

Summary

  1. [lldb] Process formatters in reverse-chronological order (details)
  2. Revert "[MachinePipeliner] Improve the TargetInstrInfo API (details)
  3. [NFC][PowerPC] Consolidate testing of common linkage symbols (details)
  4. Unwind: avoid warning about unused typedef (details)
  5. [Docs] Move topics to new categories (details)
  6. [AddressSanitizer] Don't dereference dyn_cast<ConstantInt> results. (details)
  7. [PPC] PPCLoopPreIncPrep - silence static analyzer null dereference (details)
  8. [Docs] Add a custom sidebar to doc pages (details)
  9. Fix missed case of switching getConstant to getTargetConstant. Try 2. (details)
  10. [SystemZ] Support z15 processor name (details)
  11. [SystemZ] Support z15 processor name (details)
  12. Fix assertion failure when constant evaluation of a switch jumps over an (details)
  13. Remove outdated FIXME. (details)
  14. [SampleFDO] Expose an interface to return the size of a section or the (details)
  15. [Inliner] Remove incorrect early exit during switch cost computation (details)
  16. dotest.py: bugfix: test filters with -f do not work on Python3 (details)
  17. prepare_binding_Python: print readable errors if SWIG fails (details)
  18. [GlobalISel] Defer setting HasCalls on MachineFrameInfo to selection (details)
  19. [clang-scan-deps] strip the --serialize-diagnostics argument (details)
Commit ce7cfbccc63ba318bed00aef65dab49adc6f43c8 by jan.kratochvil
[lldb] Process formatters in reverse-chronological order
If one reverts D66398 then the TestDataFormatterStdList does fail - as
the C++ formatters are initialized in the opposite order. But the
current state of trunk does not mind the order for C++ formatters.
It is using now a single std::vector as suggested by Pavel Labath.
Differential Revision: https://reviews.llvm.org/D66654
llvm-svn: 372424
The file was modifiedlldb/include/lldb/Utility/RegularExpression.h (diff)
The file was modifiedlldb/include/lldb/DataFormatters/FormattersContainer.h (diff)
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py (diff)
Commit 72a3d8597da5cb50f3a21ba8a2f822117459af34 by mitchphillips
Revert "[MachinePipeliner] Improve the TargetInstrInfo API
analyzeLoop/reduceLoopCount"
This commit broke the ASan buildbot. See comments in rL372376 for more
information.
This reverts commit 15e27b0b6d9d51362fad85dbe95ac5b3fadf0a06.
llvm-svn: 372425
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h (diff)
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp (diff)
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.cpp (diff)
The file was modifiedllvm/lib/Target/Hexagon/HexagonInstrInfo.h (diff)
The file was modifiedllvm/test/CodeGen/Hexagon/swp-epilog-phi7.ll (diff)
The file was modifiedllvm/include/llvm/CodeGen/ModuloSchedule.h (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.cpp (diff)
The file was modifiedllvm/lib/CodeGen/MachinePipeliner.cpp (diff)
The file was modifiedllvm/lib/CodeGen/ModuloSchedule.cpp (diff)
Commit 216be996d68ec325f1d4341d3af78f078d430d4b by Jinsong Ji
[NFC][PowerPC] Consolidate testing of common linkage symbols
Add a new file to test the code gen for common linkage symbol. Remove
common linkage in some other testcases to avoid distraction.
llvm-svn: 372426
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllequi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/CompareEliminationSpillIssue.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllleui.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/pr32140.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesileui.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltss.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllnesll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-P9-mod.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigeui.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltsc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesieqsi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltus.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllequc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesieqss.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgeui.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgesc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllleull.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesilesc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesieqsll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltsll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/csr-split.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigtsc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigess.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllltui.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgtus.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgess.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllequs.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiequs.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgesll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslllesi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigesc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesineull.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgeus.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/f128-aggregates.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltui.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllless.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslleqss.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigeus.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllequll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgeuc.ll (diff)
The file was addedllvm/test/CodeGen/PowerPC/elf-common.ll
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigtss.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgtui.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiequi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/sms-simple.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiequll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslleqsll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/ctrloop-shortLoops.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigtus.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/ppc64-pre-inc-no-extra-phi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/pr36068.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllltuc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigesi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigesll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigtsi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/pr39815.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesilesll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllltsll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigtuc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesileuc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesieqsc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesineui.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltuc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/expand-isel.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesineuc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigtsll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgtsll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiless.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslllesll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllleuc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslllesc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigeull.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiequc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesinesi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesilesi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgesi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllleus.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigtui.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesileull.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesineus.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllneull.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgeull.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiltsi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/zext-and-cmp.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesigeuc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesileus.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesiness.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslleqsi.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesinesc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllltus.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesinesll.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testCompareslleqsc.ll (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/testComparesllgtuc.ll (diff)
Commit 0ae02fd71a3828209df37239910568ecde68912a by Saleem Abdulrasool
Unwind: avoid warning about unused typedef
Move the definition of Elf_Addr typedef to the only place it is used, to
avoid:
``` llvm-project/libunwind/src/AddressSpace.hpp:501:28: warning: unused
typedef 'Elf_Addr' [-Wunused-local-typedef]
```
when compiling for Android with _LIBUNWIND_ARM_EHABI defined and
_LIBUNWIND_SUPPORT_DWARF_UNWIND not defined.
Patch by Joel Klinghed!
llvm-svn: 372427
The file was modifiedlibunwind/src/AddressSpace.hpp (diff)
Commit 01a3080960eec85ca85467a3930e30ac3e93ca0c by d4m1887
[Docs] Move topics to new categories
This commit moves several topics to new categories.
llvm-svn: 372428
The file was modifiedllvm/docs/UserGuides.rst (diff)
The file was modifiedllvm/docs/index.rst (diff)
The file was modifiedllvm/docs/SubsystemDocumentation.rst (diff)
The file was modifiedllvm/docs/ProgrammingDocumentation.rst (diff)
Commit 2e0c95edfe0fbbded0835c3e5ec341c9a28b30e6 by llvm-dev
[AddressSanitizer] Don't dereference dyn_cast<ConstantInt> results.
NFCI.
The static analyzer is warning about potential null dereference, but we
can use cast<ConstantInt> directly and if not assert will fire for us.
llvm-svn: 372429
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp (diff)
Commit 63ddbc2fbc31f2ef32f61d7c603d42bb92a7dcbd by llvm-dev
[PPC] PPCLoopPreIncPrep - silence static analyzer null dereference
warning.
llvm-svn: 372430
The file was modifiedllvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp (diff)
Commit eacbe1cccc40ddd8874fcdbbee2cb9f8a842f4b5 by d4m1887
[Docs] Add a custom sidebar to doc pages
Adds a custom sidebar to LLVM docs. Sidebar includes links to How to
submit a bug and FAQ topics, as well as a Show Source link and search
box.
llvm-svn: 372432
The file was modifiedllvm/docs/conf.py (diff)
The file was modifiedllvm/docs/_templates/indexsidebar.html (diff)
Commit 4a58936716e5733662ca1f46734594db0a0e67b9 by saugustine
Fix missed case of switching getConstant to getTargetConstant. Try 2.
Summary: This fixes a crasher introduced by r372338.
Reviewers: echristo, arsenm
Subscribers: wdng, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67850
llvm-svn: 372434
The file was addedllvm/test/CodeGen/X86/isel-blendi-gettargetconstant.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
Commit 819c1651f723b51490eb98b3fc11cbd7dafc7831 by ulrich.weigand
[SystemZ] Support z15 processor name
The recently announced IBM z15 processor implements the architecture
already supported as "arch13" in LLVM.  This patch adds support for
"z15" as an alternate architecture name for arch13.
The patch also uses z15 in a number of places where we used arch13 as
long as the official name was not yet announced.
llvm-svn: 372435
The file was modifiedllvm/test/CodeGen/SystemZ/cond-move-06.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/vec-bswap-07.ll (diff)
The file was removedllvm/test/MC/Disassembler/SystemZ/insns-arch13.txt
The file was modifiedllvm/test/CodeGen/SystemZ/ctpop-02.ll (diff)
The file was removedllvm/test/MC/SystemZ/insn-good-arch13.s
The file was modifiedllvm/test/CodeGen/SystemZ/vec-intrinsics-03.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/vec-strict-conv-03.ll (diff)
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/vec-bswap-02.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/vec-bswap-06.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/vec-conv-03.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/vec-bswap-01.ll (diff)
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/logic-miscext3.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/vec-bswap-05.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/cond-move-03.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/cond-move-07.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/cond-move-01.ll (diff)
The file was modifiedllvm/lib/Support/Host.cpp (diff)
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/intrinsics.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/cond-move-02.ll (diff)
The file was modifiedllvm/lib/Target/SystemZ/SystemZProcessors.td (diff)
The file was addedllvm/test/MC/SystemZ/insn-good-z15.s
The file was modifiedllvm/lib/Target/SystemZ/SystemZSchedule.td (diff)
The file was addedllvm/lib/Target/SystemZ/SystemZScheduleZ15.td
The file was modifiedllvm/test/CodeGen/SystemZ/vec-eswap-01.ll (diff)
The file was removedllvm/lib/Target/SystemZ/SystemZScheduleArch13.td
The file was addedllvm/test/MC/SystemZ/insn-bad-z15.s
The file was modifiedllvm/test/CodeGen/SystemZ/vec-eswap-02.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/cond-move-08.mir (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/vec-bswap-04.ll (diff)
The file was addedllvm/test/MC/Disassembler/SystemZ/insns-z15.txt
The file was modifiedllvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/not-01.ll (diff)
The file was modifiedllvm/test/CodeGen/SystemZ/vec-bswap-03.ll (diff)
The file was removedllvm/test/MC/SystemZ/insn-bad-arch13.s
The file was modifiedllvm/test/Analysis/CostModel/SystemZ/fp-cast.ll (diff)
Commit 48b40834dc59ec1d02f59b1c36360b12c58b3c7b by ulrich.weigand
[SystemZ] Support z15 processor name
The recently announced IBM z15 processor implements the architecture
already supported as "arch13" in LLVM.  This patch adds support for
"z15" as an alternate architecture name for arch13.
Corrsponding LLVM support was committed as rev. 372435.
llvm-svn: 372436
The file was modifiedclang/test/Driver/systemz-march.c (diff)
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector3-error.c (diff)
The file was modifiedclang/test/CodeGen/target-data.c (diff)
The file was modifiedclang/test/CodeGen/builtins-systemz-zvector3.c (diff)
The file was modifiedclang/test/CodeGen/builtins-systemz-vector3-error.c (diff)
The file was modifiedclang/test/CodeGen/builtins-systemz-vector3.c (diff)
The file was modifiedclang/test/Misc/target-invalid-cpu-note.c (diff)
The file was modifiedclang/lib/Basic/Targets/SystemZ.cpp (diff)
The file was modifiedclang/test/CodeGen/systemz-abi.c (diff)
The file was modifiedclang/test/CodeGen/systemz-abi-vector.c (diff)
The file was modifiedclang/test/Preprocessor/predefined-arch-macros.c (diff)
Commit 397a686762e229c32857efc4e66b4e6cf72bee93 by richard-llvm
Fix assertion failure when constant evaluation of a switch jumps over an
uninitialized variable in an init-statement of a 'for' or 'if'.
llvm-svn: 372437
The file was modifiedclang/lib/AST/ExprConstant.cpp (diff)
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp (diff)
Commit 6c0894b58ac8cbf12383f18789ac5a161a18f141 by richard-llvm
Remove outdated FIXME.
llvm-svn: 372438
The file was modifiedclang/lib/AST/ExprConstant.cpp (diff)
Commit f118852046a1d255ed8c65c6b5db320e8cea53a0 by wmi
[SampleFDO] Expose an interface to return the size of a section or the
size of the profile for profile in ExtBinary format.
Sometimes we want to limit the size of the profile by stripping some
functions with low sample count or by stripping some function names with
small text size from profile symbol list. That requires the profile
reader to have the interfaces returning the size of a section or the
size of total profile. The patch add those interfaces.
At the same time, add some dump facility to show the size of each
section.
llvm-svn: 372439
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h (diff)
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h (diff)
The file was addedllvm/test/tools/llvm-profdata/show-prof-size.test
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp (diff)
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp (diff)
Commit 2f32e5d84d3483a0d6170fc61d2cceb49fc930a3 by tejohnson
[Inliner] Remove incorrect early exit during switch cost computation
Summary: The CallAnalyzer::visitSwitchInst has an early exit when the
estimated lower bound of the switch cost will put the overall cost of
the inline above the threshold. However, this code is not correctly
estimating the lower bound for switches that can be transformed into bit
tests, leading to unnecessary lost inlines, and also differing behavior
with optimization remarks enabled.
First, the early exit is controlled by whether ComputeFullInlineCost is
enabled or not, and that in turn is disabled by default but enabled when
enabling -pass-remarks=missed. This by itself wouldn't lead to a
problem, except that as described below, the lower bound can be above
the real lower bound, so we can sometimes get different inline decisions
with inline remarks enabled, which is problematic.
The early exit was added in along with a new switch cost model in
D31085. The reason why this early exit was added is due to a concern one
reviewer raised about compile time for large switches:
https://reviews.llvm.org/D31085?id=94559#inline-276200
However, the code just below there calls
getEstimatedNumberOfCaseClusters, which in turn immediately calls
BasicTTIImpl getEstimatedNumberOfCaseClusters, which in the worst case
does a linear scan of the cases to get the high and low values. The bit
test handling in particular is guarded by whether the number of cases
fits into the max bit width. There is no suggestion that anyone measured
a compile time issue, it appears to be theoretical.
The problem is that the reviewer's comment about the lower bound
calculation is incorrect, specifically in the case of a switch that can
be lowered to a bit test. This isn't followed up on the comment thread,
but the author does add a FIXME to that effect above the early exit
added when they subsequently revised the patch.
As a result, we were incorrectly early exiting and not inlining
functions with switch statements that would be lowered to bit tests in
cases where we were nearing the threshold. Combined with the fact that
this early exit was skipped with opt remarks enabled, this caused
different inlining decisions to be made when -pass-remarks=missed is
enabled to debug the missing inline.
Remove the early exit for the above reasons.
I also copied over an existing AArch64 inlining test to X86, and
adjusted the threshold so that the bit test inline only occurs with the
fix in this patch.
Reviewers: davidxl
Subscribers: eraman, kristof.beyls, haicheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67716
llvm-svn: 372440
The file was modifiedllvm/lib/Analysis/InlineCost.cpp (diff)
The file was addedllvm/test/Transforms/Inline/X86/switch.ll
Commit e021d6909436c6baac2dc7c9065340862a9b9aa2 by Jonas Devlieghere
dotest.py: bugfix: test filters with -f do not work on Python3
dotest -f does not work on Python3.
The name types.UnboundMethodType was an alias for types.MethodType in
2.7, but it does not exist in python3. MethodType works in both.
Also the actual type returned from SomeClass.some_method in python3 will
be types.Function, not MethodType.
Patch by: Lawrence D'Anna
Differential revision: https://reviews.llvm.org/D67791
llvm-svn: 372441
The file was modifiedlldb/third_party/Python/module/unittest2/unittest2/loader.py (diff)
Commit 7d6a95cf83fcca92e64302194995601474bc161a by Jonas Devlieghere
prepare_binding_Python: print readable errors if SWIG fails
When swig fails, all the errors are squished onto one line with \n
quoting. It's very hard to read. This will print them out in a more
reasonable format.
Patch by: Lawrence D'Anna
Differential revision: https://reviews.llvm.org/D67790
llvm-svn: 372442
The file was modifiedlldb/scripts/Python/prepare_binding_Python.py (diff)
Commit 7ac1039957f9aebcdf3ccf36cdd11067eb42b832 by Amara Emerson
[GlobalISel] Defer setting HasCalls on MachineFrameInfo to selection
time.
We currently always set the HasCalls on MFI during translation and
legalization if we're handling a call or legalizing to a libcall.
However, if that call is later optimized to a tail call then we don't
need the flag. The flag being set to true causes frame lowering to
always save and restore FP/LR, which adds unnecessary code.
This change does the same thing as SelectionDAG and ports over some code
that scans instructions after selection, using TargetInstrInfo to
determine if target opcodes are known calls.
Code size geomean improvements on CTMark:
-O0 : 0.1%
-Os : 0.3%
Differential Revision: https://reviews.llvm.org/D67868
llvm-svn: 372443
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp (diff)
The file was modifiedllvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp (diff)
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/call-translator.ll (diff)
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/tail-call-no-save-fp-lr.ll
Commit 172e8a7a5de1c5aa110272da5483138e9aabc204 by Alex Lorenz
[clang-scan-deps] strip the --serialize-diagnostics argument
This ensures that clang-scan-deps won't write out diagnostics when
scanning dependencies.
llvm-svn: 372444
The file was modifiedclang/include/clang/Tooling/ArgumentsAdjusters.h (diff)
The file was modifiedclang/tools/clang-scan-deps/ClangScanDeps.cpp (diff)
The file was modifiedclang/lib/Tooling/ArgumentsAdjusters.cpp (diff)
The file was addedclang/test/ClangScanDeps/strip_diag_serialize.cpp
The file was addedclang/test/ClangScanDeps/Inputs/strip_diag_serialize.json