[all-commits] [llvm/llvm-project] f433c3: AMDGPU: Add tests for atomicrmw handling of new me...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Apr 19 17:04:54 PDT 2024


  Branch: refs/heads/users/vitalybuka/spr/nfcimetadatalibcallsshrinkwrap-use-createunlikelylikelybranchweights
  Home:   https://github.com/llvm/llvm-project
  Commit: f433c3b38005701fdc219ae8c01e6af1b8bedba9
      https://github.com/llvm/llvm-project/commit/f433c3b38005701fdc219ae8c01e6af1b8bedba9
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-04-20 (Sat, 20 Apr 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.v2f16.ll
    M llvm/test/CodeGen/AMDGPU/flat_atomics_i32_system.ll
    M llvm/test/CodeGen/AMDGPU/flat_atomics_i64_system.ll
    M llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_i32_system.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_i64_system.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fadd.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll
    M llvm/test/CodeGen/AMDGPU/local-atomics-fp.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-system.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-system.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i32-system.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i64-system.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-system.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-system.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-integer-ops-0-to-add-0.ll
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/basic.ll
    A llvm/test/Transforms/Inline/AMDGPU/inline-atomicrmw-md-preserve.ll

  Log Message:
  -----------
  AMDGPU: Add tests for atomicrmw handling of new metadata (#89248)

Add baseline tests which should comprehensively test the new atomic
metadata. Test codegen / expansion, and preservation in a few
transforms.

New metadata defined in #85052


  Commit: c69efcd54879835085cf03a09e1eec28dc80e1d3
      https://github.com/llvm/llvm-project/commit/c69efcd54879835085cf03a09e1eec28dc80e1d3
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/cuf03.cuf

  Log Message:
  -----------
  [flang][cuda] Relax assumed size check on object with device attribute (#89466)

Assumed size arrays are apparently allowed with attribute device.


  Commit: f09f99ed329f58c79fba43abf5fc73a28a0e2055
      https://github.com/llvm/llvm-project/commit/f09f99ed329f58c79fba43abf5fc73a28a0e2055
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVProcessors.td
    M llvm/utils/TableGen/RISCVTargetDefEmitter.cpp

  Log Message:
  -----------
  [RISCV] Add RISCVTuneProcessorModel to 'generic' CPU. NFC

Remove hardcode GENERIC cpu from RISCVTargetDefEmitter.cpp.


  Commit: 11019be4cf75ff40d2da84094477ab5dac818c99
      https://github.com/llvm/llvm-project/commit/11019be4cf75ff40d2da84094477ab5dac818c99
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/test/Instrumentation/SanitizerCoverage/inline-bool-flag.ll
    M llvm/test/Instrumentation/SanitizerCoverage/stack-depth.ll

  Log Message:
  -----------
  [test][sancov] Regenerate with update_test_checks (#89457)

Prepare for #89458


  Commit: c8627e4e0c8ac453844638522b887ac7b7687672
      https://github.com/llvm/llvm-project/commit/c8627e4e0c8ac453844638522b887ac7b7687672
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M lldb/source/Expression/IRExecutionUnit.cpp
    M lldb/test/API/lang/cpp/constructors/TestCppConstructors.py

  Log Message:
  -----------
  Revert "[lldb] Provide a better error message for missing symbols (#89433)"

This reverts commit 08163cd9d82690e808c28515523b5fd0923d7b38.

I accidentally broke the test while addressing review feedback.


  Commit: 6a35ee8077647b32626c3c41f9d9da4dae6670fc
      https://github.com/llvm/llvm-project/commit/6a35ee8077647b32626c3c41f9d9da4dae6670fc
  Author: Adrian Prantl <adrian-prantl at users.noreply.github.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M lldb/source/Expression/IRExecutionUnit.cpp
    M lldb/test/API/lang/cpp/constructors/TestCppConstructors.py

  Log Message:
  -----------
  [lldb] Provide a better error message for missing symbols (#89433)

This adds a hint to the missing symbols error message to make it easier
to understand what this means to users.

[Reapplies an earlier patch with a test fix.]


  Commit: 7fcca112034f55c26e943c13fd0d57adfbe96705
      https://github.com/llvm/llvm-project/commit/7fcca112034f55c26e943c13fd0d57adfbe96705
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-04-20 (Sat, 20 Apr 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/LambdaFunctionNameCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/lambda-function-name.cpp

  Log Message:
  -----------
  [clang-tidy] bugprone-lambda-function-name ignore macro in captures (#89076)


  Commit: 777d2e54a9b69463a30c305a0d1a34fef90dbe93
      https://github.com/llvm/llvm-project/commit/777d2e54a9b69463a30c305a0d1a34fef90dbe93
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/lib/ProfileData/InstrProfReader.cpp

  Log Message:
  -----------
  [memprof] Drop the trait parameter (NFC) (#89461)

OnDiskIterableChainedHashTable::Create can default-contruct a trait
object for us.  We don't need to construct one on our own unless we
need to customize something (like a version number).


  Commit: f3587d41064ce22330231baee1553b210777f3e3
      https://github.com/llvm/llvm-project/commit/f3587d41064ce22330231baee1553b210777f3e3
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
    M llvm/test/Instrumentation/SanitizerCoverage/inline-bool-flag.ll
    M llvm/test/Instrumentation/SanitizerCoverage/stack-depth.ll

  Log Message:
  -----------
  [sancov] Apply branch weights when checking counters (#89458)

It reduces instrumentation overhead by ~50%.


  Commit: c60aa430dc4085d276a630699323068bf36bd9d8
      https://github.com/llvm/llvm-project/commit/c60aa430dc4085d276a630699323068bf36bd9d8
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/include/llvm/IR/MDBuilder.h
    M llvm/lib/IR/MDBuilder.cpp
    M llvm/lib/Transforms/IPO/CrossDSOCFI.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/KCFI.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
    M llvm/test/Instrumentation/AddressSanitizer/asan-funclet.ll
    M llvm/test/Instrumentation/AddressSanitizer/basic.ll

  Log Message:
  -----------
  [NFCI][sanitizers][metadata] Exctract create{Unlikely,Likely}BranchWeights (#89464)

We have a lot of repeated code with random constants.
Particular values are not important, the one just needs to be
bigger then another.

UR_NONTAKEN_WEIGHT is selected as it's the most common one.


  Commit: bd1758e0bc1a429ca85619d296cdc9300d373f4f
      https://github.com/llvm/llvm-project/commit/bd1758e0bc1a429ca85619d296cdc9300d373f4f
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/LambdaFunctionNameCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/lambda-function-name.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/cuf03.cuf
    M lldb/test/API/lang/cpp/constructors/TestCppConstructors.py
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/lib/Target/RISCV/RISCVProcessors.td
    M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.v2f16.ll
    M llvm/test/CodeGen/AMDGPU/flat_atomics_i32_system.ll
    M llvm/test/CodeGen/AMDGPU/flat_atomics_i64_system.ll
    M llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_i32_system.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_i64_system.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fadd.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll
    M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll
    M llvm/test/CodeGen/AMDGPU/local-atomics-fp.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-system.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-system.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i32-system.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i64-system.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-system.ll
    A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-system.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-integer-ops-0-to-add-0.ll
    M llvm/test/Transforms/InferAddressSpaces/AMDGPU/basic.ll
    A llvm/test/Transforms/Inline/AMDGPU/inline-atomicrmw-md-preserve.ll
    M llvm/utils/TableGen/RISCVTargetDefEmitter.cpp

  Log Message:
  -----------
  rebase

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/ba20e37d7d13...bd1758e0bc1a

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list