SuccessChanges

Summary

  1. [X86][SSE] Add some additional v8i16 'truncation' style shuffle tests (details)
  2. [AST][SVE] Treat built-in SVE types as trivially copyable (details)
  3. [AST][SVE] Treat built-in SVE types as trivial (details)
  4. [X86] Don't form masked instructions if the operation has an additional user. (details)
  5. [OPENMP50]Add basic support for inscan reduction modifier. (details)
  6. [ORC] Don't create MaterializingInfo entries unnecessarily. (details)
  7. [ORC] Introduce JITSymbolFlags::HasMaterializeSideEffectsOnly flag. (details)
  8. [Dexter] Add support for Windows to regression test suite. (details)
  9. Only add `darwin_log_cmd` lit shell test feature when the log can be queried. (details)
  10. [LLDB] Fix handling of bit-fields when there is a base class when parsing DWARF (details)
  11. [AST] Fix typo on NoInitExpr dependence computation (details)
  12. [ELF][test] Split basic.s (details)
  13. [lit] Avoid global imports in module declaration (details)
  14. Fix a Diag call not to assume option spelling (details)
  15. [MC][ARM] Make .reloc support arbitrary relocation types (details)
  16. [MC][AArch64] Make .reloc support arbitrary relocation types (details)
  17. [lldb/PlatformMacOSX] Re-implement GetDeveloperDirectory (details)
  18. [COFF] Don't treat DWARF sections as GC roots (details)
  19. Fix denormal-fp-math flag and attribute interaction (details)
  20. Revert "[Dexter] Add support for Windows to regression test suite." (details)
  21. AMDGPU: Stop setting attributes based on TargetOptions (details)
  22. [AIX] Address comment https://reviews.llvm.org/D76162#inline-701237 (details)
  23. Fix line endings in test (details)
  24. [OpenMP] Add memory barrier to solve data race (details)
  25. [MC][X86] Make .reloc support arbitrary relocation types (details)
  26. [AMDGPU] Fix getEUsPerCU for gfx10 in CU mode (details)
  27. CodeGen: Add -denormal-fp-math-f32 flag (details)
  28. [llvm][Support] Add isZero method for TypeSize. [NFC] (details)
  29. [cuda][hip] Add CUDA builtin surface/texture reference support. (details)
  30. Allow remapping Clang module include paths (details)
  31. Unbreak LLDB tests after 96023917e6f (details)
  32. [InstCombine] add tests for FP cast+bitcast signbit checks; NFC (details)
  33. [InstCombine] reduce FP-casted and bitcasted signbit check (details)
  34. Add BitWidth trait to BitmaskEnum, and use for clang DependenceFlags. NFC (details)
  35. [lld test] Tighten ELF/pre_init_fini_array.s test (details)
  36. [LLDB] CPlusPlusNameParser does not handles templated operator< properly (details)
  37. [OPENMP50]Fix PR45117: Orphaned task reduction should be allowed. (details)
  38. [VirtualFileSystem] Support directory entries in the YAMLVFSWriter (details)
  39. [Darwin] Respect -fno-unroll-loops during LTO. (details)
  40. [llvm][Type] Return fixed size for scalar types. [NFC] (details)
  41. [mlir][spirv] Add return to function to please MSVC (details)
  42. [DAGCombine] Fix splitting indexed loads in ForwardStoreValueToDirectLoad() (details)
  43. [Syntax] Prevent (accidentally) copying TokenBuffer (details)
  44. [AST] Add a Dependence bitmask to use for calculations with multiple node types. (details)
Commit 763c87309da149ec7984d7d75c98749b6e05d060 by llvm-dev
[X86][SSE] Add some additional v8i16 'truncation' style shuffle tests
The file was modifiedllvm/test/CodeGen/X86/vector-shuffle-128-v8.ll
Commit 35392660e6d5cb8d47e1fd33995d660576eff5de by richard.sandiford
[AST][SVE] Treat built-in SVE types as trivially copyable

SVE types are trivially copyable: they can be copied simply
by reproducing the byte representation of the source object.

