[all-commits] [llvm/llvm-project] df0e9f: [CIR] Implement __builtin_return_address and __bui...
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Fri Aug 15 17:19:49 PDT 2025
Branch: refs/heads/users/rampitec/08-15-_amdgpu_use_encodefieldvavdst_in_hazard_recognizer._nfci
Home: https://github.com/llvm/llvm-project
Commit: df0e9f3a2d6e858a2552f453655beae58660b007
https://github.com/llvm/llvm-project/commit/df0e9f3a2d6e858a2552f453655beae58660b007
Author: Morris Hafner <mmha at users.noreply.github.com>
Date: 2025-08-16 (Sat, 16 Aug 2025)
Changed paths:
M clang/include/clang/CIR/Dialect/IR/CIROps.td
M clang/lib/CIR/CodeGen/CIRGenBuilder.h
M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
M clang/lib/CIR/CodeGen/CIRGenConstantEmitter.h
M clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
M clang/test/CIR/CodeGen/builtins.cpp
Log Message:
-----------
[CIR] Implement __builtin_return_address and __builtin_frame_address (#153698)
This adds ReturnAddrOp and FrameAddrOp that represent
__builtin_return_address and __builtin_frame_address and the respective
lowering to LLVM parts.
---------
Co-authored-by: Andy Kaylor <akaylor at nvidia.com>
Commit: 9c4e571ae83d86aa81c556d62400c61b3f53c805
https://github.com/llvm/llvm-project/commit/9c4e571ae83d86aa81c556d62400c61b3f53c805
Author: Chao Chen <chao.chen at intel.com>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
M mlir/lib/Dialect/XeGPU/IR/CMakeLists.txt
M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
M mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
M mlir/test/Dialect/XeGPU/invalid.mlir
M mlir/test/Dialect/XeGPU/ops.mlir
Log Message:
-----------
[mlir][xegpu] Add definitions of MemDescType and related ops. (#153273)
Commit: acdbb00af5d0b6469fceb8abb26634de2dbee985
https://github.com/llvm/llvm-project/commit/acdbb00af5d0b6469fceb8abb26634de2dbee985
Author: Jean-Didier PAILLEUX <jean-didier.pailleux at sipearl.com>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Flang.cpp
A flang/include/flang/Optimizer/Builder/Runtime/Coarray.h
M flang/include/flang/Optimizer/Builder/Runtime/Main.h
M flang/include/flang/Support/Fortran-features.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Builder/CMakeLists.txt
A flang/lib/Optimizer/Builder/Runtime/Coarray.cpp
M flang/lib/Optimizer/Builder/Runtime/Main.cpp
M flang/lib/Support/Fortran-features.cpp
A flang/test/Lower/Coarray/coarray-init.f90
Log Message:
-----------
[flang] Adding support of -fcoarray flang and init PRIF (#151675)
In relation to the approval and merge of the
[PRIF](https://github.com/llvm/llvm-project/pull/76088) specification
about multi-image features in Flang, here is a first PR to add support
for the `-fcoarray` compilation flag and the initialization of the PRIF
environment.
Other PRs will follow for adding support of lowering to PRIF.
Commit: 4f34c740ab7313085d49a10c90128b6a47bc4eee
https://github.com/llvm/llvm-project/commit/4f34c740ab7313085d49a10c90128b6a47bc4eee
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/test/CodeGen/AMDGPU/hazards-gfx1250.mir
Log Message:
-----------
[AMDGPU] w/a for s_setreg_b32 gfx1250 hazard with MODE register (#153879)
Commit: be0135538a934f108a6fb70f93ec587be3016033
https://github.com/llvm/llvm-project/commit/be0135538a934f108a6fb70f93ec587be3016033
Author: Chris B <chris.bieneman at me.com>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M llvm/include/llvm/Object/DXContainer.h
A llvm/test/tools/llvm-objdump/DXContainer/input-output-signatures.yaml
M llvm/tools/llvm-objdump/DXContainerDump.cpp
Log Message:
-----------
[DirectX][objdump] Add support for printing signatures (#153320)
This adds support for printing the signature sections as part of the
`-p` flag for printing private headers.
The formatting aims to roughly match the formatting used by DXC's
`/dumpbin` flag.
The original version's printed output left some trailing whitespace on
lines, which caused the tests to fail with the strict whitespace
matching.
Re-lands #152531.
Resolves #152380.
Commit: 568c23bbd3303518c5056d7f03444dae4fdc8a9c
https://github.com/llvm/llvm-project/commit/568c23bbd3303518c5056d7f03444dae4fdc8a9c
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M clang/lib/Frontend/InitPreprocessor.cpp
A clang/test/Preprocessor/sanitizer-predefines.c
Log Message:
-----------
Frontend: Define __SANITIZE_*__ macros for certain sanitizers.
Per discussion with @ojhunt and @AaronBallman we are moving towards
predefined macros and away from __has_feature and __has_extension
for detecting sanitizers and other similar features. The rationale
is that __has_feature is only really meant for standardized features
(see the comment at the top of clang/include/clang/Basic/Features.def),
and __has_extension has the issues discovered as part of #153104.
Let's start by defining macros for ASan, HWASan and TSan, consistently
with gcc.
Reviewers: vitalybuka, ojhunt, AaronBallman, fmayer
Reviewed By: fmayer, vitalybuka
Pull Request: https://github.com/llvm/llvm-project/pull/153888
Commit: 4485a3f968eab26e08b1fdb4be9285305c716db3
https://github.com/llvm/llvm-project/commit/4485a3f968eab26e08b1fdb4be9285305c716db3
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M compiler-rt/test/msan/dtls_test.c
Log Message:
-----------
Switch dtls_test.c from XFAIL to UNSUPPORTED on aarch64.
It passes on some buildbots, so we can't expect failure.
Commit: 2b75ff192d03033c136f7641bb93ea52fec54c14
https://github.com/llvm/llvm-project/commit/2b75ff192d03033c136f7641bb93ea52fec54c14
Author: Thurston Dang <thurston at google.com>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M compiler-rt/lib/msan/tests/msan_test.cpp
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/Instrumentation/MemorySanitizer/X86/avx2-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/mmx-intrinsics.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/sse2-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/i386/avx2-intrinsics-i386.ll
M llvm/test/Instrumentation/MemorySanitizer/i386/mmx-intrinsics.ll
M llvm/test/Instrumentation/MemorySanitizer/i386/sse2-intrinsics-i386.ll
M llvm/test/Instrumentation/MemorySanitizer/vector_arith.ll
Log Message:
-----------
[msan] Reland with even more improvement: Improve packed multiply-add instrumentation (#153353)
This reverts commit cf002847a464c004a57ca4777251b1aafc33d958 i.e.,
relands ba603b5e4d44f1a25207a2a00196471d2ba93424. It was reverted
because it was subtly wrong: multiplying an uninitialized zero should
not result in an initialized zero.
This reland fixes the issue by using instrumentation analogous to
visitAnd (bitwise AND of an initialized zero and an uninitialized value
results in an initialized value). Additionally, this reland expands a
test case; fixes the commit message; and optimizes the change to avoid
the need for horizontalReduce.
The current instrumentation has false positives: it does not take into
account that multiplying an initialized zero value with an uninitialized
value results in an initialized zero value This change fixes the issue
during the multiplication step. The horizontal add step is modeled using
bitwise OR.
Future work can apply this improved handler to the AVX512 equivalent
intrinsics (x86_avx512_pmaddw_d_512, x86_avx512_pmaddubs_w_512.) and AVX
VNNI intrinsics.
Commit: e68989b93036c3ff4efe785b07ba27662356f6cc
https://github.com/llvm/llvm-project/commit/e68989b93036c3ff4efe785b07ba27662356f6cc
Author: Chenguang Wang <w3cing at gmail.com>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Fix //mlir:XeGPUDialect compilation. (#153904)
Broken by https://github.com/llvm/llvm-project/pull/153273.
Commit: f396657bf94fab0216715036f4ef9a58d940521a
https://github.com/llvm/llvm-project/commit/f396657bf94fab0216715036f4ef9a58d940521a
Author: gulfemsavrun <gulfem at google.com>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M llvm/cmake/modules/HandleLLVMStdlib.cmake
M llvm/cmake/modules/LLVMConfig.cmake.in
Log Message:
-----------
Revert "Remember LLVM_ENABLE_LIBCXX setting in installed configuration" (#153898)
Reverts llvm/llvm-project#139712
Caused an lld relocation issue as shown below:
https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket/8706642902273983073/+/u/clang/build/stdout
Commit: 99e690bc755d233f8e3fffd9181bdfa9bebb3de7
https://github.com/llvm/llvm-project/commit/99e690bc755d233f8e3fffd9181bdfa9bebb3de7
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M lldb/include/lldb/Target/StackFrame.h
Log Message:
-----------
[lldb][nfc] Update docstring of StackFrame "get variable" methods. (#153728)
This commits makes the docs more precise, clarifying how scopes affect
the result of a method, as well as documenting a parameter of a
different method.
Commit: e67ec12640e7cff396932c2bc1401504bba38085
https://github.com/llvm/llvm-project/commit/e67ec12640e7cff396932c2bc1401504bba38085
Author: Craig Topper <craig.topper at sifive.com>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M clang/test/Driver/print-supported-extensions-riscv.c
M llvm/docs/ReleaseNotes.md
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/features-info.ll
M llvm/test/MC/RISCV/smctr-ssctr-valid.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Remove experimental from Smctr and Ssctr. (#153903)
These extensions were ratified in November 2024.
Commit: b7ec10ca6c2a1d4825ce2e4058050c852c1b90c1
https://github.com/llvm/llvm-project/commit/b7ec10ca6c2a1d4825ce2e4058050c852c1b90c1
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
Log Message:
-----------
[AMDGPU] Update GCNHazardRecognizer's understanding of gfx12 waitcount instructions (#153880)
This simply updates the pass's cognizance of these instructions, and for
the
most part the hazards where they might be encountered do not exist for
gfx12.
Nonetheless, encountering them has to be checked for as doing so would
indicate
a compiler error.
Co-authored-by: Stephen Thomas <Stephen.Thomas at amd.com>
---------
Co-authored-by: Stephen Thomas <Stephen.Thomas at amd.com>
Commit: 06411124300d1d7bb1df9726a4e544ffa92ae3ca
https://github.com/llvm/llvm-project/commit/06411124300d1d7bb1df9726a4e544ffa92ae3ca
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M clang/include/clang/CIR/Dialect/IR/CIROps.td
M clang/include/clang/Driver/Options.td
M clang/lib/CIR/CodeGen/CIRGenBuilder.h
M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
M clang/lib/CIR/CodeGen/CIRGenConstantEmitter.h
M clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/test/CIR/CodeGen/builtins.cpp
M clang/test/Driver/print-supported-extensions-riscv.c
A clang/test/Preprocessor/sanitizer-predefines.c
M compiler-rt/lib/msan/tests/msan_test.cpp
M compiler-rt/test/msan/dtls_test.c
A flang/include/flang/Optimizer/Builder/Runtime/Coarray.h
M flang/include/flang/Optimizer/Builder/Runtime/Main.h
M flang/include/flang/Support/Fortran-features.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Builder/CMakeLists.txt
A flang/lib/Optimizer/Builder/Runtime/Coarray.cpp
M flang/lib/Optimizer/Builder/Runtime/Main.cpp
M flang/lib/Support/Fortran-features.cpp
A flang/test/Lower/Coarray/coarray-init.f90
M lldb/include/lldb/Target/StackFrame.h
M llvm/cmake/modules/HandleLLVMStdlib.cmake
M llvm/cmake/modules/LLVMConfig.cmake.in
M llvm/docs/ReleaseNotes.md
M llvm/include/llvm/Object/DXContainer.h
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/features-info.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/avx2-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/mmx-intrinsics.ll
M llvm/test/Instrumentation/MemorySanitizer/X86/sse2-intrinsics-x86.ll
M llvm/test/Instrumentation/MemorySanitizer/i386/avx2-intrinsics-i386.ll
M llvm/test/Instrumentation/MemorySanitizer/i386/mmx-intrinsics.ll
M llvm/test/Instrumentation/MemorySanitizer/i386/sse2-intrinsics-i386.ll
M llvm/test/Instrumentation/MemorySanitizer/vector_arith.ll
M llvm/test/MC/RISCV/smctr-ssctr-valid.s
A llvm/test/tools/llvm-objdump/DXContainer/input-output-signatures.yaml
M llvm/tools/llvm-objdump/DXContainerDump.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
M mlir/lib/Dialect/XeGPU/IR/CMakeLists.txt
M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
M mlir/lib/Dialect/XeGPU/Transforms/XeGPUWgToSgDistribute.cpp
M mlir/test/Dialect/XeGPU/invalid.mlir
M mlir/test/Dialect/XeGPU/ops.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Merge branch 'main' into users/rampitec/08-15-_amdgpu_use_encodefieldvavdst_in_hazard_recognizer._nfci
Compare: https://github.com/llvm/llvm-project/compare/4ee7e8bf3a0c...06411124300d
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