1. [RISCV] Move architecture parsing code into its own function (details)
  2. [LegalizeTypes] Teach SoftenFloatOp_SELECT_CC to handle operand 2 or 3 (details)
  3. [RISCV] Default to ilp32d/lp64d in RISC-V Linux (details)
  4. [clangd] some tweaks on the vscode readme, NFC (details)
  5. [RISCV] Make -march=rv{32,64}gc the default in RISC-V Linux (details)
  6. Revert Remove REQUIRES:shell from tests that pass for me on Windows (details)
  7. [Alignment] Use Align for TargetLowering::MinStackArgumentAlignment (details)
  8. [DWARF] Add a unit test for DWARFUnit::getLength(). (details)
  9. [yaml2obj] Set p_align to the maximum sh_addralign of contained sections (details)
  10. Reland "r364412 [ExpandMemCmp][MergeICmps] Move passes out of CodeGen (details)
  11. [ExpandMemCmp] Add lit.local.cfg (details)
Commit 60f0a6f6ff99a748b1190ad85b0bbc00c36584a1 by rofirrim
[RISCV] Move architecture parsing code into its own function
I plan to reuse it in a later patch.
This is almost NFC except a small change in control flow when diagnosing
+d without +f.
Differential Revision:
llvm-svn: 371492
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
Commit e8b432fa0e75430c03552b1d36e4ac468843ce57 by craig.topper
[LegalizeTypes] Teach SoftenFloatOp_SELECT_CC to handle operand 2 or 3
being softened.
This can only happen on X86 when fp128 is a legal type, but we go
through softening to generate libcalls. This causes fp128 to be softened
to fp128 instead of an integer type. This can be removed if D67128
llvm-svn: 371493
The file was modifiedllvm/test/CodeGen/X86/fp128-select.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
Commit 8e87396307f0e395e75196707b8b2614035ff57c by rofirrim
[RISCV] Default to ilp32d/lp64d in RISC-V Linux
When running clang as a native compiler in RISC-V Linux the flag
-mabi=ilp32d / -mabi=lp64d is always mandatory. This change makes it the
default there.
Differential Revision:
llvm-svn: 371494
The file was modifiedclang/test/Preprocessor/riscv-target-features.c
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
The file was modifiedclang/test/Driver/riscv64-toolchain.c
The file was modifiedclang/test/Driver/riscv32-toolchain.c
Commit 2fa2d45963580a95ea97f5b26f102a96c0eeee32 by hokein
[clangd] some tweaks on the vscode readme, NFC
llvm-svn: 371495
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/
Commit 93c4d53b0a5751bbaae747879bcdb4a5413b52fb by rofirrim
[RISCV] Make -march=rv{32,64}gc the default in RISC-V Linux
This is the logical follow-up of D65634.
Differential Revision:
llvm-svn: 371496
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.h
The file was modifiedclang/test/Driver/riscv-features.c
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 3d7e9ab7b9f8c53aa41420c54970f0fb421004a2 by jh7370
Revert Remove REQUIRES:shell from tests that pass for me on Windows
This reverts r371478 (git commit
llvm-svn: 371497
The file was modifiedclang/test/OpenMP/taskloop_private_codegen.cpp
The file was modifiedclang/test/Analysis/crash-trace.c
The file was modifiedclang/test/Frontend/dependency-gen-has-include.c
The file was modifiedclang/test/Driver/check-time-trace-sections.cpp
The file was modifiedclang/test/OpenMP/taskloop_lastprivate_codegen.cpp
The file was modifiedclang/test/Modules/implicit-invalidate-common.c
The file was modifiedclang/test/OpenMP/task_private_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/Parser/crash-report.c
The file was modifiedclang/test/CodeGen/thinlto_backend.ll
The file was modifiedclang/test/Modules/at-import-in-framework-header.m
The file was modifiedclang/test/OpenMP/task_firstprivate_codegen.cpp
The file was modifiedclang/test/Modules/builtins.m
The file was modifiedclang/test/Modules/dependency-dump.m
The file was modifiedclang/test/Format/style-on-command-line.cpp
The file was modifiedclang/test/Driver/check-time-trace.cpp
The file was modifiedclang/test/Driver/rewrite-map-in-diagnostics.c
The file was modifiedclang/test/PCH/modified-header-error.c
The file was modifiedclang/test/Modules/dependency-dump-dependent-module.m
The file was modifiedclang/test/OpenMP/taskloop_firstprivate_codegen.cpp
The file was modifiedclang/test/Driver/clang-offload-bundler.c
The file was modifiedclang/test/Driver/crash-report-crashfile.m
The file was modifiedclang/test/Index/crash-recovery-modules.m
Commit b6722af06863b7133cf9e910ae0319b2a1c2ac78 by gchatelet
[Alignment] Use Align for TargetLowering::MinStackArgumentAlignment
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
Subscribers: sdardis, nemanjai, hiraditya, kbarton, jrtc27, MaskRay,
atanasyan, jsji, llvm-commits
Tags: #llvm
Differential Revision:
llvm-svn: 371498
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp
Commit 3565c6b15c5466d6945fe82eae3e2d8df29d6622 by ikudrin
[DWARF] Add a unit test for DWARFUnit::getLength().
This is a follow-up of rL369529, where the return value of
DWARFUnit::getLength() was changed from uint32_t to uint64_t. The test
checks that a unit header with Length > 4G can be successfully parsed
and the value of the Length field is not truncated.
Differential Revision:
llvm-svn: 371499
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
Commit 1da4f47195c2e5e4faaaca265ae2f9d9149b85df by maskray
[yaml2obj] Set p_align to the maximum sh_addralign of contained sections
The address difference between two sections in a PT_LOAD is a constant.
Consider a hypothetical case (pagesize can be very small, say, 4).
.text     sh_addralign=4 sh_addralign=16
If we set p_align to 4, the PT_LOAD will be loaded at an address which
is a multiple of 4. The address of is guaranteed to be a
multiple of 4, but not necessarily a multiple of 16.
This patch deletes the constraint
  if (SHeader->sh_offset == PHeader.p_offset)
Reviewed By: grimar, jhenderson
Differential Revision:
llvm-svn: 371501
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/program-header-align.yaml
Commit 612c260ec3fe15cd2b661dead1aa8fef34906cf4 by courbet
Reland "r364412 [ExpandMemCmp][MergeICmps] Move passes out of CodeGen
into opt pipeline."
With a fix for sanitizer breakage (see explanation in D60318).
llvm-svn: 371502
The file was removedllvm/test/CodeGen/X86/memcmp-mergeexpand.ll
The file was modifiedllvm/test/Transforms/ExpandMemCmp/X86/memcmp.ll
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/memcmp-mergeexpand.ll
The file was addedllvm/test/Transforms/PhaseOrdering/X86/lit.local.cfg
The file was modifiedllvm/test/Other/opt-Os-pipeline.ll
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
The file was addedllvm/test/Transforms/ExpandMemCmp/X86/pr36421.ll
The file was modifiedllvm/test/Other/opt-O2-pipeline.ll
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/lit.local.cfg
The file was removedllvm/test/CodeGen/X86/memcmp-optsize.ll
The file was addedllvm/test/Transforms/PhaseOrdering/X86/pr36421.ll
The file was removedllvm/test/CodeGen/PowerPC/memcmp.ll
The file was addedllvm/test/Transforms/PhaseOrdering/X86/memcmp.ll
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/memcmp.ll
The file was removedllvm/test/CodeGen/X86/memcmp.ll
The file was modifiedllvm/include/llvm/Transforms/Scalar.h
The file was modifiedllvm/test/CodeGen/X86/O3-pipeline.ll
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/
The file was removedllvm/test/CodeGen/AArch64/bcmp-inline-small.ll
The file was modifiedllvm/lib/Transforms/Scalar/MergeICmps.cpp
The file was removedllvm/test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll
The file was modifiedllvm/lib/Transforms/Scalar/CMakeLists.txt
The file was removedllvm/lib/CodeGen/ExpandMemCmp.cpp
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was modifiedllvm/lib/Transforms/Scalar/Scalar.cpp
The file was modifiedllvm/test/CodeGen/Generic/llc-start-stop.ll
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll
The file was addedllvm/test/Transforms/PhaseOrdering/X86/memcmp-mergeexpand.ll
The file was modifiedllvm/tools/opt/opt.cpp
The file was addedllvm/lib/Transforms/Scalar/ExpandMemCmp.cpp
The file was modifiedllvm/test/Other/opt-O3-pipeline.ll
The file was addedllvm/test/Transforms/ExpandMemCmp/PowerPC/lit.local.cfg
The file was removedllvm/test/CodeGen/PowerPC/memcmp-mergeexpand.ll
The file was removedllvm/test/CodeGen/PowerPC/memcmpIR.ll
The file was addedllvm/test/Transforms/ExpandMemCmp/PowerPC/memcmpIR.ll
The file was addedllvm/test/Transforms/ExpandMemCmp/AArch64/memcmp.ll
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/PassManagerBuilder.h
The file was addedllvm/test/Transforms/PhaseOrdering/PowerPC/memCmpUsedInZeroEqualityComparison.ll
Commit 664d9d2da27d1e0f8df4790fc15b92e549270aa1 by courbet
[ExpandMemCmp] Add lit.local.cfg
To prevent AArch64 tests from running when the target is not compiled.
Fixes r371502:
error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP0:%.*]] = bitcast i8* [[S1:%.*]] to i64*
llvm-svn: 371503
The file was addedllvm/test/Transforms/ExpandMemCmp/AArch64/lit.local.cfg