Differential Revision: https://reviews.llvm.org/D76691
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/test/SemaCXX/sizeless-1.cpp
Commit c6824883cc9de7e46b2417d58463f9c4e02da195 by richard.sandiford
[AST][SVE] Treat built-in SVE types as trivial

Built-in SVE types are trivial, since they're trivially copyable
and support default construction.

Differential Revision: https://reviews.llvm.org/D76692
The file was modifiedclang/test/SemaCXX/sizeless-1.cpp
The file was modifiedclang/lib/AST/Type.cpp
Commit cdd1cd712087377b69aee1c9f13be7cd73fb340d by craig.topper
[X86] Don't form masked instructions if the operation has an additional user.

This will cause the operation to be repeated in both a mask and another masked
or unmasked form. This can a wasted of execution resources.

Differential Revision: https://reviews.llvm.org/D60940
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
The file was modifiedllvm/test/CodeGen/X86/avx512-vec-cmp.ll
The file was modifiedllvm/lib/Target/X86/X86ISelDAGToDAG.cpp
The file was modifiedllvm/test/CodeGen/X86/x86-interleaved-access.ll
Commit 49764dc30c4c14ed546e44b67b591902277819f7 by a.bataev
[OPENMP50]Add basic support for inscan reduction modifier.

Added basic support (parsing/sema checks) for the inscan modifier in the
reduction clauses.
The file was modifiedclang/test/OpenMP/scan_messages.cpp
The file was modifiedclang/test/OpenMP/nesting_of_regions.cpp
The file was modifiedclang/test/OpenMP/parallel_for_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/scan_ast_print.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/parallel_reduction_messages.c
The file was modifiedclang/include/clang/Basic/OpenMPKinds.def
Commit d38d06e6493fa6bc77d54589960007d7a91c8096 by Lang Hames
[ORC] Don't create MaterializingInfo entries unnecessarily.
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
Commit cb84e4827e43921659e75509dfb42ebf56c50502 by Lang Hames
[ORC] Introduce JITSymbolFlags::HasMaterializeSideEffectsOnly flag.

This flag can be used to mark a symbol as existing only for the purpose of
enabling materialization. Such a symbol can be looked up to trigger
materialization with the lookup returning only once materialization is
complete. Symbols with this flag will never resolve however (to avoid
permanently polluting the symbol table), and should only be looked up using
the SymbolLookupFlags::WeaklyReferencedSymbol flag. The primary use case for
this flag is initialization symbols.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/include/llvm/ExecutionEngine/JITSymbol.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/DebugUtils.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/Mangling.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/Layer.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
Commit 89025da9f676aebff7daf055824d6fd102a70c34 by Tom.Weaver
[Dexter] Add support for Windows to regression test suite.

This patch addresses the issue of the regression suite not running on windows hardware. It changes the following things:

add new dexter regression suite command to lit.cfg.py that makes use of the clang-cl_vs2015 and dbgend builder and debuggers.
sprinkle the new regression suite command through the feature and tool tests that require them.
mark certain problem tests on windows

There's a couple of tests that fail (or pass) in unexpected ways on Windows.

Problem tests are both the penalty and perfect expect_watch_type.cpp tests. Type information reporting parity is not possible a this time in dexter due to the nature of how different debuggers report type information back to their users.

reviewers: Orlando

Differential Revision: https://reviews.llvm.org/D76609
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_watch_type.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/unreachable.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/subtools/view.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_watch_value.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/recursive.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_step_kinds.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/direction.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_order.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/func_external.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_step_order.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_watch_value.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/small_loop.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_watch_type.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_program_state.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/func.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/unreachable.cpp
The file was modifieddebuginfo-tests/lit.cfg.py
Commit 853a1e6942c824775cff20142301f9b114853b0f by Dan Liew
Only add `darwin_log_cmd` lit shell test feature when the log can be queried.

Summary:
Follow up fix to 445b810fbd4. The `log show` command only works for
privileged users so run a quick test of the command during lit config to
see if the command works and only add the `darwin_log_cmd` feature if
this is the case.

