[all-commits] [llvm/llvm-project] c08f80: [X86] select.ll - add ADD/SUB identity select test...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Fri Sep 6 13:42:41 PDT 2024
Branch: refs/heads/users/alexey-bataev/spr/slpinitial-support-for-non-power-of-2-but-still-whole-register-number-of-elements-in-operands-1
Home: https://github.com/llvm/llvm-project
Commit: c08f80e348ed84e4372d4a8687dfcaaa2df813aa
https://github.com/llvm/llvm-project/commit/c08f80e348ed84e4372d4a8687dfcaaa2df813aa
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M llvm/test/CodeGen/X86/select.ll
Log Message:
-----------
[X86] select.ll - add ADD/SUB identity select test cases
LowerSELECTWithCmpZero already handles "SELECT (X != 0), Y, (OR/XOR Y, Z) -> (OR/XOR Y, (AND (0 - X), Z))" - we can also handle ADD/SUB in a similar way, although SUB is more restricted as its not commutative.
Commit: fd13cc03bdc9696bcab98ddb9b177ed89650ca30
https://github.com/llvm/llvm-project/commit/fd13cc03bdc9696bcab98ddb9b177ed89650ca30
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVCallingConv.cpp
Log Message:
-----------
[RISCV] Use Subtarget variable instaed of TLI.getSubtarget(). NFC
Commit: a291fe5ed44fa37493d038c78ff4d73135fd85a9
https://github.com/llvm/llvm-project/commit/a291fe5ed44fa37493d038c78ff4d73135fd85a9
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M clang/test/CodeGenOpenCL/atomics-cas-remarks-gfx90a.cl
M clang/test/CodeGenOpenCL/atomics-unsafe-hw-remarks-gfx90a.cl
Log Message:
-----------
clang/AMDGPU: Update test message order
Order of atomic expansion remarks is backwards since
100d9b89947bb1d42af20010bb594fa4c02542fc
Commit: 0ffa377c6b2583ecb326af8b9084951a106d3881
https://github.com/llvm/llvm-project/commit/0ffa377c6b2583ecb326af8b9084951a106d3881
Author: Kazu Hirata <kazu at google.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
Log Message:
-----------
[ThinLTO] Shrink GlobalValueSummary by 8 bytes (#107342)
During the ThinLTO indexing step for one of our large applications, we
create 7.5 million instances of GlobalValueSummary.
Changing:
std::vector<ValueInfo> RefEdgeList;
to:
SmallVector<ValueInfo, 0> RefEdgeList;
in GlobalValueSummary reduces the size of each instance by 8 bytes.
The rest of the patch makes the same change to other places so that
the types stay compatible across function boundaries.
Commit: 2e9b3316ee8b4339e2f023173db780ea09c44a88
https://github.com/llvm/llvm-project/commit/2e9b3316ee8b4339e2f023173db780ea09c44a88
Author: Chris Apple <cja-private at pm.me>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M compiler-rt/lib/rtsan/CMakeLists.txt
M compiler-rt/lib/rtsan/rtsan.cpp
M compiler-rt/lib/rtsan/rtsan_context.cpp
A compiler-rt/lib/rtsan/rtsan_flags.cpp
A compiler-rt/lib/rtsan/rtsan_flags.h
A compiler-rt/lib/rtsan/rtsan_flags.inc
M compiler-rt/lib/rtsan/rtsan_stack.cpp
M compiler-rt/lib/rtsan/tests/rtsan_test_context.cpp
A compiler-rt/test/rtsan/unrecognized_flags.cpp
M llvm/test/Unit/lit.cfg.py
M llvm/utils/lit/lit/TestingConfig.py
M llvm/utils/lit/lit/llvm/config.py
Log Message:
-----------
[compiler-rt][rtsan] Introduce RTSAN_OPTIONS and flags (#107174)
This matches much of the boilerplate found in the other sanitizers.
Commit: df138625df5881c7e593db13fa13cf39d68856cf
https://github.com/llvm/llvm-project/commit/df138625df5881c7e593db13fa13cf39d68856cf
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
Log Message:
-----------
AMDGPU: Remove unnecessary pointer bitcast
Commit: a6577791d4ed8ca7f548598fb179c473d275178b
https://github.com/llvm/llvm-project/commit/a6577791d4ed8ca7f548598fb179c473d275178b
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
LV: fix style after cursory reading (NFC) (#105830)
Commit: fb1494137e551448d8742d5e6367bf62e923598d
https://github.com/llvm/llvm-project/commit/fb1494137e551448d8742d5e6367bf62e923598d
Author: Chris Apple <cja-private at pm.me>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M clang/include/clang/Basic/Features.def
A clang/test/Lexer/has_feature_realtime_sanitizer.cpp
Log Message:
-----------
[clang][rtsan] Add realtime_sanitizer to Features.def (#106650)
Allows us to introduce the scoped disabler in #106736
Commit: 59f8796aaabc1ce400a8698431d3c6bfab4ad1a4
https://github.com/llvm/llvm-project/commit/59f8796aaabc1ce400a8698431d3c6bfab4ad1a4
Author: Thomas Fransham <tfransham at gmail.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M llvm/CMakeLists.txt
M llvm/cmake/modules/AddLLVM.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/include/llvm/ADT/Any.h
M llvm/include/llvm/Analysis/LazyCallGraph.h
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/include/llvm/Analysis/LoopNestAnalysis.h
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/include/llvm/IR/Function.h
M llvm/include/llvm/IR/Module.h
M llvm/include/llvm/Support/Compiler.h
M llvm/tools/llvm-shlib/CMakeLists.txt
M llvm/utils/TableGen/Basic/CMakeLists.txt
M llvm/utils/TableGen/Common/CMakeLists.txt
Log Message:
-----------
Initial changes for llvm shared library build using explicit visibility annotations
These are my initial build and code changes to supporting building llvm
as shared library/DLL on windows(without force exporting all symbols)
and making symbol visibility hidden by default on Linux which adding
explicit symbol visibility macros to the whole llvm codebase.
Updated cmake code to allow building llvm-shlib on windows by appending
/WHOLEARCHIVE:lib to the linker options.
Remove the hardcoded CMake error from using LLVM_BUILD_LLVM_DYLIB on
windows.
Updated CMake to define new macros to control conditional export macros
in llvm/Support/Compiler.h
Use /Zc:dllexportInlines- when compiling with clang-cl on windows with a
opt out CMake option to disable using it.
Replace some use of LLVM_EXTERNAL_VISIBILITY with new export macros.
Some of the cmake and code changes are based on @tstellar's earlier PR
https://github.com/llvm/llvm-project/pull/67502.
I have Windows building using clang-cl, while for MSVC its at-least able
to build libllvm, but some tests can't build because llvm iterator
template metaprogramming that doesn't work well with dllexport. Linux
should build without issue. My full branch is here
https://github.com/fsfod/llvm-project/tree/llvm-export-api-20.0 and
including all the auto generated export macros from clang tooling based
system.
Commit: c014db47ca298ad7a0f52a57c3bfc2a9914371b2
https://github.com/llvm/llvm-project/commit/c014db47ca298ad7a0f52a57c3bfc2a9914371b2
Author: Kazu Hirata <kazu at google.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M llvm/include/llvm/ADT/DenseMap.h
Log Message:
-----------
[ADT] Remove the const variant of LookupBucketFor in DenseMap (#107608)
DenseMap has const and non-const variants of LookupBucketFor to find a
bucket for insertion purposes. Now that queries (e.g. find, contains,
and erase) have been migrated to use doFind instead of
LookupBucketFor, nobody uses the const variant of LookupBucketFor.
This patch removes the const variant.
As far as the logistics go, the non-const variant calls the const
variant with a couple of const_cast, so this patch repurposes the
const variant as the non-const one while removing the original
non-const variant.
Commit: fd2da9e5818ec6e53100f92c9eb6ed4f1b0b99eb
https://github.com/llvm/llvm-project/commit/fd2da9e5818ec6e53100f92c9eb6ed4f1b0b99eb
Author: vporpo <vporpodas at google.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] Implement PoisonValue (#107324)
This patch implements sandboxir::PoisonValue mirroring
llvm::PoisonValue.
Commit: 4c1a6a29cce08cd6229a0c5a8b18a8319588d858
https://github.com/llvm/llvm-project/commit/4c1a6a29cce08cd6229a0c5a8b18a8319588d858
Author: Tarun Prabhu <tarun at lanl.gov>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
A flang/test/Driver/q-unused-arguments.f90
Log Message:
-----------
[flang][Driver] Support -Qunused-arguments (#107462)
This partially addresses:
https://github.com/llvm/llvm-project/issues/89888
Commit: 0745219d4a8fc26fe149d851be285f78568afa70
https://github.com/llvm/llvm-project/commit/0745219d4a8fc26fe149d851be285f78568afa70
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-param-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12.cl
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SMInstructions.td
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.buffer.prefetch.data.ll
Log Message:
-----------
[AMDGPU] Add target intrinsic for s_buffer_prefetch_data (#107293)
Commit: 5d146c689e28e2878ba5a1aab9560e3c4fa2c2e1
https://github.com/llvm/llvm-project/commit/5d146c689e28e2878ba5a1aab9560e3c4fa2c2e1
Author: Chris Apple <cja-private at pm.me>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M compiler-rt/include/CMakeLists.txt
A compiler-rt/include/sanitizer/rtsan_interface.h
M compiler-rt/lib/rtsan/rtsan.h
A compiler-rt/test/rtsan/disabler.cpp
Log Message:
-----------
[compiler-rt][rtsan] Introduce rtsan_interface.h and ScopedDisabler (#106736)
Commit: 7f77db4ffca9b275b40e8720208a03dd6cbc390e
https://github.com/llvm/llvm-project/commit/7f77db4ffca9b275b40e8720208a03dd6cbc390e
Author: Nico Weber <thakis at chromium.org>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/include/BUILD.gn
Log Message:
-----------
[gn] port 5d146c689e28
Commit: d60ca0c913f7521ee05da08a8a0c9dda1c439c88
https://github.com/llvm/llvm-project/commit/d60ca0c913f7521ee05da08a8a0c9dda1c439c88
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M compiler-rt/lib/builtins/divsc3.c
M compiler-rt/lib/builtins/fp_lib.h
M compiler-rt/test/builtins/Unit/divsc3_test.c
Log Message:
-----------
[compiler-rt][builtins]Adjust complex division for aarch64 (#106664)
Adjust __divsc3 to ensure consistent behavior across x86_64 and AArch64 when the divisor should be treated as infinity if one of its components is a NaN (including signaling NaNs).
Test plan: ninja check-all
Commit: 1a6df6756d3530e4de70bb8afa2acc1ddfb22867
https://github.com/llvm/llvm-project/commit/1a6df6756d3530e4de70bb8afa2acc1ddfb22867
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Target/BUILD.gn
Log Message:
-----------
[gn build] Port d4d4e7791811
Commit: f6196e7f9edcca9f178fbe5baa67da2bd94190f8
https://github.com/llvm/llvm-project/commit/f6196e7f9edcca9f178fbe5baa67da2bd94190f8
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port f8350f13020a
Commit: de88d7db7b77141297fbb5638ee1e18d1fba53b8
https://github.com/llvm/llvm-project/commit/de88d7db7b77141297fbb5638ee1e18d1fba53b8
Author: ziqingluo-90 <ziqing_luo at apple.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M clang/lib/Analysis/UnsafeBufferUsage.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-libc-functions.cpp
Log Message:
-----------
[-Wunsafe-buffer-usage] Fix a bug in "warning libc functions (#101583)"
The commit d7dd2c468fecae871ba67e891a3519c758c94b63 crashes for such
an example:
```
void printf() { printf(); }
```
Because it assumes `printf` must have arguments. This commit fixes
this issue.
(rdar://117182250)
Commit: b8b1527513893803b9466f2b856b27ab58c39e33
https://github.com/llvm/llvm-project/commit/b8b1527513893803b9466f2b856b27ab58c39e33
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/include/clang/Basic/Features.def
M clang/include/clang/Driver/Options.td
M clang/lib/Analysis/UnsafeBufferUsage.cpp
M clang/test/CodeGenOpenCL/atomics-cas-remarks-gfx90a.cl
M clang/test/CodeGenOpenCL/atomics-unsafe-hw-remarks-gfx90a.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-param-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12.cl
A clang/test/Lexer/has_feature_realtime_sanitizer.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-libc-functions.cpp
M compiler-rt/include/CMakeLists.txt
A compiler-rt/include/sanitizer/rtsan_interface.h
M compiler-rt/lib/builtins/divsc3.c
M compiler-rt/lib/builtins/fp_lib.h
M compiler-rt/lib/rtsan/CMakeLists.txt
M compiler-rt/lib/rtsan/rtsan.cpp
M compiler-rt/lib/rtsan/rtsan.h
M compiler-rt/lib/rtsan/rtsan_context.cpp
A compiler-rt/lib/rtsan/rtsan_flags.cpp
A compiler-rt/lib/rtsan/rtsan_flags.h
A compiler-rt/lib/rtsan/rtsan_flags.inc
M compiler-rt/lib/rtsan/rtsan_stack.cpp
M compiler-rt/lib/rtsan/tests/rtsan_test_context.cpp
M compiler-rt/test/builtins/Unit/divsc3_test.c
A compiler-rt/test/rtsan/disabler.cpp
A compiler-rt/test/rtsan/unrecognized_flags.cpp
A flang/test/Driver/q-unused-arguments.f90
M llvm/CMakeLists.txt
M llvm/cmake/modules/AddLLVM.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/include/llvm/ADT/Any.h
M llvm/include/llvm/ADT/DenseMap.h
M llvm/include/llvm/Analysis/LazyCallGraph.h
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/include/llvm/Analysis/LoopNestAnalysis.h
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/include/llvm/IR/Function.h
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/include/llvm/IR/Module.h
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/include/llvm/Support/Compiler.h
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SMInstructions.td
M llvm/lib/Target/RISCV/RISCVCallingConv.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.buffer.prefetch.data.ll
M llvm/test/CodeGen/X86/select.ll
M llvm/test/Unit/lit.cfg.py
M llvm/tools/llvm-shlib/CMakeLists.txt
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/utils/TableGen/Basic/CMakeLists.txt
M llvm/utils/TableGen/Common/CMakeLists.txt
M llvm/utils/gn/secondary/compiler-rt/include/BUILD.gn
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
M llvm/utils/gn/secondary/lldb/source/Target/BUILD.gn
M llvm/utils/lit/lit/TestingConfig.py
M llvm/utils/lit/lit/llvm/config.py
Log Message:
-----------
Rebase, address comments
Created using spr 1.3.5
Compare: https://github.com/llvm/llvm-project/compare/0a78a26ea7bf...b8b152751389
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