Unfortunately this means the `asan/TestCases/Darwin/duplicate_os_log_reports.cpp`
test and any other tests in the future that use this feature won't run
for unprivileged users which is likely the case in CI.

rdar://problem/55986279

Reviewers: kubamracek, yln, dcoughlin

Subscribers: Charusso, #sanitizers, llvm-commits

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D76899
The file was modifiedcompiler-rt/test/lit.common.cfg.py
Commit 00c8120acbac3430c3594c5b6ca3527ef9c1afca by shafik
[LLDB] Fix handling of bit-fields when there is a base class when parsing DWARF

When parsing DWARF and laying out bit-fields we currently don't take into account whether we have a base class or not.
Currently if the first field is a bit-field but the bit offset is due a field we inherit from a base class we currently
treat it as an unnamed bit-field and therefore add an extra field.

This fix will not check if we have a base class and assume that this offset is due to members we are inheriting from the base.
We are currently seeing asserts during codegen when debugging clang::DiagnosticOptions.

This assumption will fail in the case where the first field in the derived class in an unnamed bit-field. Fixing the first field
being an unnamed bit-field looks like it will require a larger change since we will need a way to track or discover the last field offset of the bases(s).

Differential Revision: https://reviews.llvm.org/D76808
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
The file was modifiedlldb/test/API/lang/cpp/bitfields/TestCppBitfields.py
The file was modifiedlldb/test/API/lang/cpp/bitfields/main.cpp
Commit 018ad3b05ec7c1c217ef203042c652a1535d3588 by sam.mccall
[AST] Fix typo on NoInitExpr dependence computation
The file was modifiedclang/lib/AST/ComputeDependence.cpp
Commit 34bdddf9a13cfdbbb5506dc89cf8e781be53105f by maskray
[ELF][test] Split basic.s
The file was modifiedlld/test/ELF/lto/parallel.ll
The file was modifiedlld/test/ELF/gnu-ifunc-noplt.s
The file was modifiedlld/test/ELF/lto/thinlto.ll
The file was modifiedlld/test/ELF/basic.s
The file was modifiedlld/test/ELF/default-output.s
Commit 8896d123154c4606d11f6b6f97c33d5a455cd9ea by julian.lettner
[lit] Avoid global imports in module declaration

A previous attempt to cleanup module imports broke installing via
pip/setup.py [1].  This should be fixed now.

[1] cf252240e8819d0c90a5e10f773078bdeba33e44

Reviewed By: paquette

Differential Revision: https://reviews.llvm.org/D76940
The file was modifiedllvm/utils/lit/lit/__init__.py
The file was modifiedllvm/utils/lit/setup.py
Commit ee7510dc86656b739881466fddd59253d008139d by paul.robinson
Fix a Diag call not to assume option spelling
The file was modifiedclang/lib/Driver/ToolChains/PS4CPU.cpp
Commit c389526171ebe7985ec670676922896d324448b5 by maskray
[MC][ARM] Make .reloc support arbitrary relocation types

Generalizes D61992. In GNU as, the .reloc directive supports arbitrary relocation types.

A MCFixupKind value `V` larger than or equal to FirstLiteralRelocationKind
is used to represent the relocation type whose number is V-FirstLiteralRelocationKind.

This is useful for linker tests. Without the feature the assembler
cannot produce certain relocation records (e.g.  R_ARM_ALU_PC_G0/R_ARM_LDR_PC_G0)
This helps move forward D75349 and D76575.

Differential Revision: https://reviews.llvm.org/D76746
The file was modifiedllvm/include/llvm/MC/MCFixup.h
The file was addedllvm/test/MC/ARM/reloc-directive-err.s
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
The file was modifiedllvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
The file was modifiedllvm/test/MC/ARM/reloc-directive.s
Commit 34d77516b826f07e964fab364b02511ba6002209 by maskray
[MC][AArch64] Make .reloc support arbitrary relocation types

Depends on D76746. Generalizes D61973.

Differential Revision: https://reviews.llvm.org/D76754
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
The file was modifiedllvm/test/MC/AArch64/reloc-directive.s
The file was addedllvm/test/MC/AArch64/reloc-directive-err.s
Commit 457eb05db67d201f34920e762a90d0deb670becb by Jonas Devlieghere
[lldb/PlatformMacOSX] Re-implement GetDeveloperDirectory

GetDeveloperDirectory returns a const char* which is NULL when we cannot
find the developer directory. This crashes in
PlatformDarwinKernel::CollectKextAndKernelDirectories because we're
unconditionally assigning it to a std::string. Coincidentally I just
refactored a bunch of code in PlatformMacOSX so instead of a ad-hoc fix
I've reimplemented the method based on GetXcodeContentsDirectory.

The change is mostly NFC. Obviously it fixes the crash, but it also
removes support for finding the Xcode directory through he legacy
$XCODE_SELECT_PREFIX_DIR/usr/share/xcode-select/xcode_dir_path.

Differential revision: https://reviews.llvm.org/D76938
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.cpp
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
Commit c579a5b1d92a9bc2046d00ee2d427832e0f5ddec by rnk
[COFF] Don't treat DWARF sections as GC roots

DWARF sections are typically live and not COMDAT, so they would be
treated as GC roots. Enabling DWARF would essentially keep all code with
debug info alive, preventing any section GC.

Fixes PR45273

Reviewed By: mstorsjo, MaskRay

Differential Revision: https://reviews.llvm.org/D76935
The file was addedlld/test/COFF/gc-dwarf.s
The file was modifiedlld/COFF/MarkLive.cpp
Commit 0ab5b5b8581d9f2951575f7245824e6e4fc57dec by Matthew.Arsenault
Fix denormal-fp-math flag and attribute interaction

Make these behave the same way unsafe-fp-math and co. The command line
flag should add the attribute to functions that do not already have
it, and leave existing attributes. The attribute is the actual
implementation, but the flag is useful in some testing situations.

AMDGPU has a variety of tests with denormals enabled/disabled that
would require a painful level of test duplication without a flag. This
doesn't expose setting the separate input/output modes, or add a flag
for the f32 version yet.

Tests will be included in future patch.
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.h
The file was modifiedllvm/lib/CodeGen/CommandFlags.cpp
Commit 470e82cd06062a3fc3c142782b4d46d711b7c19c by ditaliano
Revert "[Dexter] Add support for Windows to regression test suite."

This reverts commit 89025da9f676aebff7daf055824d6fd102a70c34 as
it breaks the lldb macOS bot.
The file was modifieddebuginfo-tests/dexter/feature_tests/subtools/view.cpp
The file was modifieddebuginfo-tests/lit.cfg.py
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/unreachable.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_watch_type.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_order.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_step_kinds.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_program_state.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_watch_value.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/unreachable.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_watch_type.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_step_order.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/direction.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/func_external.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/penalty/expect_watch_value.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/func.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/small_loop.cpp
The file was modifieddebuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/recursive.cpp
Commit 348735b723048411167b2244ebf5e2cd19bd869b by Matthew.Arsenault
AMDGPU: Stop setting attributes based on TargetOptions

Having arbitrary passes looking at the TargetOptions is pretty
messy. This was also disregarding if a function already had an
explicit attribute setting on it. opt/llc now add the attributes to
functions that don't specify the attribute. clang and lld do not call
the function to do this, which they maybe should.

This was also treating unsafe-fp-math as implying the others, and
setting the other attributes based on it. This is not done anywhere
else, and I'm not sure is correct based on the current description of
the option bit.

Effectively reverts 1d8cf2be89087a2babc1dc38b16040fad0a555e2
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPU.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/inline-attr.ll
Commit 9c20f09985db8394c9776c4e3f734f0cda408d01 by diggerlin
[AIX] Address comment https://reviews.llvm.org/D76162#inline-701237

SUMMARY:

Address clang format issue:

"clang format this block, I don't think the spaces are aligned correctly."

Subscribers: wuzish, nemanjai, hiraditya

Differential Revision: https://reviews.llvm.org/D76162
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit 0fd8030be3307defd068ae6977d6f603b77db20e by arsenm2
Fix line endings in test
The file was modifiedllvm/test/CodeGen/NVPTX/f16-instructions.ll
Commit 236ac68fa5b173e54b181e0a03216dfd8fd4f95e by bryanpkc
[OpenMP] Add memory barrier to solve data race

Data race occurs when acquiring lock for critical section
triggering assertion failure. Added barrier to ensure
all memory is commited before checking assertion.

Reviewed By: Hahnfeld

Differential Revision: https://reviews.llvm.org/D76780
The file was modifiedopenmp/runtime/src/kmp_lock.cpp
Commit 152d14da64c2e906974822c084e2a79c1e970c1d by maskray
[MC][X86] Make .reloc support arbitrary relocation types

Generalizes D62014 (R_386_NONE/R_X86_64_NONE).

Unlike ARM (D76746) and AArch64 (D76754), we cannot delete FK_NONE from
getFixupKindSize because FK_NONE is still used by R_386_TLS_DESC_CALL/R_X86_64_TLSDESC_CALL.
The file was modifiedllvm/test/MC/X86/reloc-directive-elf-64.s
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
The file was modifiedllvm/test/MC/X86/reloc-directive-elf-32.s
Commit a6dfd827e588aaa0ef221cd29f846dc88ce2877c by jay.foad
[AMDGPU] Fix getEUsPerCU for gfx10 in CU mode

Summary:
"Per CU" is a bit simplistic for gfx10, but I couldn't think of a better
name.

Reviewers: arsenm, rampitec, nhaehnle, dstuttard, tpr

Subscribers: kzhuravl, jvesely, wdng, yaxunl, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76861
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/attr-amdgpu-flat-work-group-size-vgpr-limit.ll
Commit a8cc9047de090352d244c0e1d1db8b4d9b4b7502 by Matthew.Arsenault
CodeGen: Add -denormal-fp-math-f32 flag

Make the set of FP related attributes and command flags closer.
The file was modifiedllvm/lib/CodeGen/CommandFlags.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
The file was addedllvm/test/Other/opt-override-denormal-fp-math.ll
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.h
The file was modifiedllvm/test/CodeGen/NVPTX/f16-instructions.ll
The file was addedllvm/test/Other/opt-override-denormal-fp-math-mixed.ll
The file was addedllvm/test/Other/opt-override-denormal-fp-math-f32.ll
Commit c66d1f38f6f11ee6bafb0a3f2c06f3bbf4413ab2 by francesco.petrogalli
[llvm][Support] Add isZero method for TypeSize. [NFC]

Summary:
The method is used where TypeSize is implicitly cast to integer for
being checked against 0.

Reviewers: sdesmalen, efriedma

Reviewed By: sdesmalen, efriedma

Subscribers: efriedma, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76748
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/include/llvm/Support/TypeSize.h
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
Commit 5be9b8cbe2b2253f78a09a863bef18e574737465 by michael.hliao
[cuda][hip] Add CUDA builtin surface/texture reference support.

Summary: - Re-commit after fix Sema checks on partial template specialization.

Reviewers: tra, rjmccall, yaxunl, a.sidorin

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D76365
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/lib/Headers/__clang_cuda_runtime_wrapper.h
The file was modifiedclang/test/SemaCUDA/bad-attributes.cu
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/lib/CodeGen/CodeGenTypes.cpp
The file was addedclang/test/CodeGenCUDA/texture.cu
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/SemaCUDA/attributes-on-non-cuda.cu
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was addedclang/test/CodeGenCUDA/surface.cu
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.h
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedllvm/include/llvm/IR/Operator.h
The file was modifiedclang/lib/AST/Type.cpp
The file was modifiedclang/lib/CodeGen/CGCUDANV.cpp
The file was modifiedclang/test/SemaCUDA/attr-declspec.cu
The file was modifiedclang/lib/CodeGen/CGCUDARuntime.h
The file was modifiedclang/test/Misc/pragma-attribute-supported-attributes-list.test
Commit 22d5bd0e3b32530785bc7b5c0f32b32a1f907342 by Adrian Prantl
Allow remapping Clang module include paths

in the debug info with -fdebug-prefix-map.

rdar://problem/55685132

This reapplies an earlier attempt to commit this without
modifications.

Differential Revision: https://reviews.llvm.org/D76385
The file was modifiedclang/test/Modules/debug-info-moduleimport.m
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
Commit 974fbd9b8145d351b7359e34e415581eda6e0b4d by Adrian Prantl
Unbreak LLDB tests after 96023917e6f

by teaching LLDB to apply DW_AT_comp_dir to the DW_AT_LLVM_include path.
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Commit e72730ee3a5740c3a8be9db03eb30f00ef9b53e1 by spatel
[InstCombine] add tests for FP cast+bitcast signbit checks; NFC

PR45305:
https://bugs.llvm.org/show_bug.cgi?id=45305
The file was modifiedllvm/test/Transforms/InstCombine/icmp.ll
Commit 0f56bbc1a5b2ddc881d1c55c9024b9c473dac6f0 by spatel
[InstCombine] reduce FP-casted and bitcasted signbit check

PR45305:
https://bugs.llvm.org/show_bug.cgi?id=45305

Alive2 proofs:
http://volta.cs.utah.edu:8080/z/bVyrko
http://volta.cs.utah.edu:8080/z/Vxpz9q
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/test/Transforms/InstCombine/icmp.ll
Commit 6b3bedec999a57015339fa5eed276710e87cbb0f by sam.mccall
Add BitWidth trait to BitmaskEnum, and use for clang DependenceFlags. NFC

Reviewers: hokein

Subscribers: dexonsmith, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D76942
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedllvm/include/llvm/ADT/BitmaskEnum.h
The file was modifiedclang/include/clang/AST/DependenceFlags.h
The file was modifiedclang/include/clang/AST/Stmt.h
Commit 6eb345af5a1bb182a1292c8a285a6a509af61a94 by thomasp
[lld test] Tighten ELF/pre_init_fini_array.s test

Summary:
Make use of FileCheck numeric variable to tighten symbol address checks
in ELF/pre_init_fini_array.s test.

Reviewers: khemant, compnerd, echristo, jhenderson, espindola, MaskRay

Reviewed By: MaskRay

Subscribers: emaste, MaskRay, llvm-commits, rupprecht

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76852
The file was modifiedlld/test/ELF/pre_init_fini_array.s
Commit 8016d61e3cf4967dd28c8f6296cec685dadcaee6 by shafik
[LLDB] CPlusPlusNameParser does not handles templated operator< properly

CPlusPlusNameParser is used in several places on of them is during IR execution and setting breakpoints to pull information C++ like the basename, the context and arguments.

Currently it does not handle templated operator< properly, because of idiosyncrasy is how clang generates debug info for these cases.

It uses clang::Lexer which will tokenize operator<<A::B> into:

tok::kw_operator
tok::lessless
tok::raw_identifier

Later on the parser in ConsumeOperator() does not handle this case properly and we end up failing to parse.

Differential Revision: https://reviews.llvm.org/D76168
The file was modifiedlldb/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp
Commit 0fca766458da04bbc6d33b3f9ecd57e615c556c1 by a.bataev
[OPENMP50]Fix PR45117: Orphaned task reduction should be allowed.

Add support for orpahned task reductions.
The file was modifiedclang/test/OpenMP/taskloop_simd_in_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/task_ast_print.cpp
The file was modifiedclang/test/OpenMP/task_in_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/task_in_reduction_message.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_simd_in_reduction_messages.cpp
The file was modifiedopenmp/runtime/test/tasking/omp_task_red_taskloop.c
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/OpenMP/master_taskloop_in_reduction_messages.cpp
The file was modifiedclang/test/OpenMP/taskloop_in_reduction_messages.cpp
Commit 3ef33e69de085cb6bc028b4fc4dd39087631ac12 by Jonas Devlieghere
[VirtualFileSystem] Support directory entries in the YAMLVFSWriter

The current implementation of the JSONWriter does not support writing
out directory entries. Earlier today I added a unit test to illustrate
the problem. When an entry is added to the YAMLVFSWriter and the path is
a directory, it will incorrectly emit the directory as a file, and any
files inside that directory will not be found by the VFS.

It's possible to partially work around the issue by only adding "leaf
nodes" (files) to the YAMLVFSWriter. However, this doesn't work for
representing empty directories. This is a problem for clients of the VFS
that want to iterate over a directory. The directory not being there is
not the same as the directory being empty.

This is not just a hypothetical problem. The FileCollector for example
does not differentiate between file and directory paths. I temporarily
worked around the issue for LLDB by ignoring directories, but I suspect
this will prove problematic sooner rather than later.

This patch fixes the issue by extending the JSONWriter to support
writing out directory entries. We store whether an entry should be
emitted as a file or directory.

Differential revision: https://reviews.llvm.org/D76670
The file was modifiedllvm/unittests/Support/VirtualFileSystemTest.cpp
The file was modifiedllvm/lib/Support/VirtualFileSystem.cpp
The file was modifiedllvm/include/llvm/Support/VirtualFileSystem.h
Commit 9ce198d6ed371399e9bd9ba8b48fbab0f4e60240 by flo
[Darwin] Respect -fno-unroll-loops during LTO.

Currently -fno-unroll-loops is ignored when doing LTO on Darwin. This
patch adds a new -lto-no-unroll-loops option to the LTO code generator
and forwards it to the linker if -fno-unroll-loops is passed.

Reviewers: thegameg, steven_wu

Reviewed By: thegameg

Differential Revision: https://reviews.llvm.org/D76916
The file was addedclang/test/Driver/darwin-ld-lto-fno-unroll-loops.c
The file was modifiedllvm/lib/LTO/LTOCodeGenerator.cpp
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was addedllvm/test/tools/llvm-lto/fno-unroll-loops-option.ll
Commit 4b3d94051ca2cfc43f276c05f0619d22fc7deb87 by francesco.petrogalli
[llvm][Type] Return fixed size for scalar types. [NFC]

Summary:
It is safe to assume that the TypeSize associated to scalar types has
a fixed size.

This avoids an implicit cast of TypeSize to integer inside
`Type::getScalarSizeInBits()`, as such implicit cast is deprecated.

Reviewers: efriedma, sdesmalen

Reviewed By: efriedma

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76892
The file was modifiedllvm/lib/IR/Type.cpp
Commit d0af43816193aac382276c878deb4e33ed76be1d by antiagainst
[mlir][spirv] Add return to function to please MSVC

This suppresses the "not all control paths return a value" warning.
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
Commit 482141134729237072cb94248381dab96ce34374 by nemanja.i.ibm
[DAGCombine] Fix splitting indexed loads in ForwardStoreValueToDirectLoad()

In DAGCombiner::visitLOAD() we perform some checks before breaking up an indexed
load. However, we don't do the same checking in ForwardStoreValueToDirectLoad()
which can lead to failures later during combining
(see: https://bugs.llvm.org/show_bug.cgi?id=45301).

This patch just adds the same checks to this function as well.

Fixes: https://bugs.llvm.org/show_bug.cgi?id=45301

Differential revision: https://reviews.llvm.org/D76778
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was addedllvm/test/CodeGen/PowerPC/pr45301.ll
Commit 94938d7d41cd11c4539ff93b801fe53cb4fddba2 by sam.mccall
[Syntax] Prevent (accidentally) copying TokenBuffer
The file was modifiedclang/include/clang/Tooling/Syntax/Tokens.h
Commit d68c09ac87959694fbb4895ff49443afc2b582f9 by sam.mccall
[AST] Add a Dependence bitmask to use for calculations with multiple node types.

Summary:
This makes it easier/safer to add bits (error) to other node types without
worrying about bit layout all the time.

For now, just use to implement the ad-hoc conversion functions.
Next: remove these functions and use this directly.

Reviewers: hokein

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D76939
The file was modifiedclang/lib/AST/ComputeDependence.cpp
The file was modifiedclang/include/clang/AST/DependenceFlags.h