[all-commits] [llvm/llvm-project] 319e11: Revert: [clangd] Replace an include with a forward...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Mon Jul 1 06:38:11 PDT 2024
Branch: refs/heads/users/kparzysz/spr/c02-is-capturing
Home: https://github.com/llvm/llvm-project
Commit: 319e11daee807981db61dad3da90d9bf36317e03
https://github.com/llvm/llvm-project/commit/319e11daee807981db61dad3da90d9bf36317e03
Author: Gheorghe-Teodor Bercea <doru.bercea at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/index/remote/Client.h
Log Message:
-----------
Revert: [clangd] Replace an include with a forward declaration (#97082)
Reverting due to failures on several buildbots.
Commit: 808e0f1c4666eb2de13d816dbf597801a42e5f19
https://github.com/llvm/llvm-project/commit/808e0f1c4666eb2de13d816dbf597801a42e5f19
Author: Michael Jones <michaelrj at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
R libc/config/linux/platform_defs.h.inc
R libc/config/linux/signal.h.in
R libc/config/linux/syscall_numbers.h.inc
M libc/include/CMakeLists.txt
M libc/include/sys/syscall.h.def
Log Message:
-----------
[libc] remove include_file headergen usage (#96970)
Previously headergen had a mechanism to copy the contents of one file
inot another. This wasn't ever used properly, and isn't supported by the
new headergen design. We will investigate better ways to support
different syscall definitions in future.
Commit: 2c8b912f630f9ec647a4870b9c5ee922c2ec1298
https://github.com/llvm/llvm-project/commit/2c8b912f630f9ec647a4870b9c5ee922c2ec1298
Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenPGO.cpp
M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M offload/DeviceRTL/CMakeLists.txt
R offload/DeviceRTL/include/Profiling.h
R offload/DeviceRTL/src/Profiling.cpp
M offload/plugins-nextgen/common/include/GlobalHandler.h
M offload/plugins-nextgen/common/src/GlobalHandler.cpp
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/test/CMakeLists.txt
M offload/test/lit.cfg
M offload/test/lit.site.cfg.in
R offload/test/offloading/pgo1.c
Log Message:
-----------
Revert "[PGO][OpenMP] Instrumentation for GPU devices (#76587)"
This reverts commit 5fd2af38e461445c583d7ffc2fe23858966eee76. It caused build issues and broke the buildbot.
Commit: 6ba764a54e2ce359117bf9a9d615e06dc3da6144
https://github.com/llvm/llvm-project/commit/6ba764a54e2ce359117bf9a9d615e06dc3da6144
Author: Julian Brown <jtb20 at cantab.net>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/include/clang/AST/Expr.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/StmtOpenMP.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[OpenMP] [NFC] SemaOpenMP.cpp and StmtOpenMP.cpp spelling fixes (#96814)
This patch just fixes a few spelling mistakes in the above two files. (I
changed one British spelling to American -- analyse to analyze --
because the latter spelling is used elsewhere in file, and it's probably
best to be consistent.)
Commit: 3d11b3d750b735a149ab47b6ad8b8f98929c36a5
https://github.com/llvm/llvm-project/commit/3d11b3d750b735a149ab47b6ad8b8f98929c36a5
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll
Log Message:
-----------
[ConstraintElim] Add test for mis-compile due to #94610.
Additional test coverage for a miscompile in earlier versions of
https://github.com/llvm/llvm-project/pull/94610.
Commit: 370555c02c81fb3ab2f41f608d26aa85b8ca1ec5
https://github.com/llvm/llvm-project/commit/370555c02c81fb3ab2f41f608d26aa85b8ca1ec5
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/MCA/InstrBuilder.h
M llvm/lib/MCA/InstrBuilder.cpp
M llvm/unittests/tools/llvm-mca/X86/TestIncrementalMCA.cpp
Log Message:
-----------
[MCA] Parameterize variant scheduling classes by hash (#92849)
This patch looks up variant scheduling classes using a hash of the
instruction. Keying by the pointer breaks certain use cases that might
occur out of tree, like decoding an execution trace instruction by
instruction and creating MCA instructions as one goes along, like in the
MCAD case. In this case, the MCInst will always have the same address
and thus all instructions with the same variant scheduling class will
end up with the same instruction description, leading to undesired
behavior (assertions, uses after free, invalid results, etc.).
Commit: c6e264952e94a7705d902ebda4d1a77256ee9926
https://github.com/llvm/llvm-project/commit/c6e264952e94a7705d902ebda4d1a77256ee9926
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
Log Message:
-----------
[llvm-exegesis] Fix -Wdangling-else gcc warning. NFC.
Commit: dac366111e5560c117a06330efee14a2052d3a46
https://github.com/llvm/llvm-project/commit/dac366111e5560c117a06330efee14a2052d3a46
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaLambda.cpp
Log Message:
-----------
[Sema] LambdaScopeForCallOperatorInstantiationRAII - fix typo in early out logic (#96888)
We should be checking for a failed dyn_cast on the ParentFD result - not the loop invariant FD root value.
Seems to have been introduced in #65193
Noticed by static analyser (I have no specific test case).
Commit: cf311a1131b9aef3e66b2a20ad49cfc77212754b
https://github.com/llvm/llvm-project/commit/cf311a1131b9aef3e66b2a20ad49cfc77212754b
Author: Mogball <jeff at modular.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
M llvm/test/DebugInfo/NVPTX/cu-range-hole.ll
Log Message:
-----------
[NVPTX] Fix DWARF section printing
There was a lot of changes to MC recently, so I'm no longer sure what is
the root cause here, but the NVPTX DWARF printing was printing an
extra closing brace, causing the PTX to be invalid. This should fix it
by only printing the closing brace when the printer has already seen an
opening brace for a DWARF section.
Commit: 592abf29f9f7f73e6be28bef4574172125e4ab3f
https://github.com/llvm/llvm-project/commit/592abf29f9f7f73e6be28bef4574172125e4ab3f
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/Driver/Driver.cpp
Log Message:
-----------
[Driver] BuildOffloadingActions: Actually stabilize iteration order
In
```
/tmp/StaticDebug/bin/clang -ccc-print-phases -lsomelib -fopenmp=libomp --target=powerpc64-ibm-linux-gnu -fopenmp-targets=x86_64-pc-linux-gnu,powerpc64-ibm-linux-gnu clang/test/Driver/openmp-offload.c clang/test/Driver/openmp-offload.c
```
Both ToolChains have one single empty arch. llvm::sort in
LLVM_ENABLE_EXPENSIVE_CHECKS=on builds could swap the two entries.
Fixes: 255986e27fcf9f0b36f7a23fbe030fcca1ba0249
Commit: d74fa1fb39aaca41bd7f8b025d5b77b850167109
https://github.com/llvm/llvm-project/commit/d74fa1fb39aaca41bd7f8b025d5b77b850167109
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/atomicrmw.ll
Log Message:
-----------
InstCombine: Add tests that atomicrmw canonicalizations preserve MD (#97059)
This is basically all the existing test functions copied, with additional
sample metadata. It's a bit noisy and lazy, maybe it would be better to just
add metadata to the existing cases?
Commit: 084d943663488084c7160b716cad0dc12d4ca115
https://github.com/llvm/llvm-project/commit/084d943663488084c7160b716cad0dc12d4ca115
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M flang/runtime/pointer.cpp
Log Message:
-----------
[flang] Fix excess allocation (#96663)
A recent patch introduced an error in an aligned byte size calculation
that causes an extra word to be allocated when the original byte size is
already aligned (including the case of zero). Fix.
Commit: 72c801f843d95546d92e2b15fe832503ba3bfab6
https://github.com/llvm/llvm-project/commit/72c801f843d95546d92e2b15fe832503ba3bfab6
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/boz-literal-constants.f90
Log Message:
-----------
[flang] Handle BOZ as right-hand side of assignment (#96672)
F'2023 allows BOZ to appear in more contexts, including the common
extension of the right-hand side of an assignment to an INTEGER or REAL
variable. Implement that one case now.
Commit: 6cb45aea92dc87974a0064c182600228c6e94329
https://github.com/llvm/llvm-project/commit/6cb45aea92dc87974a0064c182600228c6e94329
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/include/lldb/Utility/StreamString.h
M lldb/source/Interpreter/ScriptInterpreter.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
M lldb/source/Target/ThreadPlanPython.cpp
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
Log Message:
-----------
Reland "[lldb/Interpreter] Discard ScriptedThreadPlan::GetStopDescription return value (#96985)" (#97092)
This reverts commit a2e3af5d581547d3ea53e5383d6f7f1cab45120a and solves
the build error in
https://lab.llvm.org/buildbot/#/builders/141/builds/369.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: a4c18137d84bc48df49ee0101bef465a955e62ac
https://github.com/llvm/llvm-project/commit/a4c18137d84bc48df49ee0101bef465a955e62ac
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py
M lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py
M lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py
M lldb/test/API/functionalities/completion/TestCompletion.py
M lldb/test/API/functionalities/gdb_remote_client/TestIOSSimulator.py
M lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
M lldb/test/API/lang/cpp/diamond/TestCppDiamond.py
M lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py
M lldb/test/API/lang/rust/enum-structs/TestRustEnumStructs.py
M lldb/test/API/test_utils/TestDecorators.py
Log Message:
-----------
[lldb][test] Remove duplicate testcase names in API test-suite (#97043)
In one of my recent PRs I mistakenly had two test-cases with the same
name, preventing one of them to run. Since it's an easy mistake to make
(e.g., copy pasting existing test-cases), I ran following sanity-check
script over `lldb/test/API`, which found couple of tests which were
losing coverage because of this (or in some cases simply had duplicate
tests):
```
import ast
import sys
filename = sys.argv[1]
print(f'Checking {filename}...')
tree = ast.parse(open(filename, 'r').read())
for node in ast.walk(tree):
if not isinstance(node, ast.ClassDef):
continue
func_names = []
for child in ast.iter_child_nodes(node):
if isinstance(child, ast.FunctionDef):
func_names.append(child.name)
seen_func_names = set()
duplicate_func_names = []
for name in func_names:
if name in seen_func_names:
duplicate_func_names.append(name)
else:
seen_func_names.add(name)
if len(duplicate_func_names) != 0:
print(f'Multiple func names found:\n\t{duplicate_func_names}\n\tclass {node.name}\n\tfile: {filename}')
```
This patch fixes these cases.
Commit: cddbcd15a0e6ef59e1cae0a68d000b0c5942ff43
https://github.com/llvm/llvm-project/commit/cddbcd15a0e6ef59e1cae0a68d000b0c5942ff43
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M flang/lib/Parser/prescan.cpp
A flang/test/Preprocessing/kw-in-char.F90
Log Message:
-----------
[flang][preprocessor] Expand some keyword macros in quoted character … (#96987)
…literals
To help port codes from compilers using pre-ANSI C preprocessors, which
didn't care much about context when replacing macros, support the
replacement of keyword macros in quoted character literals when (and
only when) the name of the keyword macro constitutes the entire
significant portion of a free form continuation line. See the new test
case for a motivating example.
Fixes https://github.com/llvm/llvm-project/issues/96781.
Commit: 259ce1199906554fba5c8d3b07b6ce14ee42d301
https://github.com/llvm/llvm-project/commit/259ce1199906554fba5c8d3b07b6ce14ee42d301
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/token-sequence.cpp
A flang/test/Preprocessing/sentinel-after-semi.F90
Log Message:
-----------
[flang] Accept a compiler directive sentinel after a semicolon (#96966)
Don't treat !DIR$ or an active !$ACC, !$OMP, &c. as a comment when they
appear after a semicolon, but instead treat them as a compiler directive
sentinel.
Commit: c44e9ff691a10cd900b93d9ff4e0ada355ca82d7
https://github.com/llvm/llvm-project/commit/c44e9ff691a10cd900b93d9ff4e0ada355ca82d7
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
Log Message:
-----------
[IndirectCallPromotion] Use ArrayRef consistently (NFC) (#96412)
Commit: 6b4a13a15aef64bf284612fcdbe07662b96a881b
https://github.com/llvm/llvm-project/commit/6b4a13a15aef64bf284612fcdbe07662b96a881b
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/test/Driver/aarch64-mac-cpus.c
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/include/llvm/MC/MCSubtargetInfo.h
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
M llvm/utils/TableGen/SubtargetEmitter.cpp
Log Message:
-----------
[llvm][AArch64][TableGen] Create a ProcessorAlias record (#96249)
... and use it to organize all of the AArch64 CPU aliases.
Commit: 2a4cbf8d2f49a3176800137aed7ea7f8f33a0b92
https://github.com/llvm/llvm-project/commit/2a4cbf8d2f49a3176800137aed7ea7f8f33a0b92
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/Analysis/Loads.h
M llvm/lib/Analysis/Loads.cpp
Log Message:
-----------
[Loads] Const correct the Size argument to isSafeToLoadUnconditionally. NFC (#96993)
The APInt is not modified so we should pass by const reference.
Commit: 4e2e4856b7aa2681bae67b0b7af65272561031e9
https://github.com/llvm/llvm-project/commit/4e2e4856b7aa2681bae67b0b7af65272561031e9
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/docs/RISCVUsage.rst
Log Message:
-----------
[RISCV] Update SiFive VCIX documentation link. NFC (#96986)
The previous version of the document did not prefix the intrinsic names
with `__riscv_`. That has been corrected now. We have always implemented
the intrinsics with the `__riscv_` prefix so now the documentation
matches our implementation.
The document is now labeled as 1.1, but I have not changed the extension
version in the compiler since it was only changing the intrinsic names.
Commit: 784152056ea40a800a8fd9f4157a428dfb7a6de8
https://github.com/llvm/llvm-project/commit/784152056ea40a800a8fd9f4157a428dfb7a6de8
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll
Log Message:
-----------
[SLP]Fix the cost of the adjusted extracts in per-register analysis.
Previous patch did not pass the list of the extract indices by
reference, so the compiler just ignored them. Pass indices by reference
and fix the per-register analysis.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/96808
Commit: 74852bfa4cfd3fcbc3b8846c7bc19cbb712107b7
https://github.com/llvm/llvm-project/commit/74852bfa4cfd3fcbc3b8846c7bc19cbb712107b7
Author: Izaak Schroeder <izaak.schroeder at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M libc/include/CMakeLists.txt
Log Message:
-----------
[libc]: fix missing `linux/error-number-macros.h` (#97101)
The headers installation previously missed platform-specific number
macros, and this fixes that. From discussion on LLVM discord with
`michaelrj` – ccing @michaelrj-google who hopefully is the same person 😅
N.B. I have tested this manually in my Linux Dockerfile and it appears
to do the right thing; I haven't done much more than that.
Commit: 4713bd4ccc0c0d568f92916e7851d993291742c0
https://github.com/llvm/llvm-project/commit/4713bd4ccc0c0d568f92916e7851d993291742c0
Author: Jinsong Ji <jinsong.ji at intel.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/test/CodeGen/target-data.c
Log Message:
-----------
[NFC] [clang][SPIR-V] Use AMDGPU prefix to avoid confusion (#96962)
Reusing prefix SPIRV64 while adding an useless(and wrong) line
AMDGPUSPIRV64 is confusing.
Update it by copying SPIRV64 line to AMDGPU line.
Commit: a9c12e481bfef5b2913e2241486f4dd450188cd2
https://github.com/llvm/llvm-project/commit/a9c12e481bfef5b2913e2241486f4dd450188cd2
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll
Log Message:
-----------
Revert "[SLP]Fix the cost of the adjusted extracts in per-register analysis."
This reverts commit 784152056ea40a800a8fd9f4157a428dfb7a6de8 to fix
buildbots issues reported in
https://lab.llvm.org/buildbot/#/builders/4/builds/315 and https://lab.llvm.org/buildbot/#/builders/35/builds/481
Commit: 2df2373eb898f138c2eddc513e3ab3e6552e252c
https://github.com/llvm/llvm-project/commit/2df2373eb898f138c2eddc513e3ab3e6552e252c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-fcopysign.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
Log Message:
-----------
DAG/GlobalISel: Set disjoint for or in copysign lowering (#97057)
We masked out the sign bit from one value, and the non-sign bits
from the other so there should be no common bits set.
No idea how to test this on the DAG path, other than scraping
the debug logs. A few targets hit this path with f16 values, but
the resulting i16 ors get anyext promoted and lose the disjoint
flag. In the fp128 case, PPC gets further and the or loses the flag
somewhere else later. Adding a haveNoCommonBits assert shows this
works though.
Commit: a8b722702db9bbf88f67a31c0c308865154576e2
https://github.com/llvm/llvm-project/commit/a8b722702db9bbf88f67a31c0c308865154576e2
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/Inliner.cpp
Log Message:
-----------
[Inliner] Pass updated SCC to InlineAdvisor::onPassExit() (#96553)
InitialC may be logically invalid, although iterating through it doesn't
crash. Always use the updated SCC.
Commit: 4ae23bcca144b542f16d45acc8f270e156e2fa4e
https://github.com/llvm/llvm-project/commit/4ae23bcca144b542f16d45acc8f270e156e2fa4e
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp
M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h
Log Message:
-----------
[NVPTX] Correct the condition to print "\t}\n" for DWARF sections
`NVPTXTargetStreamer::changeSection` needs `CurSection` to properly
print "\t}\n" for DWARF sections.
db48f1a1764023f8efeb055e343b967d1eb37d19 added
`MCStreamer::changeSection` before `TS->changeSection`,
making `CurSection == Section` when `getCurrentSectionOnly` switches to
`CurFrag` (626eef5ecf92e98cbfccfa6134e0a760e7592813).
cf311a1131b9aef3e66b2a20ad49cfc77212754b did fix the bug, but the
mechanism is confusing. Fix it using nullable getCurrentSectionOnly().
Commit: 798754f6c6fe19d19984ca8370806cbcdf5f8294
https://github.com/llvm/llvm-project/commit/798754f6c6fe19d19984ca8370806cbcdf5f8294
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll
Log Message:
-----------
[ConstraintElim] Add multi-exit tests for #94610.
Additional test coverage with multi-exit loops for
https://github.com/llvm/llvm-project/pull/94610.
Commit: d70963a762850e74b79e178e006dc7861c2c94e5
https://github.com/llvm/llvm-project/commit/d70963a762850e74b79e178e006dc7861c2c94e5
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll
Log Message:
-----------
[SLP]Fix the cost of the adjusted extracts in per-register analysis.
Previous patch did not pass the list of the extract indices by
reference, so the compiler just ignored them. Pass indices by reference
and fix the per-register analysis.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/96808
Commit: 2264544e2d13957f36fd19864d9633a3278a9d74
https://github.com/llvm/llvm-project/commit/2264544e2d13957f36fd19864d9633a3278a9d74
Author: Jacob Lambert <jacob.lambert at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/CodeGen/BackendConsumer.h
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CodeGenAction.cpp
M clang/lib/CodeGen/LinkInModulesPass.cpp
M clang/lib/CodeGen/LinkInModulesPass.h
Log Message:
-----------
[clang][CodeGen] Remove unnecessary ShouldLinkFiles conditional (#96951)
We have reworked the bitcode linking option to no longer link twice if
post-optimization linking is requested. As such, we no longer need to
conditionally link bitcodes supplied via -mlink-bitcode-file, as there
is no danger of linking them twice
Commit: b6ba10c6d4455a237ff2e65772d332821721cdf3
https://github.com/llvm/llvm-project/commit/b6ba10c6d4455a237ff2e65772d332821721cdf3
Author: Matthew Weingarten <matt at weingarten.org>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/Transforms/PGOProfile/Inputs/memprof.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/basic.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/inline.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/inline.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/multi.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/pic.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/pic.memprofraw
Log Message:
-----------
[Memprof] Reduce test binary sizes for memprof tests. (#97114)
PR 94264 had substantial increase in test binary size. This was due to
building LLVM and compiler-rt with GCC, implicitly causing the runtimes
to be built with full debuginfo. Rebuilding LLVM with
`-DCMAKE_CXX_COMPILER=/usr/bin/clang++` and regenerating .exe files with
script `update_memprof_inputs.sh` avoids this increase in test binary
size.
Commit: 9f10252c4ad7cffbbcf692fa9c953698f82ac4f5
https://github.com/llvm/llvm-project/commit/9f10252c4ad7cffbbcf692fa9c953698f82ac4f5
Author: Haopeng Liu <153236845+haopliu at users.noreply.github.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/IR/ConstantRangeList.h
M llvm/lib/IR/ConstantRangeList.cpp
M llvm/unittests/IR/ConstantRangeListTest.cpp
Log Message:
-----------
Add ConstantRangeList::subtract(ConstantRange) (#97093)
Add ConstantRangeList::subtract(ConstantRange).
This API will be used in the "initializes" attribute inference as well
(for load instructions).
Commit: ded956440739ae326a99cbaef18ce4362e972679
https://github.com/llvm/llvm-project/commit/ded956440739ae326a99cbaef18ce4362e972679
Author: Jeffrey Byrnes <Jeffrey.Byrnes at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
A llvm/test/CodeGen/AMDGPU/GlobalISel/vni8-across-blocks.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-break-large-phis.ll
M llvm/test/CodeGen/AMDGPU/dagcomb-extract-vec-elt-different-sizes.ll
M llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
M llvm/test/CodeGen/AMDGPU/extract-subvector.ll
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
M llvm/test/CodeGen/AMDGPU/vni8-across-blocks.ll
A llvm/test/CodeGen/AMDGPU/vni8-live-reg-opt.ll
Log Message:
-----------
[AMDGPU] Add IR LiveReg type-based optimization
Change-Id: Ia0d11b79b8302e79247fe193ccabc0dad2d359a0
Commit: 664497557ae7e726b424d325533cdce8104b3337
https://github.com/llvm/llvm-project/commit/664497557ae7e726b424d325533cdce8104b3337
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.h
M clang/test/CodeGenCXX/attr-annotate.cpp
Log Message:
-----------
[CodeGen] Use MapVector to stabilize iteration order
Otherwise clang/test/CodeGenCXX/attr-annotate.cpp
output could fail when llvm::hash_value(StringRef) changes
(#96282).
EmitGlobalAnnotations iterates over DeferredAnnotations.
Commit: b8c92938ef9bd60cc55e6094965f15db1e7946d5
https://github.com/llvm/llvm-project/commit/b8c92938ef9bd60cc55e6094965f15db1e7946d5
Author: Matthew Weingarten <matt at weingarten.org>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll
Log Message:
-----------
[Memprof] Fix linkage number for memprof test. (#97119)
Update function name in `memprof_internal_linkage.ll` test. Needs to be
updated every time we regenerate the binary.
Commit: 982c54719289c1d85d03be3ad9e95bbfd2862aee
https://github.com/llvm/llvm-project/commit/982c54719289c1d85d03be3ad9e95bbfd2862aee
Author: Jacob Lambert <jacob.lambert at amd.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang/lib/CodeGen/LinkInModulesPass.cpp
M clang/lib/CodeGen/LinkInModulesPass.h
Log Message:
-----------
[clang][CodeGen] Cleanup missed ShouldLinkFiles definitions (#97115)
Follow up to
https://github.com/llvm/llvm-project/commit/2264544e2d13957f36fd19864d9633a3278a9d74
Commit: ce80c80dca45c7b4636a3e143973e2c6cbdb2884
https://github.com/llvm/llvm-project/commit/ce80c80dca45c7b4636a3e143973e2c6cbdb2884
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/Hashing.h
M llvm/lib/Support/CMakeLists.txt
R llvm/lib/Support/Hashing.cpp
M llvm/unittests/ADT/HashingTest.cpp
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
Log Message:
-----------
[Hashing] Use a non-deterministic seed if LLVM_ENABLE_ABI_BREAKING_CHECKS
Hashing.h provides hash_value/hash_combine/hash_combine_range, which are
primarily used by `DenseMap<StringRef, X>`
Users shouldn't rely on specific hash values due to size_t differences
on 32-bit/64-bit platforms and potential algorithm changes.
`set_fixed_execution_hash_seed` is provided but it has never been used.
In LLVM_ENABLE_ABI_BREAKING_CHECKS builds, take the the address of a
static storage duration variable as the seed like
absl/hash/internal/hash.h `kSeed`. (See https://reviews.llvm.org/D93931
for workaround for older Clang. Mach-O x86-64 forces PIC, so absl's
`__apple_build_version__` check is unnecessary.)
LLVM_ENABLE_ABI_BREAKING_CHECKS defaults to `WITH_ASSERTS` and is
enabled in an assertion build.
In a non-assertion build, `get_execution_seed` returns the fixed value
regardless of `NDEBUG`. Removing a variable load yields noticeable
size/performance improvement.
A few users relying on the iteration order of `DenseMap<StringRef, X>`
have been fixed (e.g., f8f4235612b9 c025bd1fdbbd 89e8e63f47ff
86eb6bf6715c eb8d03656549 0ea6b8e476c2 58d7a6e0e636 8ea31db27211
592abf29f9f7 664497557ae7).
>From my experience fixing [`StringMap`](https://discourse.llvm.org/t/reverse-iteration-bots/72224)
iteration order issues, the scale of issues is similar.
Pull Request: https://github.com/llvm/llvm-project/pull/96282
Commit: 15ad7919f6dd18b5d7f5a22daad6a5c25ecb8793
https://github.com/llvm/llvm-project/commit/15ad7919f6dd18b5d7f5a22daad6a5c25ecb8793
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
A llvm/include/llvm/Transforms/Instrumentation/NumericalStabilitySanitizer.h
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Transforms/Instrumentation/CMakeLists.txt
A llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
A llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/cfg.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/invoke.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/memory.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll
Log Message:
-----------
[LLVM][Instrumentation] Add numerical sanitizer (#85916)
This PR introduces the numerical sanitizer originally proposed by
Clement Courbet on https://reviews.llvm.org/D97854
(https://arxiv.org/abs/2102.12782).
The main additions include:
- Migration to LLVM opaque pointers
- Migration to various updated APIs
- Extended coverage for LLVM instructions/intrinsics
- Code refactoring
The tool is still very experimental, the coverage (e.g. for intrinsics /
library functions) is incomplete.
Link: https://discourse.llvm.org/t/rfc-revival-of-numerical-sanitizer/79601
---------
Co-authored-by: Fangrui Song <i at maskray.me>
Commit: 371e924605a45bcdfcba1aca939f127338dd91d8
https://github.com/llvm/llvm-project/commit/371e924605a45bcdfcba1aca939f127338dd91d8
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
A libc/newhdrgen/yaml/arpa_inet.yaml
A libc/newhdrgen/yaml/dirent.yaml
A libc/newhdrgen/yaml/errno.yaml
A libc/newhdrgen/yaml/fcntl.yaml
A libc/newhdrgen/yaml/float.yaml
A libc/newhdrgen/yaml/inttypes.yaml
A libc/newhdrgen/yaml/limits.yaml
A libc/newhdrgen/yaml/rpc.yaml
A libc/newhdrgen/yaml/search.yaml
A libc/newhdrgen/yaml/setjmp.yaml
A libc/newhdrgen/yaml/spawn.yaml
A libc/newhdrgen/yaml/stdbit.yaml
A libc/newhdrgen/yaml/stdckdint.yaml
A libc/newhdrgen/yaml/stdint.yaml
A libc/newhdrgen/yaml/sys_auxv.yaml
A libc/newhdrgen/yaml/sys_epoll.yaml
A libc/newhdrgen/yaml/sys_ioctl.yaml
A libc/newhdrgen/yaml/sys_prctl.yaml
A libc/newhdrgen/yaml/sys_random.yaml
A libc/newhdrgen/yaml/sys_resource.yaml
A libc/newhdrgen/yaml/sys_select.yaml
A libc/newhdrgen/yaml/sys_sendfile.yaml
A libc/newhdrgen/yaml/sys_socket.yaml
A libc/newhdrgen/yaml/sys_stat.yaml
A libc/newhdrgen/yaml/sys_statvfs.yaml
A libc/newhdrgen/yaml/sys_time.yaml
A libc/newhdrgen/yaml/sys_types.yaml
A libc/newhdrgen/yaml/sys_utsname.yaml
A libc/newhdrgen/yaml/termios.yaml
A libc/newhdrgen/yaml/threads.yaml
A libc/newhdrgen/yaml/uchar.yaml
A libc/newhdrgen/yaml/unistd.yaml
A libc/newhdrgen/yaml/wchar.yaml
Log Message:
-----------
[libc] added rest of yaml files for new headergen (#96977)
Added yaml files containing functions from only one standard.
Also added one combined standard yaml file (errno.yaml).
assert.yaml is still work in progress.
Commit: 9572388a849c494d45df334f9facd8ee6663953f
https://github.com/llvm/llvm-project/commit/9572388a849c494d45df334f9facd8ee6663953f
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/git/code-format-helper.py
Log Message:
-----------
Revert "[CI][format] Explicitly pass extensions to git-clang-format (#95794)"
This reverts commit 7620fe0d2d1e0257611c0ab0d96f3bf1bf7a1079.
This patch was causing some significant portion of code formatting jobs
to succeed when they should have failed. More investigation is needed.
Tracked in #97060.
Commit: ea8e4c025f26f32b35ae129704fe0f7d107ac690
https://github.com/llvm/llvm-project/commit/ea8e4c025f26f32b35ae129704fe0f7d107ac690
Author: Michael Liao <michael.hliao at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
Log Message:
-----------
[GlobalISel] Fix formatting in CallLowering.cpp. NFC
Commit: 4814628531451efb91ab0f4ab047f3a0469aef82
https://github.com/llvm/llvm-project/commit/4814628531451efb91ab0f4ab047f3a0469aef82
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M libcxx/include/__iterator/move_iterator.h
M libcxx/include/__type_traits/common_type.h
M libcxx/include/__type_traits/decay.h
Log Message:
-----------
[libc++][NFC] Replace conditional<>::type with __conditional_t (#96745)
`__conditional_t` is move efficient than `conditional`, since it avoids
instantiating a template for every type combination.
Commit: de18ff35caa764998321dc01306b509efe4be431
https://github.com/llvm/llvm-project/commit/de18ff35caa764998321dc01306b509efe4be431
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
Log Message:
-----------
[Instrumentation] Fix a warning
This patch fixes:
llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp:1528:38:
error: unused variable 'TableRef' [-Werror,-Wunused-variable]
Commit: ceeea9193726ff3ceeee48e0e121ac25ac12cef0
https://github.com/llvm/llvm-project/commit/ceeea9193726ff3ceeee48e0e121ac25ac12cef0
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lld/MachO/InputFiles.cpp
M lld/test/MachO/dead-strip.s
Log Message:
-----------
[lld-macho] Stabilize symbol order from InterfaceFile
llvm/include/llvm/TextAPI/InterfaceFile.h SymbolsSet uses a
llvm::DenseMap<SymbolsMapKey, Symbol *>, which has a non-deterministic
order. For now, stabilize the order in lld since it is much simpler
than refactoring InterfaceFile.h.
Commit: ecd67e5d1fc9056a07269150b2e2d3325c570701
https://github.com/llvm/llvm-project/commit/ecd67e5d1fc9056a07269150b2e2d3325c570701
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn
Log Message:
-----------
[gn build] Port 15ad7919f6dd
Commit: 5cf0b4d94ee0d202211cd79c9fb204cb97bc6d67
https://github.com/llvm/llvm-project/commit/5cf0b4d94ee0d202211cd79c9fb204cb97bc6d67
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lld/MachO/Config.h
M lld/test/MachO/lto-explicit-exports.ll
Log Message:
-----------
[lld-macho] Stabilize iteration order of config->exportedSymbols.literals
Otherwise lto-explicit-exports.ll might fail due to #96282.
Commit: 0991bd7887a313d4d6bb66ca44d11939ad71b660
https://github.com/llvm/llvm-project/commit/0991bd7887a313d4d6bb66ca44d11939ad71b660
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lld/MachO/Config.h
M lld/MachO/SectionPriorities.h
M lld/MachO/SyntheticSections.h
Log Message:
-----------
[lld-macho] Fix IWYU issues. NFC
Commit: ebc123e0793a1cbcb69b4af1548e339e018ffff2
https://github.com/llvm/llvm-project/commit/ebc123e0793a1cbcb69b4af1548e339e018ffff2
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M lld/ELF/SyntheticSections.cpp
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Create some synthetic sections only if !relocatable
`.rela.dyn` is currently created outside of the `config->hasDynSymTab`
condition. In relocatable links, `.rela.dyn` will be discarded by
`removeUnusedSyntheticSections`. It's better than suppress the creation
so that .relr.auth.dyn support (#96496) does not need to adjust
`removeUnusedSyntheticSections`.
Commit: cb24422b6f27bbdb9e55d5b3d0c4e8eb7e57d1d1
https://github.com/llvm/llvm-project/commit/cb24422b6f27bbdb9e55d5b3d0c4e8eb7e57d1d1
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
A llvm/test/CodeGen/NVPTX/store-undef.ll
Log Message:
-----------
[NVPTX] remove store.params of undef (#96940)
Extend the logic for `NVPTXISD::StoreRetval` to `NVPTXISD::StoreParam`
to remove stores of undef values.
Commit: bf528849819733482cff205f3bdf1fe9ce2b92a4
https://github.com/llvm/llvm-project/commit/bf528849819733482cff205f3bdf1fe9ce2b92a4
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp
Log Message:
-----------
[DomTreeUpdater] Fix use after free in unittests (#97133)
In #96851, the unit test contains use after free, which triggers
sanitizer error.
Fix https://lab.llvm.org/buildbot/#/builders/169/builds/490
Commit: d2c817df846a4fa141778560e2258ab674426f44
https://github.com/llvm/llvm-project/commit/d2c817df846a4fa141778560e2258ab674426f44
Author: Vigneshwar Jayakumar <vigneshwarjayakumar at gmail.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
A llvm/test/CodeGen/AMDGPU/lds-mixed-absolute-dynlds.ll
M llvm/test/CodeGen/AMDGPU/lds-run-twice.ll
Log Message:
-----------
[AMDGPU] Fix DynLDS causing crash when LowerLDS is run at fullLTO pipeline (#96038)
Direct mapped dynamic LDS is not lowered in the LowerLDSModule pass.
Hence it is not marked with an absolute symbol. When the LowerLDS pass is
rerun in LTO, compilation fails with an assert "cannot mix abs and non-abs LDVs".
This patch adds an additional check for direct mapped dynLDS to skip the assert.
Fixes SWDEV-454281
Commit: 61cd6bbb511d2aa4609fd264d2b6c2306f54bc8a
https://github.com/llvm/llvm-project/commit/61cd6bbb511d2aa4609fd264d2b6c2306f54bc8a
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
Log Message:
-----------
Revert "[Instrumentation] Fix a warning"
This reverts commit de18ff35caa764998321dc01306b509efe4be431.
The initial commit for nsan needs to be reverted
for now because of the issue detected by
https://lab.llvm.org/buildbot/#/builders/11/builds/822.
Commit: 493c384a7d94cce1d18824a6b0e1f9ee20cdc681
https://github.com/llvm/llvm-project/commit/493c384a7d94cce1d18824a6b0e1f9ee20cdc681
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
R llvm/include/llvm/Transforms/Instrumentation/NumericalStabilitySanitizer.h
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Transforms/Instrumentation/CMakeLists.txt
R llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
R llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll
R llvm/test/Instrumentation/NumericalStabilitySanitizer/cfg.ll
R llvm/test/Instrumentation/NumericalStabilitySanitizer/invoke.ll
R llvm/test/Instrumentation/NumericalStabilitySanitizer/memory.ll
R llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
R llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll
Log Message:
-----------
Revert "[LLVM][Instrumentation] Add numerical sanitizer (#85916)"
This reverts commit 15ad7919f6dd18b5d7f5a22daad6a5c25ecb8793.
The commit broke the build bot
https://lab.llvm.org/buildbot/#/builders/11/builds/822.
Commit: 70825368403202ab73900d8ff3dc096ddfef99b4
https://github.com/llvm/llvm-project/commit/70825368403202ab73900d8ff3dc096ddfef99b4
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Support/JSON.cpp
Log Message:
-----------
[JSON] Prefer static to namespace {}. NFC
Commit: b15fcdaf79e9b5931e8a7f9e09f8e3842d262dd7
https://github.com/llvm/llvm-project/commit/b15fcdaf79e9b5931e8a7f9e09f8e3842d262dd7
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/support/Trace.cpp
M clang-tools-extra/clangd/test/trace.test
M llvm/include/llvm/Support/JSON.h
M llvm/lib/Support/JSON.cpp
Log Message:
-----------
[JSON] Export sortedElements and fix CLANGD_TRACE non-determinism
clangd/test/trace.test might fail as llvm::hash_value(StringRef) is
non-deterministic per process (#96282).
Commit: 44a485702ac2d38cbefdf241ba89b751d952f64e
https://github.com/llvm/llvm-project/commit/44a485702ac2d38cbefdf241ba89b751d952f64e
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn
Log Message:
-----------
[gn build] Port 493c384a7d94
Commit: 8823448807f3b1a1362d1417e062d763734e02f5
https://github.com/llvm/llvm-project/commit/8823448807f3b1a1362d1417e062d763734e02f5
Author: Ethan Luis McDonough <ethanluismcdonough at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M offload/test/api/omp_dynamic_shared_memory.c
M offload/test/jit/empty_kernel_lvl1.c
M offload/test/jit/empty_kernel_lvl2.c
M offload/test/jit/type_punning.c
M offload/test/libc/assert.c
M offload/test/lit.cfg
M offload/test/mapping/auto_zero_copy.cpp
M offload/test/mapping/auto_zero_copy_apu.cpp
M offload/test/mapping/auto_zero_copy_globals.cpp
M offload/test/mapping/prelock.cpp
M offload/test/offloading/barrier_fence.c
M offload/test/offloading/bug49334.cpp
M offload/test/offloading/default_thread_limit.c
M offload/test/offloading/dynamic_module.c
M offload/test/offloading/fortran/basic-target-parallel-do.f90
M offload/test/offloading/fortran/basic-target-parallel-region.f90
M offload/test/offloading/fortran/basic-target-region-1D-array-section.f90
M offload/test/offloading/fortran/basic-target-region-3D-array-section.f90
M offload/test/offloading/fortran/basic-target-region-3D-array.f90
M offload/test/offloading/fortran/basic_target_region.f90
M offload/test/offloading/fortran/constant-arr-index.f90
M offload/test/offloading/fortran/declare-target-vars-in-target-region.f90
M offload/test/offloading/fortran/double-target-call-with-declare-target.f90
M offload/test/offloading/fortran/target-map-allocatable-array-section-1d-bounds.f90
M offload/test/offloading/fortran/target-map-allocatable-array-section-3d-bounds.f90
M offload/test/offloading/fortran/target-map-allocatable-map-scopes.f90
M offload/test/offloading/fortran/target-map-derived-type-full-1.f90
M offload/test/offloading/fortran/target-map-derived-type-full-2.f90
M offload/test/offloading/fortran/target-map-derived-type-full-implicit-1.f90
M offload/test/offloading/fortran/target-map-derived-type-full-implicit-2.f90
M offload/test/offloading/fortran/target-map-double-large-nested-dtype-multi-member.f90
M offload/test/offloading/fortran/target-map-double-nested-dtype-array-bounds.f90
M offload/test/offloading/fortran/target-map-double-nested-dtype-double-array-bounds.f90
M offload/test/offloading/fortran/target-map-double-nested-dtype-single-member.f90
M offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit-update.f90
M offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit.f90
M offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90
M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90
M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90
M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90
M offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90
M offload/test/offloading/fortran/target-map-enter-exit-allocatables.f90
M offload/test/offloading/fortran/target-map-enter-exit-array-2.f90
M offload/test/offloading/fortran/target-map-enter-exit-array-bounds.f90
M offload/test/offloading/fortran/target-map-enter-exit-array.f90
M offload/test/offloading/fortran/target-map-enter-exit-scalar.f90
M offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90
M offload/test/offloading/fortran/target-map-large-nested-dtype-multi-member.f90
M offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90
M offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90
M offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90
M offload/test/offloading/fortran/target-map-nested-dtype-single-member.f90
M offload/test/offloading/fortran/target-map-pointer-scopes-enter-exit.f90
M offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90
M offload/test/offloading/fortran/target-map-pointer-target-scopes.f90
M offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90
M offload/test/offloading/fortran/target-map-two-dtype-individual-member-array-1D-bounds.f90
M offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-1.f90
M offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-2.f90
M offload/test/offloading/fortran/target-map-two-dtype-multi-member-array-1D-bounds.f90
M offload/test/offloading/fortran/target-map-two-nested-dtype-member-array-map.f90
M offload/test/offloading/fortran/target-nested-target-data.f90
M offload/test/offloading/fortran/target-parallel-do-collapse.f90
M offload/test/offloading/fortran/target-region-implicit-array.f90
M offload/test/offloading/fortran/target_map_common_block.f90
M offload/test/offloading/fortran/target_map_common_block1.f90
M offload/test/offloading/fortran/target_map_common_block2.f90
M offload/test/offloading/fortran/target_update.f90
M offload/test/offloading/memory_manager.cpp
M offload/test/offloading/ompx_bare.c
M offload/test/offloading/ompx_bare_ballot_sync.c
M offload/test/offloading/ompx_bare_shfl_down_sync.cpp
M offload/test/offloading/ompx_coords.c
M offload/test/offloading/ompx_saxpy_mixed.c
M offload/test/offloading/parallel_offloading_map.cpp
M offload/test/offloading/parallel_target_teams_reduction.cpp
M offload/test/offloading/parallel_target_teams_reduction_max.cpp
M offload/test/offloading/parallel_target_teams_reduction_min.cpp
M offload/test/offloading/small_trip_count.c
M offload/test/offloading/small_trip_count_thread_limit.cpp
M offload/test/offloading/spmdization.c
M offload/test/offloading/target_critical_region.cpp
M offload/test/offloading/taskloop_offload_nowait.cpp
M offload/test/offloading/thread_limit.c
M offload/test/offloading/workshare_chunk.c
M offload/test/ompt/target_memcpy.c
M offload/test/ompt/target_memcpy_emi.c
M offload/test/ompt/veccopy.c
M offload/test/ompt/veccopy_data.c
M offload/test/ompt/veccopy_disallow_both.c
M offload/test/ompt/veccopy_emi.c
M offload/test/ompt/veccopy_emi_map.c
M offload/test/ompt/veccopy_map.c
Log Message:
-----------
[Offload] Refactor offload test requirements (#95196)
Many tests in the `offload` project have requirements defined by which
targets are not supported rather than which platforms are supported.
This patch aims to streamline the requirement definitions by adding four
new feature tags: `host`, `gpu`, `amdgpu`, and `nvidiagpu`.
Commit: 3e53c97d33210db68188e731e93ee48dbaeeae32
https://github.com/llvm/llvm-project/commit/3e53c97d33210db68188e731e93ee48dbaeeae32
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
R llvm/test/CodeGen/AMDGPU/GlobalISel/vni8-across-blocks.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-break-large-phis.ll
M llvm/test/CodeGen/AMDGPU/dagcomb-extract-vec-elt-different-sizes.ll
M llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
M llvm/test/CodeGen/AMDGPU/extract-subvector.ll
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
M llvm/test/CodeGen/AMDGPU/vni8-across-blocks.ll
R llvm/test/CodeGen/AMDGPU/vni8-live-reg-opt.ll
Log Message:
-----------
Revert "[AMDGPU] Add IR LiveReg type-based optimization" (#97138)
Part of #66838.
https://lab.llvm.org/buildbot/#/builders/52/builds/404
https://lab.llvm.org/buildbot/#/builders/55/builds/358
https://lab.llvm.org/buildbot/#/builders/164/builds/518
This reverts commit ded956440739ae326a99cbaef18ce4362e972679.
Commit: 0e9380177092f0dfc1acf778aeb08d47623c4db3
https://github.com/llvm/llvm-project/commit/0e9380177092f0dfc1acf778aeb08d47623c4db3
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-28 (Fri, 28 Jun 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Speed up RISCVISAInfo::updateImplication.
We don't need to use a SmallSetVector to keep track of the worklist.
We only insert into the worklist if the extension is not already
in the Exts map. We immediately add it the Exts map at the same
time we add it to the worklist. If we encounter the extension again
it will already be in Exts so we won't try to add it to the worklist
again. We can just use a SmallVector for the Worklist.
Commit: a7bf4124bfd2c740c0a9a06d2b53e4d7c91dac10
https://github.com/llvm/llvm-project/commit/a7bf4124bfd2c740c0a9a06d2b53e4d7c91dac10
Author: SahilPatidar <patidarsahil2001 at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/fcmp.ll
Log Message:
-----------
[InstCombine] Fold `fcmp pred (x - y), 0` into `fcmp pred x, y` (#85506)
Resolve #85245
Alive2: https://alive2.llvm.org/ce/z/F4rDwK
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
Co-authored-by: Jay Foad <jay.foad at gmail.com>
Commit: ed9584457def4a51596b9d72ce76a1bfed88fa30
https://github.com/llvm/llvm-project/commit/ed9584457def4a51596b9d72ce76a1bfed88fa30
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
A lldb/test/Shell/SymbolFile/DWARF/no_unique_address-base-alignment.cpp
A lldb/test/Shell/SymbolFile/DWARF/packed-alignof.cpp
M lldb/test/Shell/SymbolFile/DWARF/packed.cpp
Log Message:
-----------
[lldb][test] Add tests for alignof on class with overlapping bases (#97068)
Follow-up to https://github.com/llvm/llvm-project/pull/96932
Adds XFAILed test where LLDB incorrectly infers the alignment of a
derived class whose bases are overlapping due to [[no_unique_address]].
Specifically, the `InferAlignment` code-path of the
`ItaniumRecordLayoutBuilder` assumes that overlapping base offsets imply
a packed structure and thus sets alignment to 1. See discussion in
https://github.com/llvm/llvm-project/pull/93809.
Also adds test where LLDB correctly infers an alignment of `1` when a
packed base class is overlapping with other bases.
Lastly, there were a couple of `alignof` inconsistencies which I
encapsulated in an XFAIL-ed `packed-alignof.cpp`.
Commit: 40a5a86df9dd25ddabc2d6fe4b39fd5d54bc1713
https://github.com/llvm/llvm-project/commit/40a5a86df9dd25ddabc2d6fe4b39fd5d54bc1713
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfileData] Migrate to a new version of getValueProfDataFromInst (#96381)
Commit: 8d3abc92d663552b97de083e77d2cc76164d0dd4
https://github.com/llvm/llvm-project/commit/8d3abc92d663552b97de083e77d2cc76164d0dd4
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
Log Message:
-----------
[clang][Interp][NFC] Dump expression address
Commit: 99ff5d5c963b8bd9ccae99fbb17b8fc537fe8095
https://github.com/llvm/llvm-project/commit/99ff5d5c963b8bd9ccae99fbb17b8fc537fe8095
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/test/AST/Interp/arrays.cpp
Log Message:
-----------
[clang][Interp][NFC] Simplify test
Commit: 58160e78e5ed82bdcc1dcbda4d57442aa4e1dd9e
https://github.com/llvm/llvm-project/commit/58160e78e5ed82bdcc1dcbda4d57442aa4e1dd9e
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
Log Message:
-----------
[clang][Interp][NFC] Use const pointers in Descriptor::getType()
Commit: 4a835480fa22106c0209e8c9485a616b2ead0892
https://github.com/llvm/llvm-project/commit/4a835480fa22106c0209e8c9485a616b2ead0892
Author: Youngsuk Kim <joseph942010 at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/FloatingPointMode.h
M llvm/include/llvm/Analysis/CFGPrinter.h
M llvm/include/llvm/Analysis/DDG.h
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/include/llvm/Object/MachO.h
Log Message:
-----------
[llvm] Avoid 'raw_string_ostream::str()' (NFC) (#96995)
Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.
Work towards TODO comment to remove `raw_string_ostream::str()`.
Commit: 171067923744d597648450d3da204dd2f4a3fea0
https://github.com/llvm/llvm-project/commit/171067923744d597648450d3da204dd2f4a3fea0
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
A llvm/include/llvm/Transforms/Instrumentation/NumericalStabilitySanitizer.h
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Transforms/Instrumentation/CMakeLists.txt
A llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
A llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/cfg.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/invoke.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/memory.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll
Log Message:
-----------
Reapply "[LLVM][Instrumentation] Add numerical sanitizer (#85916)"
This reverts commit 493c384a7d94cce1d18824a6b0e1f9ee20cdc681
and includes a fix for the build breakage.
Commit: 001da2214c2967291cc64ccdac6947b0c2ec77eb
https://github.com/llvm/llvm-project/commit/001da2214c2967291cc64ccdac6947b0c2ec77eb
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
A llvm/test/Transforms/SimplifyCFG/hoisting-metadata.ll
Log Message:
-----------
[SimplifyCFG] Add test for hoisting loads with tbaa metadata.
Commit: bd5a034b1fa8654c9149f5b23fb07901e12bfbe9
https://github.com/llvm/llvm-project/commit/bd5a034b1fa8654c9149f5b23fb07901e12bfbe9
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn
Log Message:
-----------
[gn build] Port 171067923744
Commit: 5cc1287bdbb2de9ad91e4ba8dc9eeb9508c734a5
https://github.com/llvm/llvm-project/commit/5cc1287bdbb2de9ad91e4ba8dc9eeb9508c734a5
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGBuilder.h
Log Message:
-----------
[CGBuilder] Use getDataLayout() helpers (NFC)
Commit: 56277948d577245be845c89a7d7c3a5ccd9747ef
https://github.com/llvm/llvm-project/commit/56277948d577245be845c89a7d7c3a5ccd9747ef
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/Support/MathExtras.h
M llvm/unittests/Support/MathExtrasTest.cpp
Log Message:
-----------
MathExtras: avoid unnecessarily widening types (#95426)
Several multi-argument functions unnecessarily widen types beyond the
argument types. Template'ize the functions, and use std::common_type_t
to avoid this, hence optimizing the functions. A requirement of this
patch is to change the overflow behavior of alignTo to only overflow
when the result isn't representable in the return type.
Commit: d0fee98e0cd6afa116bed90c47cc33bbf8d7b867
https://github.com/llvm/llvm-project/commit/d0fee98e0cd6afa116bed90c47cc33bbf8d7b867
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M mlir/include/mlir/Analysis/Presburger/Barvinok.h
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/Matrix.h
M mlir/include/mlir/Analysis/Presburger/PresburgerSpace.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/Barvinok.cpp
M mlir/lib/Analysis/Presburger/CMakeLists.txt
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/LinearTransform.cpp
M mlir/lib/Analysis/Presburger/Matrix.cpp
M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/QuasiPolynomial.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/unittests/Analysis/Presburger/Utils.h
Log Message:
-----------
mlir/Presburger: strip dependency on MLIRSupport (#96517)
Strip the Presburger library's dependency on the MLIR Support library,
as well as the headers, in the interest of making it leaner.
This patch is part of a project to move the Presburger library into
LLVM.
Commit: 834ac2e205dd8e492d6084a7952e68e19a1f54db
https://github.com/llvm/llvm-project/commit/834ac2e205dd8e492d6084a7952e68e19a1f54db
Author: Emilia Kond <emilia at rymiel.space>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Allow ternary in all templates (#96801)
Currently, question mark and colon tokens are not allowed between angle
brackets, as a template argument, if we are in an expression context.
However, expressions can still allowed in non-expression contexts,
leading to inconsistent formatting.
Removing this check entirely fixes this issue, and, surprisingly, breaks
no tests.
Fixes https://github.com/llvm/llvm-project/issues/81385
Commit: 02b60893c3858d5d76cdca1bd9b684bdd7093fb7
https://github.com/llvm/llvm-project/commit/02b60893c3858d5d76cdca1bd9b684bdd7093fb7
Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M lldb/test/Shell/SymbolFile/DWARF/packed.cpp
Log Message:
-----------
[LLDB] xfail SymbolFile/DWARF/packed.cpp for Windows
SymbolFile/DWARF/packed.cpp introduced by #96932 has been failing on
AArch64/Windows buildbot.
https://lab.llvm.org/buildbot/#/builders/141/builds/374
I am marking it as an XFAIL to make the buildbot happy.
Commit: 74deadf19650f6f3b6392ba09caa20dd38ae41e0
https://github.com/llvm/llvm-project/commit/74deadf19650f6f3b6392ba09caa20dd38ae41e0
Author: Nikita Popov <llvm at npopov.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/lib/CodeGen/HardwareLoops.cpp
M llvm/lib/CodeGen/MachineOutliner.cpp
M llvm/lib/CodeGen/TypePromotion.cpp
M llvm/lib/CodeGen/WasmEHPrepare.cpp
M llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
M llvm/lib/IR/IRBuilder.cpp
M llvm/lib/Passes/PassBuilderBindings.cpp
M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
M llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp
M llvm/lib/Target/AArch64/SMEABIPass.cpp
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M llvm/lib/Target/ARM/ARMParallelDSP.cpp
M llvm/lib/Target/BPF/BPFPreserveStaticOffset.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/X86/X86ISelLoweringCall.cpp
M llvm/lib/Target/X86/X86LowerAMXType.cpp
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/lib/Transforms/CFGuard/CFGuard.cpp
M llvm/lib/Transforms/Coroutines/CoroCleanup.cpp
M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
M llvm/lib/Transforms/Instrumentation/CGProfile.cpp
M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
M llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp
M llvm/lib/Transforms/Instrumentation/PoisonChecking.cpp
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/lib/Transforms/Scalar/GuardWidening.cpp
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/unittests/Analysis/MemorySSATest.cpp
M llvm/unittests/Analysis/PluginInlineAdvisorAnalysisTest.cpp
M llvm/unittests/Analysis/PluginInlineOrderAnalysisTest.cpp
M llvm/unittests/Analysis/SparsePropagation.cpp
M llvm/unittests/CodeGen/InstrRefLDVTest.cpp
M llvm/unittests/CodeGen/LexicalScopesTest.cpp
M llvm/unittests/CodeGen/MachineBasicBlockTest.cpp
M llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp
M llvm/unittests/CodeGen/MachineInstrTest.cpp
M llvm/unittests/CodeGen/RegAllocScoreTest.cpp
M llvm/unittests/IR/CFGBuilder.cpp
M llvm/unittests/IR/PassBuilderCallbacksTest.cpp
M llvm/unittests/Passes/Plugins/DoublerPlugin/DoublerPlugin.cpp
M llvm/unittests/Passes/Plugins/PluginsTest.cpp
M llvm/unittests/Target/X86/TernlogTest.cpp
M llvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
M polly/lib/CodeGen/BlockGenerators.cpp
M polly/lib/CodeGen/CodeGeneration.cpp
M polly/lib/CodeGen/PerfMonitor.cpp
Log Message:
-----------
[IRBuilder] Don't include Module.h (NFC) (#97159)
This used to be necessary to fetch the DataLayout, but isn't anymore.
Commit: 74197925dcb144ba31c7abfc61494c31c03d1f64
https://github.com/llvm/llvm-project/commit/74197925dcb144ba31c7abfc61494c31c03d1f64
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp
Log Message:
-----------
[clang][examples] Fix build failure (NFC)
/llvm-project/clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp:36:20:
error: cannot use incomplete type 'llvm::Module' as a range
for (auto &F : M)
^
Commit: 101a936bde47744084e04a64aa9af85c75d03afd
https://github.com/llvm/llvm-project/commit/101a936bde47744084e04a64aa9af85c75d03afd
Author: Corentin Jabot <corentinjabot at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/www/cxx_status.html
Log Message:
-----------
[Clang] dd the papers adopted in St Louis to the status page
Commit: 0ce801f91cd79bd2f94469bdf4c48e82f2721ec1
https://github.com/llvm/llvm-project/commit/0ce801f91cd79bd2f94469bdf4c48e82f2721ec1
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/include/clang/Basic/OpenMPKinds.h
M clang/lib/Basic/OpenMPKinds.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Implement `isOpenMPExecutableDirective` (#97089)
What is considered "executable" in clang differs slightly from the
OpenMP's "executable" category. In addition to the executable category,
subsidiary directives, and OMPD_error are considered executable.
Implement a function that performs that check.
Commit: cd0f89109bf90442cab8cfeaf5fce17cbddeef73
https://github.com/llvm/llvm-project/commit/cd0f89109bf90442cab8cfeaf5fce17cbddeef73
Author: Eymen Ünay <eymenunay at outlook.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/lib/ExecutionEngine/JITLink/ELF_aarch32.cpp
A llvm/test/ExecutionEngine/JITLink/AArch32/ELF_data_alignment.s
M llvm/test/ExecutionEngine/Orc/global-ctor-order.ll
Log Message:
-----------
[JITLink][AArch32] Fix Unaligned Data Symbol Address Resolution (#97030)
The ARM architecture uses the LSB bit for ARM/Thumb mode switch
flagging. This is true for alignments of 2 and 4 but in data
relocations the alignment is 1 allowing the LSB bit to be set.
Now only `ELF::STT_FUNC` typed symbols are used in the
TargetFlag mechanism.
The test is a minimal example of the issue mentioned below.
Fixes #95911 "Orc global constructor order test fails on 32
bit ARM".
Commit: 9efa63359e3a26b98c043a7d9130f9d5b9eabd7a
https://github.com/llvm/llvm-project/commit/9efa63359e3a26b98c043a7d9130f9d5b9eabd7a
Author: Eymen Ünay <eymenunay at outlook.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/test/ExecutionEngine/JITLink/AArch32/ELF_data_alignment.s
Log Message:
-----------
[JITLink][AArch32] Fix buildbot failure by restricting test to assert build
The expressive test added in PR #97030 requires debug option in cli.
Commit: df067e567f7793a7c82096df0387a6e6dd31a828
https://github.com/llvm/llvm-project/commit/df067e567f7793a7c82096df0387a6e6dd31a828
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
Log Message:
-----------
[clang][Interp][NFC] Pretty-print global temporary APValues
Commit: 540fd42c755f20f7b79c6c79493ec36d8cb9b3d3
https://github.com/llvm/llvm-project/commit/540fd42c755f20f7b79c6c79493ec36d8cb9b3d3
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Solaris.cpp
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/safestack/safestack_platform.h
M compiler-rt/test/safestack/lit.cfg.py
Log Message:
-----------
[compiler-rt] adding safestack support for sunos platforms. (#95648)
Commit: d957da83791930a3c23f4f936ca7c7644c4b07a4
https://github.com/llvm/llvm-project/commit/d957da83791930a3c23f4f936ca7c7644c4b07a4
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Compiler.cpp
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/references.cpp
Log Message:
-----------
[clang][Interp] Allow taking the address of a non-const global reference
This is not a read, but the GetGlobal op before failed if the reference
we were taking a pointer of was non-const. Use GetGlobalUnchecked
instead.
Commit: deb039e69ed7efc94ef517809f36298f40359c21
https://github.com/llvm/llvm-project/commit/deb039e69ed7efc94ef517809f36298f40359c21
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Program.h
Log Message:
-----------
[clang][Interp][NFC] Provide Program accessor for global temporaries
Just like the one we have taking a ValueDecl*, provide a getGlobal()
version taking an expression.
Commit: a9c43b9a1433015410bf753d1b222a13651b343a
https://github.com/llvm/llvm-project/commit/a9c43b9a1433015410bf753d1b222a13651b343a
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Relocations.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M lld/ELF/Writer.cpp
M lld/test/ELF/aarch64-reloc-pauth.s
Log Message:
-----------
[lld][AArch64][ELF][PAC] Support `.relr.auth.dyn` section (#96496)
This re-applies #87635 after the issue described in
https://github.com/llvm/llvm-project/pull/87635#issuecomment-2155318065
is fixed in ebc123e0793a1cbcb69b4af1548e339e018ffff2. A corresponding
test is also added.
Original PR description below.
Support `R_AARCH64_AUTH_RELATIVE` relocation compression as described in
https://github.com/ARM-software/abi-aa/blob/main/pauthabielf64/pauthabielf64.rst#relocation-compression.
Commit: 1791b11b7d94d33a37897163702f5bfeb9a26f12
https://github.com/llvm/llvm-project/commit/1791b11b7d94d33a37897163702f5bfeb9a26f12
Author: thetruestblue <92476612+thetruestblue at users.noreply.github.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M compiler-rt/test/lit.common.cfg.py
Log Message:
-----------
[Darwin] Fix lit substitution for mtargetos flag on darwin devices (#96953)
Changes substitution logic to appropriately parse either format for min
deployment flag: -mtargetos={platform}{major}.{min){?-simulator} or
-m{platform}-{sim}-version-min={major}.{min} as the
apple_platform_min_deployment_target_flag.
rdar://130022065
Commit: f7fec8c80a986e82ef174080a3e07703c7b2c3c6
https://github.com/llvm/llvm-project/commit/f7fec8c80a986e82ef174080a3e07703c7b2c3c6
Author: smanna12 <soumi.manna at intel.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
Log Message:
-----------
[Clang] Prevent null pointer dereference in template deduction guide creation (#97097)
This patch addresses static analyzer concerns where `TSI` could be
dereferenced after being assigned a null value from `SubstType` in
`ConvertConstructorToDeductionGuideTransform()`.
The fixes now check null value of `TSI` after the call to `SubstType`
and return `nullptr` to prevent potential null pointer dereferences when
calling getTypeLoc() or getType() and ensure safe execution.
Commit: 9cdc85363780983803dafe96004ec9865390af11
https://github.com/llvm/llvm-project/commit/9cdc85363780983803dafe96004ec9865390af11
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Log Message:
-----------
[SelectionDAG] Use a range-based for loop (NFC) (#97154)
UI++ in the loop might appear to indicate that the loop modifies the
container in some way (deletion or insertion), but the loop just
examines the container.
Commit: ddaa93b095288ce459be4096193c40a4ea247b11
https://github.com/llvm/llvm-project/commit/ddaa93b095288ce459be4096193c40a4ea247b11
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/BinaryFormat/MsgPackDocument.h
M llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
M llvm/lib/ExecutionEngine/Orc/Layer.cpp
M llvm/lib/Object/TapiUniversal.cpp
M llvm/lib/Target/ARM/ARMBlockPlacement.cpp
M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
M llvm/lib/XRay/Profile.cpp
M llvm/tools/lli/ForwardingMemoryManager.h
M llvm/tools/sancov/sancov.cpp
M llvm/unittests/Support/ErrorOrTest.cpp
Log Message:
-----------
[llvm] Use std::make_unique (NFC) (#97165)
This patch is based on clang-tidy's modernize-make-unique but limited
to those cases where type names are mentioned twice like
std::unique_ptr<Type>(new Type()), which is a bit mouthful.
Commit: 8d4aa1f22ea08b12a7958b681e8a265f78cb349f
https://github.com/llvm/llvm-project/commit/8d4aa1f22ea08b12a7958b681e8a265f78cb349f
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpState.h
A clang/test/AST/Interp/const-temporaries.cpp
Log Message:
-----------
[clang][Interp] Update global temporaries at the end of a declaration
When we create a global temporary variable via a
LifetimeExtendedTemporaryDecl, we have an expression to initialize it
with, so we evaluate that expression, convert it to an APValue and set
it on the LETD. However, when the value is updated after the
initialization, we don't propagate the new value to the LETD, which
means we will see an outdated value set on the LETD.
Fix this by keeping a list of seen LETDs and update them from the
global variable at the end of evaluation a declaration.
Commit: 37698d924840a229e5a1bece8f5e845e0f5c80a6
https://github.com/llvm/llvm-project/commit/37698d924840a229e5a1bece8f5e845e0f5c80a6
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
Log Message:
-----------
[clang][Interp][NFC] Use CheckLoad() in Inc/Dec ops
CheckLoad checks more things than we did before.
Commit: 40f4bd18f2fb01731fa7891fb7349e05dc98aeec
https://github.com/llvm/llvm-project/commit/40f4bd18f2fb01731fa7891fb7349e05dc98aeec
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/Context.h
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/InterpBlock.cpp
M clang/lib/AST/Interp/InterpBlock.h
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/Program.cpp
M clang/test/AST/Interp/const-temporaries.cpp
A clang/test/AST/Interp/mutable.cpp
Log Message:
-----------
[clang][Interp] Allow reading mutable members if they were created...
... in this evaluation.
Commit: 5a8c4b597beed38e392f221042d29f475a3d1626
https://github.com/llvm/llvm-project/commit/5a8c4b597beed38e392f221042d29f475a3d1626
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/test/AST/Interp/const-temporaries.cpp
Log Message:
-----------
[clang][Interp] Don't allow reading from non-const blocks when returning
Commit: 2628a5fd2431184924cdc7d6b926bfeb36b75596
https://github.com/llvm/llvm-project/commit/2628a5fd2431184924cdc7d6b926bfeb36b75596
Author: Alexander Pivovarov <pivovaa at amazon.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/lib/Support/APFloat.cpp
M llvm/unittests/ADT/APFloatTest.cpp
M mlir/python/mlir/extras/types.py
Log Message:
-----------
Rename f8E4M3 to f8E4M3FN in mlir.extras.types py package (#97102)
Currently `f8E4M3` is mapped to `Float8E4M3FNType`.
This PR renames `f8E4M3` to `f8E4M3FN` to accurately reflect the actual
type.
This PR is needed to avoid names conflict in upcoming PR which will add
IEEE 754 `Float8E4M3Type`.
https://github.com/llvm/llvm-project/pull/97118 Add f8E4M3 IEEE 754 type
Maksim, can you review this PR? @makslevental ?
Commit: c00ada070207979f092be9046a02fcfff8b9f9ce
https://github.com/llvm/llvm-project/commit/c00ada070207979f092be9046a02fcfff8b9f9ce
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/ADT/Hashing.h
Log Message:
-----------
[Hashing] get_execution_seed: use a non-vague linkage symbol
Follow-up to #96282.
Since llvm/lib/Target files are compiled with -fvisibility=hidden,
the seed variable in libLLVM.so is hidden in a -DLLVM_BUILD_LLVM_DYLIB=on build.
This would cause `hash_value(std::string()), hash_value(StringRef())` to
fail since the former (might be part of the main executable) and the
latter (llvm/lib/Support/StringRef.cpp in libLLVM.so) use copies in
different components.
Commit: 9ea9e71f2e14e1fc8247349ab5dcfa8cc5a639c8
https://github.com/llvm/llvm-project/commit/9ea9e71f2e14e1fc8247349ab5dcfa8cc5a639c8
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Log Message:
-----------
[TargetLowering] Remove comment above definition of TargetLowering::EmitInstrWithCustomInserter. NFC
This duplicates the documentation from the declaration, but has
gotten out of sync. There was a mention of a DenseMap that has
been gone for 14 years. Since this declaration is a default
implementation of a virtual function, its unlikely to be looked at.
Just remove it.
Commit: b8450d4ec8ba07dfaf9d7475ef34e3c333e9b361
https://github.com/llvm/llvm-project/commit/b8450d4ec8ba07dfaf9d7475ef34e3c333e9b361
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M libc/test/src/math/sincos_test.cpp
Log Message:
-----------
[libc] Fix incomplete sincos_test. (#97174)
Commit: 56b2fcf001b765ff0886c058e3945f5d9b39b81c
https://github.com/llvm/llvm-project/commit/56b2fcf001b765ff0886c058e3945f5d9b39b81c
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M compiler-rt/lib/safestack/safestack_platform.h
Log Message:
-----------
[compiler-rt] safestack fix (old ?) solaris build. (#97178)
Commit: 4a96803abda2ad74f326de0af6b16552067bda65
https://github.com/llvm/llvm-project/commit/4a96803abda2ad74f326de0af6b16552067bda65
Author: DianQK <dianqk at dianqk.net>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/mul_pow2.ll
Log Message:
-----------
[AArch64] Avoid overflow when using shl lower mul (#97148)
Fixes #97147.
Transforming `(mul x, -(2^(N-M) - 1) * 2^M)` to `(sub (shl x, M), (shl
x, N))` will cause overflow when N is 32 and M is 31. I still added
checks for all scenarios, even other scenarios, don't seem to cause overflow.
Commit: 534f6ed6237ddf8b966b66c7b0a491fff5b33afb
https://github.com/llvm/llvm-project/commit/534f6ed6237ddf8b966b66c7b0a491fff5b33afb
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/lib/MC/MachObjectWriter.cpp
Log Message:
-----------
[MC,MachO] Remove unneeded condition from isSymbolRefDifferenceFullyResolvedImpl
The code change from 91ea511436232c3b240d5f0a67a4639d7149dfdc (2011) can
now be removed.
Commit: 56ef6a2eb2a25d5960eafdb17eaaaa73cb318e57
https://github.com/llvm/llvm-project/commit/56ef6a2eb2a25d5960eafdb17eaaaa73cb318e57
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/llvm_libc_ext.td
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/f16div.h
A libc/src/math/f16divf128.h
A libc/src/math/f16divl.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/f16div.cpp
A libc/src/math/generic/f16divf128.cpp
A libc/src/math/generic/f16divl.cpp
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/f16div_test.cpp
A libc/test/src/math/f16divl_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/f16div_test.cpp
A libc/test/src/math/smoke/f16divf128_test.cpp
A libc/test/src/math/smoke/f16divl_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc][math][c23] Add f16div{,l,f128} C23 math functions (#97054)
Part of #93566.
Commit: caf26b9437ae3e26d4c9c8680d3e755aafeda6ed
https://github.com/llvm/llvm-project/commit/caf26b9437ae3e26d4c9c8680d3e755aafeda6ed
Author: Youngsuk Kim <joseph942010 at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/utils/FileCheck/FileCheck.cpp
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/AsmWriterEmitter.cpp
M llvm/utils/TableGen/Common/VarLenCodeEmitterGen.cpp
Log Message:
-----------
[llvm][utils] Avoid 'raw_string_ostream::str()' (NFC) (#97160)
Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.
Work towards TODO comment to remove `raw_string_ostream::str()`.
Commit: 2a6e32ea340789e84582b0fecb4a2a19bcd283b4
https://github.com/llvm/llvm-project/commit/2a6e32ea340789e84582b0fecb4a2a19bcd283b4
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
Log Message:
-----------
[libc][math][c23] Temporarily disable f16div{l,f128} on AArch64 (#97182)
Due to Clang 11 backend error ("Unsupported library call operation!").
See Buildbot failures:
- https://lab.llvm.org/buildbot/#/builders/104/builds/1105
- https://lab.llvm.org/buildbot/#/builders/71/builds/1100
Commit: bc6d925528439b8a8dfefdcaeaab4be2e0904b15
https://github.com/llvm/llvm-project/commit/bc6d925528439b8a8dfefdcaeaab4be2e0904b15
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
Log Message:
-----------
[MC] Simplify isSymbolRefDifferenceFullyResolvedImpl overloads. NFC
The base implementation is simple. Just inline it.
Commit: eb5dbaf8d013839a66691e954a58d22a41f3c027
https://github.com/llvm/llvm-project/commit/eb5dbaf8d013839a66691e954a58d22a41f3c027
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGCoroutine.cpp
M clang/lib/Interpreter/CodeCompletion.cpp
Log Message:
-----------
[clang] Use std::make_unique (NFC) (#97176)
This patch is based on clang-tidy's modernize-make-unique but limited
to those cases where type names are mentioned twice like
`std::unique_ptr<Type>(new Type())`, which is a bit mouthful.
Commit: 3a90c27385e9a8b50e40a307822906a1303c310b
https://github.com/llvm/llvm-project/commit/3a90c27385e9a8b50e40a307822906a1303c310b
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCMachObjectWriter.h
M llvm/include/llvm/MC/MCObjectWriter.h
M llvm/lib/MC/MCObjectWriter.cpp
M llvm/lib/MC/MachObjectWriter.cpp
M llvm/test/MC/MachO/darwin-x86_64-diff-reloc-assign-2.s
Log Message:
-----------
[MC] Remove an overload of isSymbolRefDifferenceFullyResolvedImpl
e3a20f57d927e422874a8e7730bb7590515b586d (2015) overloaded
isSymbolRefDifferenceFullyResolvedImpl with the IsPCRel parameter.
The overload without IsPCRel is only customized by Mach-O to
dsiable `.long L_var4 - L_var3` folding in
darwin-x86_64-diff-reloc-assign-2.s, but that seems unnecessary.
Commit: b0260c5b1052f8e3ff1ec77dc42a11f42da762cc
https://github.com/llvm/llvm-project/commit/b0260c5b1052f8e3ff1ec77dc42a11f42da762cc
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M compiler-rt/test/safestack/lit.cfg.py
Log Message:
-----------
[compiler-rt] safestack disable tests for now. (#97183)
Commit: 55a1e0c0cd24aff6a23222a5690d1e7ba3686e9c
https://github.com/llvm/llvm-project/commit/55a1e0c0cd24aff6a23222a5690d1e7ba3686e9c
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCContext.h
M llvm/lib/MC/MCContext.cpp
M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
Log Message:
-----------
[MC] getWasmSection: remove unused BeginSymName
This is cargo culting for Mach-O. See #96810
Commit: e5aef72c0af7fd8fcdde107e31444970d3fb87ea
https://github.com/llvm/llvm-project/commit/e5aef72c0af7fd8fcdde107e31444970d3fb87ea
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/RegAllocBase.cpp
Log Message:
-----------
[CodeGen] Use a range-based for loop (NFC) (#97177)
I++ in the loop might appear to indicate that the loop modifies the
container in some way (deletion or insertion), but the loop just
examines the container.
Commit: 66518ad7fd3383d1f1b617914c0bc3437ac3a355
https://github.com/llvm/llvm-project/commit/66518ad7fd3383d1f1b617914c0bc3437ac3a355
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCSection.h
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
Log Message:
-----------
[MC] Remove addFragment. NFC
This was introduced in dcb71c06c7b059e313f22e46bc9c41343a03f1eb to help
migrate away raw `operator new` and refactor the fragment
representation.
This is now unneeded after `MCStreamer::CurFrag` and
`MCSection::CurFragList` refactoring.
Commit: f6fc503b6791bd7d38ba62c249091eabed297471
https://github.com/llvm/llvm-project/commit/f6fc503b6791bd7d38ba62c249091eabed297471
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCStreamer.h
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/MC/MCStreamer.cpp
Log Message:
-----------
[MC] Remove MCStreamer::SymbolOrdering
21101b32318647f600584d966c697d8773f59629 (2013) added SymbolOrdering,
which essentially became useless when
e3a20f57d927e422874a8e7730bb7590515b586d (2015) removed `AssignSection`
from `EmitLabel`. `assignFragment` is still used in very few places like
emitTBSSSymbol, which do not make a difference if we remove
SymbolOrdering.
Commit: dd64e4fa2fd72bc806d4b5b9c07fc235053733e3
https://github.com/llvm/llvm-project/commit/dd64e4fa2fd72bc806d4b5b9c07fc235053733e3
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCStreamer.h
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCStreamer.cpp
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFStreamer.cpp
Log Message:
-----------
[MC] Remove assignFragment
Follow-up to f6fc503b6791bd7d38ba62c249091eabed297471 ("[MC] Remove MCStreamer::SymbolOrdering").
Commit: 2853a838d22b69f61ed376abbd9ab5e625111f44
https://github.com/llvm/llvm-project/commit/2853a838d22b69f61ed376abbd9ab5e625111f44
Author: sstwcw <su3e8a96kzlver at posteo.net>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/Format.cpp
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Add option to remove leading blank lines (#91221)
The options regarding which blank lines are kept are also aggregated.
The new option is `KeepEmptyLines`.
This patch was initially part of 9267f8f19a2e502e. I neglected to check
the server builds before I added it. It broke clangd. Jie Fu fixed the
problem in 4c91b49bab0728d4. I was unaware of it. I thought the main
branch was still broken. I reverted the first patch in
70cfece24d6cbb57. It broke his fix. He reverted it in
c69ea04fb9738db2. Now the feature is added again including the fix.
Commit: aec7670b5d6354b63b011c9ed0632b70983b0328
https://github.com/llvm/llvm-project/commit/aec7670b5d6354b63b011c9ed0632b70983b0328
Author: sstwcw <su3e8a96kzlver at posteo.net>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M clang-tools-extra/clangd/Format.cpp
Log Message:
-----------
[clangd] Revert the change concerning new lines
See the comment.
https://github.com/llvm/llvm-project/commit/2853a838d22b69f61ed376abbd9ab5e625111f44#r143690024
Commit: 49fdbbcfed96a3d7a957a4d9c31ebeb1d3950dd2
https://github.com/llvm/llvm-project/commit/49fdbbcfed96a3d7a957a4d9c31ebeb1d3950dd2
Author: Shaw Young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
A bolt/test/X86/hashing-based-function-matching.test
M llvm/docs/ReleaseNotes.rst
Log Message:
-----------
[BOLT] Match functions with exact hash (#96572)
Added flag '--match-profile-with-function-hash' to match functions
based on exact hash. After identical and LTO name matching, more
functions can be recovered for inference with exact hash, in the case
of function renaming with no functional changes. Collisions are
possible in the unlikely case where multiple functions share the same
exact hash. The flag is off by default as it requires the processing of
all binary functions and subsequently is expensive.
Test Plan: added hashing-based-function-matching.test.
Commit: 6b737c444617fe8c11eb48f978c579cc160bfff0
https://github.com/llvm/llvm-project/commit/6b737c444617fe8c11eb48f978c579cc160bfff0
Author: Takuya Shimizu <shimizu2486 at gmail.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaChecking.cpp
M clang/test/Sema/atomic-ops.c
M clang/test/SemaCXX/atomic-ops.cpp
Log Message:
-----------
[clang][Sema] Fix crash on atomic builtins with incomplete type args (#96374)
This patch fixes the crash when pointers to incomplete type are passed
to atomic builtins such as `__atomic_load`.
`ASTContext::getTypeInfoInChars` assumes that the argument type is a
complete type, so I added a check to eliminate cases where incomplete
types gets passed to this function
Relevant PR: https://github.com/llvm/llvm-project/pull/91057
Fixes https://github.com/llvm/llvm-project/issues/96289
Commit: ab200864220b72b3bdf1fe9d001ad3d1e4d9d4b3
https://github.com/llvm/llvm-project/commit/ab200864220b72b3bdf1fe9d001ad3d1e4d9d4b3
Author: Jakub Chlanda <jakub at codeplay.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M clang/include/clang/Basic/Cuda.h
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/Basic/Targets/NVPTX.h
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/OffloadBundler.cpp
M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/Cuda.h
M clang/lib/Sema/SemaDeclAttr.cpp
Log Message:
-----------
[CUDA][NFC] CudaArch to OffloadArch rename (#97028)
Rename `CudaArch` to `OffloadArch` to better reflect its content and the
use.
Apply a similar rename to helpers handling the enum.
Commit: 1d27348e537e1b25d727ec6f4d5d820a4dd8a789
https://github.com/llvm/llvm-project/commit/1d27348e537e1b25d727ec6f4d5d820a4dd8a789
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
Log Message:
-----------
ValueTracking: Simplify intrinsic ID asserts
Commit: 1518b260ce2cbd9286365709642dc749e542d683
https://github.com/llvm/llvm-project/commit/1518b260ce2cbd9286365709642dc749e542d683
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp
M llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
M llvm/include/llvm/Analysis/IndirectCallVisitor.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/Transforms/Inline/update_invoke_prof.ll
M llvm/test/Transforms/Inline/update_value_profile.ll
A llvm/test/Transforms/PGOProfile/icp_vtable_cmp.ll
A llvm/test/Transforms/PGOProfile/icp_vtable_invoke.ll
A llvm/test/Transforms/PGOProfile/icp_vtable_tail_call.ll
Log Message:
-----------
[TypeProf][InstrFDO]Implement more efficient comparison sequence for indirect-call-promotion with vtable profiles. (#81442)
Clang's `-fwhole-program-vtables` is required for this optimization to
take place. If `-fwhole-program-vtables` is not enabled, this change is
no-op.
* Function-comparison (before):
```
%vtable = load ptr, ptr %obj
%vfn = getelementptr inbounds ptr, ptr %vtable, i64 1
%func = load ptr, ptr %vfn
%cond = icmp eq ptr %func, @callee
br i1 %cond, label bb1, label bb2:
bb1:
call @callee
bb2:
call %func
```
* VTable-comparison (after):
```
%vtable = load ptr, ptr %obj
%cond = icmp eq ptr %vtable, @vtable-address-point
br i1 %cond, label bb1, label bb2:
bb1:
call @callee
bb2:
%vfn = getelementptr inbounds ptr, ptr %vtable, i64 1
%func = load ptr, ptr %vfn
call %func
```
Key changes:
1. Find out virtual calls and the vtables they come from.
- The ICP relies on type intrinsic `llvm.type.test` to find out virtual
calls and the
compatible vtables, and relies on type metadata to find the address
point for comparison.
2. ICP pass does cost-benefit analysis and compares vtable only when the
number of vtables for a function candidate is within (option specified)
threshold.
3. Sink the function addressing and vtable load instruction to indirect
fallback.
- The sink helper functions are simplified versions of
`InstCombinerImpl::tryToSinkInstruction`. Currently debug intrinsics are
not handled. Ideally `InstCombinerImpl::tryToSinkInstructionDbgValues`
and `InstCombinerImpl::tryToSinkInstructionDbgVariableRecords` could be
moved into Transforms/Utils/Local.cpp (or another util cpp file) to
handle debug intrinsics when moving instructions across basic blocks.
4. Keep value profiles updated
1) Update vtable value profiles after inline
2) For either function-based comparison or vtable-based comparison,
update both vtable and indirect call value profiles.
Commit: 76bc0714185c50c6234a74ee3d85509f66fa772e
https://github.com/llvm/llvm-project/commit/76bc0714185c50c6234a74ee3d85509f66fa772e
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/test/CodeGen/AMDGPU/llvm.ldexp.ll
Log Message:
-----------
DAG: Fix assert when legalizing v3f16 ldexp (#97098)
For the v3f16.v3i32 case, the v3f16 would request widening
to v4f16, but the v3i32 does not require widening to be a legal
type, so GetWidenedVector would fail. We need to widen the exponent
vector to the same element count as the result.
Fixes: SWDEV-470951
Commit: 2afa193b3b4250aa90ae827a4832370ad9c127f6
https://github.com/llvm/llvm-project/commit/2afa193b3b4250aa90ae827a4832370ad9c127f6
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-29 (Sat, 29 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmLayout.h
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Log Message:
-----------
[MC] Remove MCAsmLayout::invalidateFragmentsFrom
The simplification is enabled by
9d0754ada5dbbc0c009bcc2f7824488419cc5530 ("[MC] Relax fragments eagerly").
Commit: 2399d8776861760edd15f871c740a3b6b43ca9a1
https://github.com/llvm/llvm-project/commit/2399d8776861760edd15f871c740a3b6b43ca9a1
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
Log Message:
-----------
[Transforms] Let amdgcn take advantage of sin(-x) --> -sin(x) (#79700)
We do it for amdgcn_cos, and we should do it for amdgcn_sin as well.
Commit: 56a636f2d22890cc71f358ddc50d3e0f2b60bd9c
https://github.com/llvm/llvm-project/commit/56a636f2d22890cc71f358ddc50d3e0f2b60bd9c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M clang/lib/AST/Interp/Compiler.cpp
M clang/lib/AST/Interp/Compiler.h
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Implement StmtExprs
Commit: 9fa7c05a1f17c69377ecacb0b1193508770f5905
https://github.com/llvm/llvm-project/commit/9fa7c05a1f17c69377ecacb0b1193508770f5905
Author: Akshay Deodhar <adeodhar at nvidia.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
M llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
Log Message:
-----------
[NVPTX] Improved support for grid_constant (#97112)
- Supports escaped grid_constant pointers less conservatively. Casts
uses inside Calls, PtrToInts, Stores where the pointer is a _value
operand_ to generic address space, immediately before the escape, while
keeping other uses in the param address space
- Related to: https://github.com/llvm/llvm-project/pull/96125
Commit: 2ff22d7485f9f3b28f304f3ab40ef2d4f442b411
https://github.com/llvm/llvm-project/commit/2ff22d7485f9f3b28f304f3ab40ef2d4f442b411
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
Log Message:
-----------
AMDGPU/GlobalISel: Reorganize select switch cases
Commit: d9f1166732fa43d558f5a656e8cb2173f07cf5e8
https://github.com/llvm/llvm-project/commit/d9f1166732fa43d558f5a656e8cb2173f07cf5e8
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/avx512-shuffles/partial_permute.ll
M llvm/test/CodeGen/X86/shuffle-vs-trunc-512.ll
Log Message:
-----------
[X86] Combine VPERMV3 to VPERMV for i8/i16 (#96414)
VPERM[I,T]2[B,W] are 3 uops on Skylake and Icelake so we try to use
VPERMV.
Commit: eed7c5e29c1dc5f78bd01608430e2b4e0c439bb1
https://github.com/llvm/llvm-project/commit/eed7c5e29c1dc5f78bd01608430e2b4e0c439bb1
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/any_extend_vector_inreg_of_broadcast.ll
M llvm/test/CodeGen/X86/shuffle-vs-trunc-128.ll
M llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast.ll
Log Message:
-----------
[X86] Peek through bitcast to find more opportunity for VPERMV3 -> VPERMV combine
A follow up of #96414
Commit: 22dfa1aa2c6b4026b4a5d1f594197ee22af3136d
https://github.com/llvm/llvm-project/commit/22dfa1aa2c6b4026b4a5d1f594197ee22af3136d
Author: Johannes Reifferscheid <jreiffers at google.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M mlir/lib/IR/AffineExpr.cpp
M mlir/unittests/IR/AffineExprTest.cpp
Log Message:
-----------
[mlir] Fold ceil/floordiv with negative RHS. (#97031)
Currently, we only fold if the RHS is a positive constant. There doesn't
seem to be a good reason to do that. The comment claims that division by
negative values is undefined, but I suspect that was just copied over
from the `mod` simplifier.
Commit: 0c9f537d41a118c190ba7677175795329f355148
https://github.com/llvm/llvm-project/commit/0c9f537d41a118c190ba7677175795329f355148
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxxabi/include/cxxabi.h
M libcxxabi/lib/itanium-exceptions.exp
M libcxxabi/src/cxa_exception.cpp
M libcxxabi/test/catch_const_pointer_nullptr.pass.cpp
A libcxxabi/test/cxa_call_terminate.pass.cpp
Log Message:
-----------
[libc++abi] Fix test failures with GCC 14 (#95759)
This adds a new `__cxa_call_terminate`, which GCC 14 generates calls to
now. Clang had `__clang_call_terminate` for the same use-case for a long
time. It also fixes a test that is enabled now, since GCC has the
`__has_feature` FTM now.
Commit: f1903431558b93f0fc48f195282f61194cb024fe
https://github.com/llvm/llvm-project/commit/f1903431558b93f0fc48f195282f61194cb024fe
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M libcxx/utils/ci/Dockerfile
M libcxx/utils/ci/docker-compose.yml
Log Message:
-----------
[libc++] Upgrade to GCC 14 in the CI (#95212)
Commit: 0e6257fbc2a1e0ccccec6a58d780ef5367047120
https://github.com/llvm/llvm-project/commit/0e6257fbc2a1e0ccccec6a58d780ef5367047120
Author: Nuno Lopes <nuno.lopes at tecnico.ulisboa.pt>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
M llvm/lib/CodeGen/MachineSSAUpdater.cpp
M llvm/lib/Transforms/Utils/SSAUpdater.cpp
M llvm/test/CodeGen/AMDGPU/promote-alloca-non-constant-index.ll
M llvm/test/Transforms/GVN/pr48805.ll
Log Message:
-----------
SSAUpdater: use poison instead of undef in phi entries for unreachable predecessors
Commit: a4b49745af92375968659411b02ac4866a076dd1
https://github.com/llvm/llvm-project/commit/a4b49745af92375968659411b02ac4866a076dd1
Author: Nuno Lopes <nuno.lopes at tecnico.ulisboa.pt>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/CodeGen/StackColoring.cpp
Log Message:
-----------
[StackColoring] Use poison instead of undef as placeholder when deleting values [NFC]
Commit: 7d33d4720f85fa2df7c1307bcc185017b6e4dd25
https://github.com/llvm/llvm-project/commit/7d33d4720f85fa2df7c1307bcc185017b6e4dd25
Author: Nuno Lopes <nuno.lopes at tecnico.ulisboa.pt>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopFuse.cpp
Log Message:
-----------
[LoopFuse] Use poison instead of undef as placeholder for phi entry of unreachable predecessor [NFC]
Commit: 022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd
https://github.com/llvm/llvm-project/commit/022d15c0039fc1cfaa3cc2eb1a45b71bbb21fadd
Author: Nuno Lopes <nuno.lopes at tecnico.ulisboa.pt>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopDeletion.cpp
M llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll
Log Message:
-----------
[LoopDeletion] match poison instead of undef for phi entries without an useful value
Commit: 6699807fa7397b1ba5c2c148d04d88afd3309226
https://github.com/llvm/llvm-project/commit/6699807fa7397b1ba5c2c148d04d88afd3309226
Author: Matthias Springer <me at m-sp.org>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/test/Dialect/Linalg/bufferize.mlir
Log Message:
-----------
[mlir][linalg] Add bufferization for `linalg.softmax` (#97019)
Implement the `BufferizableOpInterface` for `linalg.softmax`. The op is
not a `LinalgOp`, so it is not covered by the "catch all" `LinalgOp`
interface implementation.
Commit: 7782de8a1f85c33b09828ae60b979f0655cca47f
https://github.com/llvm/llvm-project/commit/7782de8a1f85c33b09828ae60b979f0655cca47f
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M libcxx/utils/ci/Dockerfile
Log Message:
-----------
[libc++] Don't use a ppa for GCC
Ubuntu noble provides all the required compilers, but the ppa doesn't
yet. Simply don't use the ppa to make it possible to update to GCC 14.
Commit: 66d86a63e7f10905fd3e6104cebceeb53851ff1d
https://github.com/llvm/llvm-project/commit/66d86a63e7f10905fd3e6104cebceeb53851ff1d
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineDominators.h
M llvm/include/llvm/CodeGen/MachinePostDominators.h
Log Message:
-----------
[MachineDominator] Align with IR version (#97214)
- Mark constructor explicit.
- Provide `isRequired`.
Commit: d40768f57ec017c20f2096916f782842eab41da4
https://github.com/llvm/llvm-project/commit/d40768f57ec017c20f2096916f782842eab41da4
Author: Youngsuk Kim <joseph942010 at gmail.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
M llvm/include/llvm/Support/Error.h
M llvm/include/llvm/Support/GraphWriter.h
M llvm/include/llvm/Support/ScopedPrinter.h
M llvm/include/llvm/Support/YAMLTraits.h
Log Message:
-----------
[llvm] Avoid 'raw_string_ostream::str()' (NFC) (#97203)
Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.
Work towards TODO comment to remove `raw_string_ostream::str()`.
Commit: 2051736f7bc3fb1a8daaeecc854f93604a590aba
https://github.com/llvm/llvm-project/commit/2051736f7bc3fb1a8daaeecc854f93604a590aba
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/IROutliner.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[llvm][Transforms] Avoid 'raw_string_ostream::str' (NFC)
Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.
Work towards TODO comment to remove `raw_string_ostream::str()`.
Commit: ac84ada9a169a72ad136ef05c2c194f594f24a37
https://github.com/llvm/llvm-project/commit/ac84ada9a169a72ad136ef05c2c194f594f24a37
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M clang/lib/Tooling/Transformer/Stencil.cpp
M clang/unittests/AST/MatchVerifier.h
M clang/unittests/Interpreter/InterpreterTest.cpp
M clang/unittests/Tooling/RecursiveASTVisitorTests/DeductionGuide.cpp
M clang/unittests/Tooling/ReplacementsYamlTest.cpp
Log Message:
-----------
[clang] Avoid 'raw_string_ostream::str' (NFC)
Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.
Work towards TODO comment to remove `raw_string_ostream::str()`.
Commit: a9b1e80acbb3249a245a7bbd8c8f89607bcad954
https://github.com/llvm/llvm-project/commit/a9b1e80acbb3249a245a7bbd8c8f89607bcad954
Author: PeterChou1 <peter.chou at mail.utoronto.ca>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M clang-tools-extra/clang-doc/HTMLGenerator.cpp
M clang-tools-extra/clang-doc/assets/index.js
M clang-tools-extra/test/clang-doc/basic-project.test
Log Message:
-----------
[clang-doc] add async loading (#93276)
Fixes https://github.com/llvm/llvm-project/issues/93273
This patch changes the way clang-doc loads html indexes. Previously
clang-doc loaded the index via an index_json.js file which uses
JSON.parse to parse the file. This patches changes that to use an async
function called LoadIndex which enables asynchronous loading making the
initial page load not be blocked by loading a large JavaScript object.
Commit: 6cb69d6c1ad8a8d1f3057b845ebc01dca261639c
https://github.com/llvm/llvm-project/commit/6cb69d6c1ad8a8d1f3057b845ebc01dca261639c
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCAssembler.h
M llvm/lib/MC/MCAssembler.cpp
Log Message:
-----------
[MC] Move bool members earlier. NFC
RelaxAll/SubsectionsViaSyms are used more frequently then vector members
like Sections/Symbols. The size of MCAssembler doesn't particularly
matter, so avoid bit fields.
Commit: 4066a3206012cded6de2e286732dca721d37bcd3
https://github.com/llvm/llvm-project/commit/4066a3206012cded6de2e286732dca721d37bcd3
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
Log Message:
-----------
[TypeProf] Include unordered_map after #81442
Needed by VTableAddressPointOffsetValMap.
Commit: 41a08e764aeec92703285754b5e8acd85283b1a6
https://github.com/llvm/llvm-project/commit/41a08e764aeec92703285754b5e8acd85283b1a6
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmInfo.h
M llvm/include/llvm/MC/MCAsmInfoDarwin.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCMachObjectWriter.h
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/MC/MCAsmInfo.cpp
M llvm/lib/MC/MCAsmInfoDarwin.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MachObjectWriter.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
M llvm/test/CodeGen/X86/osx-private-labels.ll
Log Message:
-----------
[MC] Move Mach-O specific getAtom and isSectionAtomizableBySymbols to Mach-O files
and devirtualize isSectionAtomizableBySymbols.
Commit: cd68532e37e2671e9f35fad2fd1078451d1d8a38
https://github.com/llvm/llvm-project/commit/cd68532e37e2671e9f35fad2fd1078451d1d8a38
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
M llvm/test/MC/RISCV/cfi-advance.s
Log Message:
-----------
[RISCV] relaxDwarfCallFrameFragment: remove unneeded relocations for -mno-relax
Follow-up to 2ef56d16adbe888a7e8c20684aa98d3f07c0eb98 for -mrelax.
https://reviews.llvm.org/D155357 allowed us to use Layout as the
parameter without correctness issues.
Commit: 69d3793ffbaccc134119d93831199fcc4294579b
https://github.com/llvm/llvm-project/commit/69d3793ffbaccc134119d93831199fcc4294579b
Author: Théo Degioanni <theo.degioanni.llvm.deluge062 at simplelogin.fr>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M mlir/include/mlir/Interfaces/MemorySlotInterfaces.h
M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
M mlir/lib/Dialect/MemRef/IR/MemRefMemorySlot.cpp
M mlir/lib/Transforms/SROA.cpp
M mlir/test/lib/Dialect/Test/TestOpDefs.cpp
Log Message:
-----------
[mlir][sroa] Update name of subelement types in destructurable slots (#97226)
The `elementPtrs` has changed meaning over time and the name is now
outdated which may be confusing. This PR updates it to a name
representative of current usage.
Commit: 3efac5c68ac3117e8488a7fa247e45951e52936f
https://github.com/llvm/llvm-project/commit/3efac5c68ac3117e8488a7fa247e45951e52936f
Author: Javed Absar <106147771+javedabsar1 at users.noreply.github.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Passes.td
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
M mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
A mlir/test/Dialect/Linalg/roundtrip-linalg-named-ops.mlir
A mlir/test/Dialect/Linalg/specialize-generic-ops.mlir
A mlir/test/Dialect/Linalg/transform-op-specialize-elemwise-binary.mlir
A mlir/test/Dialect/Linalg/transform-op-specialize-elemwise-unary.mlir
A mlir/test/Dialect/Linalg/transform-op-specialize-matmul.mlir
R mlir/test/Dialect/Linalg/transform-op-specialize_elemwise_binary.mlir
R mlir/test/Dialect/Linalg/transform-op-specialize_elemwise_unary.mlir
Log Message:
-----------
[MLIR][Linalg] Add pass to convert linalg.generic back to named ops (#95656)
Add a new mlir-opt pass `--linalg-specialize-generic-ops` which lifts generic,
where possible, to linalg named ops.
Much like `-linalg-generalize-named-ops` lowers named ops to linalg.generic .
Also add patterns to recognize contractions which can be specialized from
linalg.generic to named op: `linalg.{batch_}?matmul{_transpose_(a|b)}?`
Commit: 4997af98a008e71a3df61707559710d1c2769839
https://github.com/llvm/llvm-project/commit/4997af98a008e71a3df61707559710d1c2769839
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/CodeGen/ARM/and-cmp0-sink.ll
A llvm/test/Transforms/SimplifyCFG/branch-nested.ll
Log Message:
-----------
[SimplifyCFG] Simplify nested branches (#97067)
This patch folds the following pattern (I don't know what to call this):
```
bb0:
br i1 %cond1, label %bb1, label %bb2
bb1:
br i1 %cond2, label %bb3, label %bb4
bb2:
br i1 %cond2, label %bb4, label %bb3
bb3:
...
bb4:
...
```
into
```
bb0:
%cond = xor i1 %cond1, %cond2
br i1 %cond, label %bb4, label %bb3
bb3:
...
bb4:
...
```
Alive2: https://alive2.llvm.org/ce/z/5iOJEL
Closes https://github.com/llvm/llvm-project/issues/97022.
Closes https://github.com/llvm/llvm-project/issues/83417.
I found this pattern in some verilator-generated code, which is widely
used in RTL simulation. This fold will reduces branches and improves the
performance of CPU frontend. To my surprise, this pattern is also common
in C/C++ code base.
Affected libraries/applications:
cmake/cvc5/freetype/git/gromacs/jq/linux/openblas/openmpi/openssl/php/postgres/ruby/sqlite/wireshark/z3/...
Commit: 038bc1c18c786e14cc306401b00144265f8860f5
https://github.com/llvm/llvm-project/commit/038bc1c18c786e14cc306401b00144265f8860f5
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp
Log Message:
-----------
[Test][compiler-rt]Require lld for instrprof-vtable-value-prof.cpp (#97228)
Fix test failure on
https://lab.llvm.org/buildbot/#/builders/95/builds/672
* lld project is disabled on that build bot [1] and external lld
`/home/buildbots/llvm-external-buildbots/clang.16.0.1/bin/ld.lld` is
used to run the test [2]. It doesn't know new options like
`-enable-vtable-value-profiling` (which was introduced in
https://github.com/llvm/llvm-project/commit/1351d17826e1efa3da3b29b6e345d44cb0ce3bc9)
* Update test to require `lld` and `lld-available`.
Tested:
1. By disabling lld in the project and using old `lld` installed
previously[3], I can reproduce the failure.
2. With `requires: lld`, the test become unsupported.
[1]
https://lab.llvm.org/buildbot/#/builders/95/builds/672/steps/4/logs/stdio
[2]
https://lab.llvm.org/buildbot/#/builders/95/builds/672/steps/6/logs/FAIL__Profile-powerpc64le__instrprof-vtable-value-
[3] `cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug
-DLLVM_ENABLE_PROJECTS='clang;compiler-rt' -DLLVM_USE_SPLIT_DWARF=On
-DLLVM_USE_LINKER=lld -DLLVM_ENABLE_SPHINX=ON
-DLLVM_OPTIMIZED_TABLEGEN=TRUE -DLLVM_TARGETS_TO_BUILD=X86
-DLLVM_ENABLE_ZLIB=1 ../llvm`
Commit: 10c894cffd0f4bef21b54a43b5780240532e44cf
https://github.com/llvm/llvm-project/commit/10c894cffd0f4bef21b54a43b5780240532e44cf
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCFragment.cpp
Log Message:
-----------
[MC] Move MCAsmLayout from MCFragment.cpp to MCAssembler.cpp. NFC
8d736236d36ca5c98832b7631aea2e538f6a54aa (2015) moved these MCAsmLayout
functions to MCFragment.cpp, but the original placement is better as
these functions are tightly coupled with MCAssembler.cpp.
Commit: 3cf762b7b77e62761eedde02f03e968353bdb7a0
https://github.com/llvm/llvm-project/commit/3cf762b7b77e62761eedde02f03e968353bdb7a0
Author: Kazu Hirata <kazu at google.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/lib/Transforms/IPO/SampleProfile.cpp
M llvm/lib/Transforms/Instrumentation/CGProfile.cpp
M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
Log Message:
-----------
[Transforms] Migrate to a new version of getValueProfDataFromInst (#96380)
Commit: 67957a45ee1ec42ae1671cdbfa0d73127346cc95
https://github.com/llvm/llvm-project/commit/67957a45ee1ec42ae1671cdbfa0d73127346cc95
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmLayout.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCExpr.h
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCExpr.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
Log Message:
-----------
[MC] Start merging MCAsmLayout into MCAssembler
Follow-up to 10c894cffd0f4bef21b54a43b5780240532e44cf.
MCAsmLayout, introduced by ac8a95498a99eb16dff9d3d0186616645d200b6e
(2010), provides APIs to compute fragment/symbol/section offsets.
The separate class is cumbersome and passing it around has overhead.
Let's remove it as the underlying implementation is tightly coupled with
MCAsmLayout anyway.
Some forwarders are added to ease migration.
Commit: 6c1c451b867f250f1c2fab709f0c8657ffd21116
https://github.com/llvm/llvm-project/commit/6c1c451b867f250f1c2fab709f0c8657ffd21116
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/llvm_libc_ext.td
M libc/spec/stdc.td
M libc/src/__support/FPUtil/generic/CMakeLists.txt
M libc/src/__support/FPUtil/generic/sqrt.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16sqrt.h
A libc/src/math/f16sqrtf128.h
A libc/src/math/f16sqrtl.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/f16sqrt.cpp
A libc/src/math/generic/f16sqrtf128.cpp
A libc/src/math/generic/f16sqrtl.cpp
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/SqrtTest.h
A libc/test/src/math/f16sqrt_test.cpp
A libc/test/src/math/f16sqrtl_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/f16sqrt_test.cpp
A libc/test/src/math/smoke/f16sqrtf128_test.cpp
A libc/test/src/math/smoke/f16sqrtl_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc][math][c23] Add f16sqrt{,l,f128} C23 math functions (#96642)
Part of #95250.
Commit: e19ac0dcfd7357161210f157ed0559836e88155f
https://github.com/llvm/llvm-project/commit/e19ac0dcfd7357161210f157ed0559836e88155f
Author: Ryotaro KASUGA <kasuga.ryotaro at fujitsu.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePipeliner.h
M llvm/lib/CodeGen/MachinePipeliner.cpp
A llvm/test/CodeGen/AArch64/sms-instruction-scheduled-at-correct-cycle.mir
Log Message:
-----------
[MachinePipeliner] Fix constraints aren't considered in certain cases (#95356)
when scheduling
When scheduling an instruction, if both any predecessors and any
successors of the instruction are already scheduled, `SchedStart` isn't
taken into account. It may result generating incorrect code. This patch
fixes the problem. Also, this patch merges `SchedStart` into
`EarlyStart` (same for `SchedEnd`).
Fixes https://github.com/llvm/llvm-project/issues/93936
Commit: 9b9405621bcc55b74d2177c960c21f62cc95e6fd
https://github.com/llvm/llvm-project/commit/9b9405621bcc55b74d2177c960c21f62cc95e6fd
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/avx512vl-intrinsics.ll
Log Message:
-----------
[X86] Relax VPERMV3 to VPERMV combine for more types (#97206)
This is a follow up of #96414
Commit: 1d4ce574a44bdac4ea0e0c12a75051af680b3633
https://github.com/llvm/llvm-project/commit/1d4ce574a44bdac4ea0e0c12a75051af680b3633
Author: zhicong zhong <zhiczhong at outlook.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M mlir/lib/Dialect/Bufferization/Transforms/EmptyTensorElimination.cpp
M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-analysis-empty-tensor-elimination.mlir
Log Message:
-----------
[mlir][bufferization] skip empty tensor elimination if they have different element type (#96998)
In the origin implementation, the empty tensor elimination will add a
`tensor.cast` and eliminate the tensor even if they have different
element type(f32, bf16). Here add a check for element type and skip the
elimination if they are different.
Commit: e6a961dbef773b16bda2cebc4bf9f3d1e0da42fc
https://github.com/llvm/llvm-project/commit/e6a961dbef773b16bda2cebc4bf9f3d1e0da42fc
Author: Ryotaro KASUGA <kasuga.ryotaro at fujitsu.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePipeliner.h
M llvm/lib/CodeGen/MachinePipeliner.cpp
R llvm/test/CodeGen/AArch64/sms-instruction-scheduled-at-correct-cycle.mir
Log Message:
-----------
Revert "[MachinePipeliner] Fix constraints aren't considered in certain cases" (#97246)
Reverts llvm/llvm-project#95356
Due to ppc64le test failures caught by the LLVM Buildbot.
https://lab.llvm.org/buildbot/#/builders/176/builds/576
Commit: 95b0187165e02fc838c184c7ea623359e0430155
https://github.com/llvm/llvm-project/commit/95b0187165e02fc838c184c7ea623359e0430155
Author: Luke Lau <luke at igalia.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
A llvm/test/CodeGen/RISCV/rvv/pr95865.ll
Log Message:
-----------
[RISCV] Remove deleted AVL register defs from LiveInterval instr maps (#97011)
When coalescing vsetvlis we might remove a use of a register AVL, which
in turn might leave the AVL def dead. When it's dead (currently limited
to just ADDIs) we delete the def, but we were forgetting to remove it
from LiveInterval's instruction map. This fixes #95865
Commit: 8598bcb9934dca16ea16d87304e00defc85d986c
https://github.com/llvm/llvm-project/commit/8598bcb9934dca16ea16d87304e00defc85d986c
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp
Log Message:
-----------
[compiler-rt][test]Use c-style headers in instrprof-vtable-value-prof.cpp (#97245)
Use c-style headers just like other compiler-rt/profile tests do [1], to
fix ` 'cstdio' file not found` in
https://lab.llvm.org/buildbot/#/builders/122/builds/150
[1]
https://github.com/llvm/llvm-project/blob/9b9405621bcc55b74d2177c960c21f62cc95e6fd/compiler-rt/test/profile/instrprof-value-prof.c#L27-L30
and
https://github.com/llvm/llvm-project/blob/9b9405621bcc55b74d2177c960c21f62cc95e6fd/compiler-rt/test/tsan/printf-1.c#L6-L16
Commit: 262ad4cdf4e9dd44ceec7a993cfce2b35a33fc34
https://github.com/llvm/llvm-project/commit/262ad4cdf4e9dd44ceec7a993cfce2b35a33fc34
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCMachObjectWriter.h
M llvm/lib/MC/MachObjectWriter.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
Log Message:
-----------
[MC] Remove the MCAsmLayout parameter from MCMachObjectTargetWriter
Commit: 4289c422a8b4caa96a8809d4f4e6d9b7e21824ba
https://github.com/llvm/llvm-project/commit/4289c422a8b4caa96a8809d4f4e6d9b7e21824ba
Author: Fangrui Song <i at maskray.me>
Date: 2024-06-30 (Sun, 30 Jun 2024)
Changed paths:
M llvm/include/llvm/MC/MCMachObjectWriter.h
M llvm/include/llvm/MC/MCObjectWriter.h
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/MC/GOFFObjectWriter.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCDXContainerWriter.cpp
M llvm/lib/MC/MachObjectWriter.cpp
M llvm/lib/MC/SPIRVObjectWriter.cpp
M llvm/lib/MC/WasmObjectWriter.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/lib/MC/XCOFFObjectWriter.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
Log Message:
-----------
[MC] Remove the MCAsmLayout parameter from MCObjectWriter::recordRelocation
Commit: 77a074be52beab8b183066e3467d5469de00ab06
https://github.com/llvm/llvm-project/commit/77a074be52beab8b183066e3467d5469de00ab06
Author: Daniel Bertalan <dani at danielbertalan.dev>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/test/tools/lto/no-bitcode.s
M llvm/test/tools/lto/opt-level.ll
M llvm/test/tools/lto/print-stats.ll
Log Message:
-----------
[LTO] Fix tests with ld64 from Xcode 16 (#97193)
ld64 tests now fail with the following error if the target platform
(e.g. `-macosx_version_min`) is not specified:
```
warning: platform not specified
warning: No platform min-version specified on command line
kernelKit can only be used with -r, -kext and -static
```
Commit: d03e8120577a8cee2950f8c48005d71619342c30
https://github.com/llvm/llvm-project/commit/d03e8120577a8cee2950f8c48005d71619342c30
Author: Luke Lau <luke at igalia.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Update LiveIntervals before erasing instr in RISCVInsertVSETVLI
Hopefully fixes a use-after-poison reported from the asan buildbots. I
wasn't able to recreate the assertion locally though.
Commit: 8f9d156ded93c8e8396ad36b433938bfc7883bc4
https://github.com/llvm/llvm-project/commit/8f9d156ded93c8e8396ad36b433938bfc7883bc4
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
A llvm/test/Transforms/SeparateConstOffsetFromGEP/preserving_debugloc_sext.ll
Log Message:
-----------
[DebugInfo][SeparateConstOffsetFromGEP] Fix missing debug location updates (#96849)
Fix #96841 .
Commit: 651e91658b6b119225f641f60c7750f42f0d1089
https://github.com/llvm/llvm-project/commit/651e91658b6b119225f641f60c7750f42f0d1089
Author: Luke Lau <luke at igalia.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
Log Message:
-----------
[RISCV] Add missing CHECK lines for new vsetvli test. NFC
Commit: 37661a17e26d9002ae9ade8c0de3932c22f16360
https://github.com/llvm/llvm-project/commit/37661a17e26d9002ae9ade8c0de3932c22f16360
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
A llvm/test/Transforms/JumpThreading/preserving-debugloc-br.ll
Log Message:
-----------
[DebugInfo][JumpThreading] Fix missing debug location updates for br instructions (#96889)
Fix #96885 .
Commit: d9e659c538516036e40330b6a98160cbda4ff100
https://github.com/llvm/llvm-project/commit/d9e659c538516036e40330b6a98160cbda4ff100
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M lldb/include/lldb/Target/RegisterFlags.h
M lldb/source/Core/DumpRegisterInfo.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
M lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
M lldb/source/Target/RegisterFlags.cpp
M lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterFlags.py
M lldb/unittests/Core/DumpRegisterInfoTest.cpp
Log Message:
-----------
Revert "[lldb] Parse and display register field enums" (#97258)
Reverts llvm/llvm-project#95768 due to a test failure on macOS with
ASAN:
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/lldb-cmake-sanitized/425/console
Commit: 1e6d5ded356d8b28bb4e8b4c7f76e86b15d6f719
https://github.com/llvm/llvm-project/commit/1e6d5ded356d8b28bb4e8b4c7f76e86b15d6f719
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M libcxx/docs/Hardening.rst
Log Message:
-----------
[libcxx][Docs] Correct link syntax in hardening docs
Commit: 22c7317f1e954b34a46640db5d509bae1c633348
https://github.com/llvm/llvm-project/commit/22c7317f1e954b34a46640db5d509bae1c633348
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/lib/MC/MCAsmBackend.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.h
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.h
M llvm/lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Log Message:
-----------
[MC] Remove the MCAsmLayout parameter from relocation related functions
Commit: 6859e5a169aa235ac04005aaa86ed5ae11372c4c
https://github.com/llvm/llvm-project/commit/6859e5a169aa235ac04005aaa86ed5ae11372c4c
Author: CarolineConcatto <caroline.concatto at arm.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
M clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/SMEInstrFormats.td
M llvm/test/CodeGen/AArch64/sme2p1-intrinsics-movaz.ll
Log Message:
-----------
[CLANG][LLVM][AArch64]Add SME2.1 intrinsics for MOVAZ array to vector (#88901)
According to the specification in
ARM-software/acle#309 this adds the intrinsics
Move and zero multiple ZA single-vector groups to vector registers
// Variants are also available for _za8_u8, _za16_s16, _za16_u16,
// _za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32,
// _za64_s64, _za64_u64 and _za64_f64
svint8x2_t svreadz_za8_s8_vg1x2(uint32_t slice)
__arm_streaming __arm_inout("za");
// Variants are also available for _za8_u8, _za16_s16, _za16_u16,
// _za16_f16, _za16_bf16, _za32_s32, _za32_u32, _za32_f32,
// _za64_s64, _za64_u64 and _za64_f64
svint8x4_t svreadz_za8_s8_vg1x4(uint32_t slice)
__arm_streaming __arm_inout("za");
Commit: 77eb05683082dd3751ccfab963f5160f1852058d
https://github.com/llvm/llvm-project/commit/77eb05683082dd3751ccfab963f5160f1852058d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/SimplifyQuery.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select-binop-cmp.ll
M llvm/test/Transforms/InstCombine/select-of-bittest.ll
M llvm/test/Transforms/InstCombine/select.ll
M llvm/test/Transforms/LoopVectorize/interleaved-accesses-pred-stores.ll
Log Message:
-----------
[InstCombine] Simplify select using KnownBits of condition (#95923)
Simplify the arms of a select based on the KnownBits implied by its condition.
For now this only handles the case where the select arm folds to a constant,
but this can be generalized to handle other patterns by using
SimplifyDemandedBits instead (in that case we would also have to limit to
non-undef conditions).
This is implemented by adding a new member to SimplifyQuery that can be used
to inject an additional condition. The affected values are pre-computed and
we don't call computeKnownBits() if the select arms don't contain affected
values. This reduces the cost in some pathological cases.
Commit: 32273ea22da6a65ed796b61c1e926649a28f9557
https://github.com/llvm/llvm-project/commit/32273ea22da6a65ed796b61c1e926649a28f9557
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
A llvm/test/CodeGen/X86/apx/cmov.ll
M llvm/test/CodeGen/X86/cmov.ll
Log Message:
-----------
[X86][test] Add a separate test for NDD CMOV
Commit: c3eea8991f3a29c891e4bb4a6eeddd8115ee78c8
https://github.com/llvm/llvm-project/commit/c3eea8991f3a29c891e4bb4a6eeddd8115ee78c8
Author: Mikhail Goncharov <goncharov.mikhail at gmail.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] update for 6c1c451b867f250f1c2fab709f0c8657ffd21116
it's interesting that bazel build passes
Commit: 4311b14e9c14c10f774ff916435ec7720b568df9
https://github.com/llvm/llvm-project/commit/4311b14e9c14c10f774ff916435ec7720b568df9
Author: Graham Hunter <graham.hunter at arm.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/include/llvm/Support/TypeSize.h
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
A llvm/test/Transforms/LoopStrengthReduce/AArch64/vscale-fixups.ll
Log Message:
-----------
[LSR] Recognize vscale-relative immediates (#88124)
Extends LoopStrengthReduce to recognize immediates multiplied by vscale, and query the current target for whether they are legal offsets for memory operations or adds.
Commit: f76ea319960161525bced4e3091ba4383714af7a
https://github.com/llvm/llvm-project/commit/f76ea319960161525bced4e3091ba4383714af7a
Author: Luke Lau <luke at igalia.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Deduplicate AVL forwarding in RISCVInsertVSETVLI. NFC
We do the AVL forwarding trick in both getInfoForVSETVLI and
computeInfoForInstr, but there's a bug with this that I plan on fixing
in an upcoming patch. This factors it out to so we only need to fix it
in one place.
Commit: 35620010074f2a115ad7446da64aa06637cab4b8
https://github.com/llvm/llvm-project/commit/35620010074f2a115ad7446da64aa06637cab4b8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/codegen-prepare-addrspacecast-non-null.ll
Log Message:
-----------
AMDGPU: Regenerate test checks to avoid spurious diff
Commit: 8bb00cb160830ec8f6029c2aae79d3e46b04b99c
https://github.com/llvm/llvm-project/commit/8bb00cb160830ec8f6029c2aae79d3e46b04b99c
Author: Dominik Adamski <dominik.adamski at amd.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
M clang/test/Driver/amdgpu-openmp-toolchain.c
Log Message:
-----------
[AMDGPU][OpenMP] Do not attach -fcuda-is-device flag for AMDGPU OpenMP (#96909)
`-fcuda-is-device` flag is not used for OpenMP offloading for AMD GPUs
and it does not need to be added as clang cc1 option for OpenMP code.
Commit: 208a08c3b7b00c05629c3f18811aac81f17cd81b
https://github.com/llvm/llvm-project/commit/208a08c3b7b00c05629c3f18811aac81f17cd81b
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M lldb/include/lldb/Target/RegisterFlags.h
M lldb/source/Core/DumpRegisterInfo.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
M lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
M lldb/source/Target/RegisterFlags.cpp
M lldb/test/API/functionalities/gdb_remote_client/TestXMLRegisterFlags.py
M lldb/unittests/Core/DumpRegisterInfoTest.cpp
Log Message:
-----------
Reland "[lldb] Parse and display register field enums" (#97258)" (#97270)
This reverts commit d9e659c538516036e40330b6a98160cbda4ff100.
I could not reproduce the Mac OS ASAN failure locally but I narrowed it
down to the test `test_many_fields_same_enum`. This test shares an enum
between x0, which is 64 bit, and cpsr, which is 32 bit.
My theory is that when it does `register read x0`, an enum type is
created where the undlerying enumerators are 64 bit, matching the
register size.
Then it does `register read cpsr` which used the cached enum type, but
this register is 32 bit. This caused lldb to try to read an 8 byte value
out of a 4 byte allocation:
READ of size 8 at 0x60200014b874 thread T0
<...>
=>0x60200014b800: fa fa fd fa fa fa fd fa fa fa fd fa fa fa[04]fa
To fix this I've added the register's size in bytes to the constructed
enum type's name. This means that x0 uses:
__lldb_register_fields_enum_some_enum_8
And cpsr uses:
__lldb_register_fields_enum_some_enum_4
If any other registers use this enum and are read, they will use the
cached type as long as their size matches, otherwise we make a new type.
Commit: 7f1d672d70eabe010567fcd8c365d27549736c6d
https://github.com/llvm/llvm-project/commit/7f1d672d70eabe010567fcd8c365d27549736c6d
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M clang/lib/AST/Interp/Compiler.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Opcodes.td
M clang/test/AST/Interp/cxx23.cpp
Log Message:
-----------
[clang][Interp] Diagnose static declarations in constexpr functions
Commit: 42fc93d3ffb35ec1ff5c6584e1b15d5118db7311
https://github.com/llvm/llvm-project/commit/42fc93d3ffb35ec1ff5c6584e1b15d5118db7311
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M clang/lib/AST/Interp/Compiler.cpp
Log Message:
-----------
[clang][Interp][NFC] Make a local pointer const
Commit: 3e168f5643eb6b4681ee11a06bde8eaeb4c2bcf6
https://github.com/llvm/llvm-project/commit/3e168f5643eb6b4681ee11a06bde8eaeb4c2bcf6
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
A mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
Log Message:
-----------
[MLIR][OpenMP] Add `OpenMP_Clause` tablegen definitions (#92521)
This patch adds a new tablegen file for the OpenMP dialect containing
the list of clauses currently supported.
Commit: d1fcfce83471c28bdf77d5e1e5c58c9cc6f7a051
https://github.com/llvm/llvm-project/commit/d1fcfce83471c28bdf77d5e1e5c58c9cc6f7a051
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
M mlir/test/Target/LLVMIR/omptarget-llvm.mlir
M mlir/test/Target/LLVMIR/omptarget-nowait-llvm.mlir
M mlir/test/Target/LLVMIR/omptarget-parallel-llvm.mlir
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
Log Message:
-----------
[MLIR][OpenMP] Clause-based OpenMP operation definition (#92523)
This patch updates `OpenMP_Op` definitions to be based on the new set of
`OpenMP_Clause` definitions, and to take advantage of clause-based
automatically-generated argument lists, descriptions, assembly format
and class declarations.
There are also changes introduced to the clause operands structures to
match the current set of tablegen clause definitions. These two are very
closely linked and should be kept in sync. It would probably be a good
idea to try generating clause operands structures from the tablegen
`OpenMP_Clause` definitions in the future.
As a result of this change, arguments for some operations have been
reordered. This patch also addresses this by updating affected operation
build calls and unit tests. Some other updates to tests related to the
order of arguments in the resulting assembly format and others due to
certain previous inconsistencies in the printing/parsing of clauses are
addressed.
The printer and parser functions for the `map` clause are updated, so
that they are able to handle `map` clauses linked to entry block
arguments as well as those which aren't.
This PR causes a build failure in the flang subproject. This is addressed
by the next PR in the stack.
Commit: 03d9a317725cdc03a0558eb49ff53bcc5c45dd08
https://github.com/llvm/llvm-project/commit/03d9a317725cdc03a0558eb49ff53bcc5c45dd08
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Lower/OpenMP/atomic-capture.f90
M flang/test/Lower/OpenMP/copyin-order.f90
M flang/test/Lower/OpenMP/parallel-wsloop.f90
M flang/test/Lower/OpenMP/parallel.f90
M flang/test/Lower/OpenMP/simd.f90
M flang/test/Lower/OpenMP/target.f90
M flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90
Log Message:
-----------
[Flang][OpenMP] Update flang with changes to the OpenMP dialect (#92524)
This patch applies fixes after the updates to OpenMP clause operands, as
well as updating some tests that were impacted by changes to the
ordering or assembly format of some clauses in MLIR.
Commit: c769dc457c92be520a068f4d51aea999da568996
https://github.com/llvm/llvm-project/commit/c769dc457c92be520a068f4d51aea999da568996
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
A llvm/test/CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll
Log Message:
-----------
AMDGPU: Add baseline test for copysign combine (#97150)
Pre-commit tests showing we try to SimplifyDemandedBits on the
sign operand.
Commit: db9252b115ce699a98b3a0ab80504da1364cc311
https://github.com/llvm/llvm-project/commit/db9252b115ce699a98b3a0ab80504da1364cc311
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll
M llvm/test/CodeGen/PowerPC/fp128-bitcast-after-operation.ll
M llvm/test/CodeGen/RISCV/double-arith.ll
M llvm/test/CodeGen/RISCV/double-bitmanip-dagcombines.ll
M llvm/test/CodeGen/RISCV/float-bitmanip-dagcombines.ll
Log Message:
-----------
DAG: Call SimplifyDemandedBits on fcopysign sign value (#97151)
Math library code has quite a few places with complex bit
logic that are ultimately fed into a copysign. This helps
avoid some regressions in a future patch.
This assumes the position in the float type, which should
at least be valid for IEEE types. Not sure if we need to guard
against ppc_fp128 or anything else weird.
There appears to be some value in simplifying the value operand
as well, but I'll address that separately.
Commit: a632364bceacef75610ffd8c8ed0fd4d76514ce7
https://github.com/llvm/llvm-project/commit/a632364bceacef75610ffd8c8ed0fd4d76514ce7
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/known-bits.ll
Log Message:
-----------
[InstCombine] Add test for SimplifyDemanded context (NFC)
Commit: 8eee6d33f74b8d2ba97725630a9a5c9165f419b7
https://github.com/llvm/llvm-project/commit/8eee6d33f74b8d2ba97725630a9a5c9165f419b7
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AMDGPU/fcopysign.f16.ll
Log Message:
-----------
DAG: Call SimplifyDemandedBits on copysign value operand (#97180)
So far the only cases that seem to benefit are the weird
copysign with different typed inputs.
Commit: 7b2e16f9526107998f5e3459994152a83c452087
https://github.com/llvm/llvm-project/commit/7b2e16f9526107998f5e3459994152a83c452087
Author: David Sherwood <david.sherwood at arm.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64SchedPredNeoverse.td
A llvm/test/CodeGen/AArch64/misched-move-imm.mir
Log Message:
-----------
[AArch64] Fix scheduling model issue #96394 (#97047)
The NeoverseZeroMove predicate assumes that the first operand is always
an immediate, which isn't always true. For example, it could be a stack
offset, etc. This patch fixes that by checking if the operand is an
immediate first.
Commit: 11484cb817bcc2a6e2ef9572be982a1a5a4964ec
https://github.com/llvm/llvm-project/commit/11484cb817bcc2a6e2ef9572be982a1a5a4964ec
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/test/Transforms/InstCombine/known-bits.ll
Log Message:
-----------
[InstCombine] Pass SimplifyQuery to SimplifyDemandedBits()
This will enable calling SimplifyDemandedBits() with a SimplifyQuery
that has CondContext set in the future.
Additionally this also marginally strengthens the analysis by
retaining the original context instruction for one-use chains.
Commit: c46a95c147d8ba86980908353d377f9e2f9f5641
https://github.com/llvm/llvm-project/commit/c46a95c147d8ba86980908353d377f9e2f9f5641
Author: Anton Lydike <me at AntonLydike.de>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/DLTI/CMakeLists.txt
M mlir/include/mlir/Dialect/DLTI/DLTIAttrs.td
Log Message:
-----------
[MLIR] Fix documentation generation for DLTI dialect. (#97052)
This patch fixes the docs generation for the DLTI dialect to include
attributes (CMake config pointed to the wrong tablegen file). It also
fixes formatting in places so that proper markdown is generated.
Commit: d32d20f3a05abf74ecc11848a672d4cac4fa45cd
https://github.com/llvm/llvm-project/commit/d32d20f3a05abf74ecc11848a672d4cac4fa45cd
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
Log Message:
-----------
NumericalStabilitySanitizer.cpp - fix MSVC "not all control paths return a value" warnings. NFC.
Commit: ec0e6ef09bdbae42872af1145f9c58c641d0ab8a
https://github.com/llvm/llvm-project/commit/ec0e6ef09bdbae42872af1145f9c58c641d0ab8a
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
M libc/docs/gpu/support.rst
M libc/include/llvm-libc-types/rpc_opcodes_t.h
M libc/src/stdio/gpu/CMakeLists.txt
A libc/src/stdio/gpu/remove.cpp
M libc/utils/gpu/server/rpc_server.cpp
Log Message:
-----------
[libc] Implement the 'remove' function on the GPU (#97096)
Summary:
Straightforward RPC implementation of the `remove` function for the GPU.
Copies over the string and calls `remove` on it, passing the result
back. This is required for building some `libc++` functionality.
Commit: 3c64a98180148340ed72aa2c19054ddfbcfa72e1
https://github.com/llvm/llvm-project/commit/3c64a98180148340ed72aa2c19054ddfbcfa72e1
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M libc/docs/gpu/motivation.rst
M libc/include/errno.h.def
M libc/src/errno/libc_errno.cpp
Log Message:
-----------
[libc] Partially implement 'errno' on the GPU (#97107)
Summary:
The `errno` variable is expected to be `thread_local` by the standard.
However, the GPU targets do not support `thread_local` and implementing
that would be a large endeavor. Because of that, we previously didn't
provide the `errno` symbol at all. However, to build some programs we at
least need to be able to link against `errno`. Many things that would
normally set `errno` completely ignore it currently (i.e. stdio) but
some programs still need to be able to link against correct C programs.
For this purpose this patch exports the `errno` symbol as a simple
global. Internally, this will be updated atomically so it's at least not
racy. Externally, this will be on the user. I've updated the
documentation to state as such. This is required to get `libc++` to
build.
Commit: 117b53ae38428ca66eaa886fb432e6f09db88fe4
https://github.com/llvm/llvm-project/commit/117b53ae38428ca66eaa886fb432e6f09db88fe4
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AsmPrinter.h
M llvm/include/llvm/CodeGen/AsmPrinterHandler.h
M llvm/include/llvm/CodeGen/DebugHandlerBase.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
M llvm/lib/CodeGen/AsmPrinter/EHStreamer.h
M llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.h
M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h
M llvm/lib/Target/BPF/BPFAsmPrinter.cpp
M llvm/lib/Target/BPF/BTFDebug.h
M llvm/unittests/CodeGen/AsmPrinterDwarfTest.cpp
Log Message:
-----------
[AsmPrinter] Reduce AsmPrinterHandlers virt. fn calls (#96785)
Currently, an AsmPrinterHandler has several methods that allow to
dynamically hook in unwind or debug info emission, e.g. at begin/end of
every function or instruction. The class hierarchy and the actually
overridden functions are as follows:
(SymSz=setSymbolSize, mFE=markFunctionEnd, BBS=BasicBlockSection,
FL=Funclet; b=beginX, e=endX)
SymSz Mod Fn mFE BBS FL Inst
AsmPrinterHandler - - - - - - -
` PseudoProbeHandler - - - - - - -
` WinCFGuard - e e - - - -
` EHStreamer - - - - - - -
` DwarfCFIException - e be - be - -
` ARMException - - be e - - -
` AIXException - - e - - - -
` WinException - e be e - be -
` WasmException - e be - - - -
` DebugHandlerBase - b be - be - be
` BTFDebug - e - - - - b
` CodeViewDebug - be - - - - b
` DWARFDebug yes be - - - - b
Doing virtual function calls per instruction is costly and useless when
the called function does nothing.
This commit performs the following clean-up/improvements:
- PseudoProbeHandler is no longer an AsmPrinterHandler -- it used
nothing of its functionality to hook in at the possible points. This
avoids virtual function calls when a pseudo probe printer is present.
- DebugHandlerBase is no longer an AsmPrinterHandler, but a separate
base class. DebugHandlerBase is the only remaining "hook" for begin/end
instruction and setSymbolSize (only used by DWARFDebug). begin/end for
function and basic block sections are never overriden and therefore are
no longer virtual. (Originally I intended there to be only one debug
handler, but BPF as the only target supports two at the same time: DWARF
and BTF.)
- AsmPrinterHandler no longer has begin/end instruction and
setSymbolSize hooks -- these were only used by DebugHandlerBase. This
avoid iterating over handlers in every instruction.
AsmPrinterHandler Mod Fn mFE BBS FL
` WinCFGuard e e - - -
` EHStreamer - - - - -
` DwarfCFIException e be - be -
` ARMException - be e - -
` AIXException - e - - -
` WinException e be e - be
` WasmException e be - - -
SymSz Mod Fn BBS Inst
DebugHandlerBase - b be be be
` BTFDebug - e b
` CodeViewDebug - be b
` DWARFDebug yes be b
PseudoProbeHandler (no shared methods)
To continue allowing external users (e.g., Julia) to hook in at every
instruction, a new method addDebugHandler is exposed.
This results in a performance improvement, especially in the -O0 -g0
case with unwind information (e.g., JIT baseline).
Commit: e88cd40d477f7194377a5df7a5a2f0f1b5376216
https://github.com/llvm/llvm-project/commit/e88cd40d477f7194377a5df7a5a2f0f1b5376216
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[InstCombine] Add tests for simplification based on select known bits (NFC)
Commit: de68294b4dd31370773cb7a976b2d59e0e8b9bcc
https://github.com/llvm/llvm-project/commit/de68294b4dd31370773cb7a976b2d59e0e8b9bcc
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependency for 3c64a98180148340ed72aa2c19054ddfbcfa72e1
Commit: 44a2589cfc7fa2d3486f60000166a7dea0621494
https://github.com/llvm/llvm-project/commit/44a2589cfc7fa2d3486f60000166a7dea0621494
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/NearbyIntTest.h
A libc/test/src/math/nearbyint_test.cpp
A libc/test/src/math/nearbyintf16_test.cpp
A libc/test/src/math/nearbyintf_test.cpp
A libc/test/src/math/nearbyintl_test.cpp
Log Message:
-----------
[libc][math] Add MPFR unit tests for nearbyint{,f,l,f16} (#94479)
Commit: a3f700a3d6113d825dfef97bffa90827ab4149e8
https://github.com/llvm/llvm-project/commit/a3f700a3d6113d825dfef97bffa90827ab4149e8
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/f16sqrtf_test.cpp
Log Message:
-----------
[libc][math][c23] Add MPFR unit test for f16sqrtf (#97062)
Commit: 9f04d75b2bd8ba83863db74ebe1a5c08cfc5815c
https://github.com/llvm/llvm-project/commit/9f04d75b2bd8ba83863db74ebe1a5c08cfc5815c
Author: hdoc <68132204+hdoc at users.noreply.github.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ASTContext.cpp
M clang/lib/Headers/amxcomplexintrin.h
M clang/lib/Headers/ia32intrin.h
M clang/test/Index/annotate-comments.cpp
M clang/unittests/AST/DeclTest.cpp
Log Message:
-----------
[Clang][Comments] Attach comments to decl even if preproc directives are in between (#88367)
### Background
It's surprisingly common for C++ code in the wild to conditionally
show/hide declarations to Doxygen through the use of preprocessor
directives. One especially common version of this pattern is
demonstrated below:
```cpp
/// @brief Test comment
#ifdef DOXYGEN_BUILD_ENABLED
template<typename T>
#else
template <typename T>
typename std::enable_if<std::is_integral<T>::value>::type
#endif
void f() {}
```
There are more examples I've collected below to demonstrate usage of
this pattern:
- Example 1:
[Magnum](https://github.com/mosra/magnum/blob/8538610fa27e1db37070eaabe34f1e4e41648bab/src/Magnum/Resource.h#L117-L127)
- Example 2:
[libcds](https://github.com/khizmax/libcds/blob/9985d2a87feaa3e92532e28f4ab762a82855a49c/cds/container/michael_list_nogc.h#L36-L54)
- Example 3:
[rocPRIM](https://github.com/ROCm/rocPRIM/blob/609ae19565ff6a3499168b76a0be5652762e24f6/rocprim/include/rocprim/block/detail/block_reduce_raking_reduce.hpp#L60-L65)
>From my research, it seems like the most common rationale for this
functionality is hiding difficult-to-parse code from Doxygen, especially
where template metaprogramming is concerned.
Currently, Clang does not support attaching comments to decls if there
are preprocessor comments between the comment and the decl. This is
enforced here:
https://github.com/llvm/llvm-project/blob/b6ebea7972cd05a8e4dcf0d5a54f2c793999995a/clang/lib/AST/ASTContext.cpp#L284-L287
Alongside preprocessor directives, any instance of `;{}#@` between a
comment and decl will cause the comment to not be attached to the decl.
#### Rationale
It would be nice for Clang-based documentation tools, such as
[hdoc](https://hdoc.io), to support code using this pattern. Users
expect to see comments attached to the relevant decl — even if there is
an `#ifdef` in the way — which Clang does not currently do.
#### History
Originally, commas were also in the list of "banned" characters, but
were removed in `b534d3a0ef69`
([link](https://github.com/llvm/llvm-project/commit/b534d3a0ef6970f5e42f10ba5cfcb562d8b184e1))
because availability macros often have commas in them. From my reading
of the code, it appears that the original intent of the code was to
exclude macros and decorators between comments and decls, possibly in an
attempt to properly attribute comments to macros (discussed further in
"Complications", below). There's some more discussion here:
https://reviews.llvm.org/D125061.
### Change
This modifies Clang comment parsing so that comments are attached to
subsequent declarations even if there are preprocessor directives
between the end of the comment and the start of the decl. Furthermore,
this change:
- Adds tests to verify that comments are attached to their associated
decls even if there are preprocessor directives in between
- Adds tests to verify that current behavior has not changed (i.e. use
of the other characters between comment and decl will result in the
comment not being attached to the decl)
- Updates existing `lit` tests which would otherwise break.
#### Complications
Clang [does not yet
support](https://github.com/llvm/llvm-project/issues/38206) attaching
doc comments to macros. Consequently, the change proposed in this RFC
affects cases where a doc comment attached to a macro is followed
immediately by a normal declaration. In these cases, the macro's doc
comments will be attached to the subsequent decl. Previously they would
be ignored because any preprocessor directives between a comment and a
decl would result in the comment not being attached to the decl. An
example of this is shown below.
```cpp
/// Doc comment for a function-like macro
/// @param n
/// A macro argument
#define custom_sqrt(n) __internal_sqrt(n)
int __internal_sqrt(int n) { return __builtin_sqrt(n); }
// NB: the doc comment for the custom_sqrt macro will actually be attached to __internal_sqrt!
```
There is a real instance of this problem in the Clang codebase, namely
here:
https://github.com/llvm/llvm-project/blob/be10070f91b86a6f126d2451852242bfcb2cd366/clang/lib/Headers/amxcomplexintrin.h#L65-L114
As part of this RFC, I've added a semicolon to break up the Clang
comment parsing so that the `-Wdocumentation` errors go away, but this
is a hack. The real solution is to fix Clang comment parsing so that doc
comments are properly attached to macros, however this would be a large
change that is outside of the scope of this RFC.
Commit: 035e76ff3706ee3e677fbae67cf47a343cf6eceb
https://github.com/llvm/llvm-project/commit/035e76ff3706ee3e677fbae67cf47a343cf6eceb
Author: smanna12 <soumi.manna at intel.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M clang/lib/Serialization/ASTReaderDecl.cpp
Log Message:
-----------
[Serialization] Clear moved-from deque to ensure valid state post-move (#97221)
This patch addresses a use-after-move issue, reported by static analyzer
tool, by clearing the `PotentiallyInterestingDecls` deque after it has
been moved to `MaybeInterestingDecls`.
The fix ensures that the subsequent assert statement correctly checks
for an empty state, preventing any undefined behavior in
ASTReader::PassInterestingDeclsToConsumer().
Commit: 154c8a02ed952fe3fa2e074fce52a07c4d1efab2
https://github.com/llvm/llvm-project/commit/154c8a02ed952fe3fa2e074fce52a07c4d1efab2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/test/Transforms/InstCombine/pr80597.ll
Log Message:
-----------
[InstCombine] Use KnownBits::ashr()
This fixes a consistency violation under -instcombine-verify-known-bits.
Commit: a66275090e140b9e800d694ce79b7781636dc849
https://github.com/llvm/llvm-project/commit/a66275090e140b9e800d694ce79b7781636dc849
Author: MagentaTreehouse <99200384+MagentaTreehouse at users.noreply.github.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M clang/lib/AST/DeclCXX.cpp
Log Message:
-----------
[Clang] [NFC] Use range-based for loops (#96831)
Use range-based for loops. In addition, extracted a loop from
`CXXRecordDecl::completeDefinition` to eliminate the `Done` flag, and
only construct `MyFinalOverriders` when `FinalOverriders` is null.
Commit: e37ba2c13d9ebbfe2bcdc638532b5e76085a5411
https://github.com/llvm/llvm-project/commit/e37ba2c13d9ebbfe2bcdc638532b5e76085a5411
Author: Alexander Belyaev <32522095+pifon2a at users.noreply.github.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir] Fix Bazel build after d1fcfce83471c28bdf77d5e1e5c58c9cc6f7a051. (#97288)
Commit: 3753e4cdf8e2aa9b1af2ba7a88cfecae842d2e7f
https://github.com/llvm/llvm-project/commit/3753e4cdf8e2aa9b1af2ba7a88cfecae842d2e7f
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M clang/lib/Basic/OpenMPKinds.cpp
Log Message:
-----------
Add assertion message
Commit: dbcaea712788ce9b5d3fd50810ffbd9fe1f0b697
https://github.com/llvm/llvm-project/commit/dbcaea712788ce9b5d3fd50810ffbd9fe1f0b697
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Utils/CommandLineOpts.cpp
A bolt/test/X86/hashing-based-function-matching.test
M clang-tools-extra/clang-doc/HTMLGenerator.cpp
M clang-tools-extra/clang-doc/assets/index.js
M clang-tools-extra/clangd/Format.cpp
M clang-tools-extra/clangd/index/remote/Client.h
M clang-tools-extra/clangd/support/Trace.cpp
M clang-tools-extra/clangd/test/trace.test
M clang-tools-extra/test/clang-doc/basic-project.test
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/examples/LLVMPrintFunctionNames/LLVMPrintFunctionNames.cpp
M clang/include/clang/AST/Expr.h
M clang/include/clang/Basic/Cuda.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/arm_sme.td
M clang/include/clang/Format/Format.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/DeclCXX.cpp
M clang/lib/AST/Interp/Compiler.cpp
M clang/lib/AST/Interp/Compiler.h
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/Context.h
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Disasm.cpp
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpBlock.cpp
M clang/lib/AST/Interp/InterpBlock.h
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpState.h
M clang/lib/AST/Interp/Opcodes.td
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Program.h
M clang/lib/AST/StmtOpenMP.cpp
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/Targets/NVPTX.cpp
M clang/lib/Basic/Targets/NVPTX.h
M clang/lib/CodeGen/BackendConsumer.h
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGBuilder.h
M clang/lib/CodeGen/CGCoroutine.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CodeGenAction.cpp
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/LinkInModulesPass.cpp
M clang/lib/CodeGen/LinkInModulesPass.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/OffloadBundler.cpp
M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/Cuda.h
M clang/lib/Driver/ToolChains/Solaris.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Headers/amxcomplexintrin.h
M clang/lib/Headers/ia32intrin.h
M clang/lib/Interpreter/CodeCompletion.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaLambda.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Tooling/Transformer/Stencil.cpp
M clang/test/AST/Interp/arrays.cpp
A clang/test/AST/Interp/const-temporaries.cpp
M clang/test/AST/Interp/cxx23.cpp
M clang/test/AST/Interp/literals.cpp
A clang/test/AST/Interp/mutable.cpp
M clang/test/AST/Interp/references.cpp
M clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_movaz.c
M clang/test/CodeGen/target-data.c
M clang/test/CodeGenCXX/attr-annotate.cpp
M clang/test/Driver/aarch64-mac-cpus.c
M clang/test/Driver/amdgpu-openmp-toolchain.c
M clang/test/Index/annotate-comments.cpp
M clang/test/Misc/target-invalid-cpu-note.c
M clang/test/Sema/atomic-ops.c
M clang/test/SemaCXX/atomic-ops.cpp
M clang/unittests/AST/DeclTest.cpp
M clang/unittests/AST/MatchVerifier.h
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
M clang/unittests/Tooling/RecursiveASTVisitorTests/DeductionGuide.cpp
M clang/unittests/Tooling/ReplacementsYamlTest.cpp
M clang/www/cxx_status.html
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/safestack/safestack_platform.h
M compiler-rt/test/lit.common.cfg.py
M compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Parser/prescan.cpp
M flang/lib/Parser/prescan.h
M flang/lib/Parser/token-sequence.cpp
M flang/lib/Semantics/expression.cpp
M flang/runtime/pointer.cpp
M flang/test/Lower/OpenMP/atomic-capture.f90
M flang/test/Lower/OpenMP/copyin-order.f90
M flang/test/Lower/OpenMP/parallel-wsloop.f90
M flang/test/Lower/OpenMP/parallel.f90
M flang/test/Lower/OpenMP/simd.f90
M flang/test/Lower/OpenMP/target.f90
M flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90
A flang/test/Preprocessing/kw-in-char.F90
A flang/test/Preprocessing/sentinel-after-semi.F90
M flang/test/Semantics/boz-literal-constants.f90
M libc/config/gpu/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
R libc/config/linux/platform_defs.h.inc
R libc/config/linux/signal.h.in
R libc/config/linux/syscall_numbers.h.inc
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/gpu/motivation.rst
M libc/docs/gpu/support.rst
M libc/docs/math/index.rst
M libc/include/CMakeLists.txt
M libc/include/errno.h.def
M libc/include/llvm-libc-types/rpc_opcodes_t.h
M libc/include/sys/syscall.h.def
A libc/newhdrgen/yaml/arpa_inet.yaml
A libc/newhdrgen/yaml/dirent.yaml
A libc/newhdrgen/yaml/errno.yaml
A libc/newhdrgen/yaml/fcntl.yaml
A libc/newhdrgen/yaml/float.yaml
A libc/newhdrgen/yaml/inttypes.yaml
A libc/newhdrgen/yaml/limits.yaml
A libc/newhdrgen/yaml/rpc.yaml
A libc/newhdrgen/yaml/search.yaml
A libc/newhdrgen/yaml/setjmp.yaml
A libc/newhdrgen/yaml/spawn.yaml
A libc/newhdrgen/yaml/stdbit.yaml
A libc/newhdrgen/yaml/stdckdint.yaml
A libc/newhdrgen/yaml/stdint.yaml
A libc/newhdrgen/yaml/sys_auxv.yaml
A libc/newhdrgen/yaml/sys_epoll.yaml
A libc/newhdrgen/yaml/sys_ioctl.yaml
A libc/newhdrgen/yaml/sys_prctl.yaml
A libc/newhdrgen/yaml/sys_random.yaml
A libc/newhdrgen/yaml/sys_resource.yaml
A libc/newhdrgen/yaml/sys_select.yaml
A libc/newhdrgen/yaml/sys_sendfile.yaml
A libc/newhdrgen/yaml/sys_socket.yaml
A libc/newhdrgen/yaml/sys_stat.yaml
A libc/newhdrgen/yaml/sys_statvfs.yaml
A libc/newhdrgen/yaml/sys_time.yaml
A libc/newhdrgen/yaml/sys_types.yaml
A libc/newhdrgen/yaml/sys_utsname.yaml
A libc/newhdrgen/yaml/termios.yaml
A libc/newhdrgen/yaml/threads.yaml
A libc/newhdrgen/yaml/uchar.yaml
A libc/newhdrgen/yaml/unistd.yaml
A libc/newhdrgen/yaml/wchar.yaml
M libc/spec/llvm_libc_ext.td
M libc/spec/stdc.td
M libc/src/__support/FPUtil/generic/CMakeLists.txt
M libc/src/__support/FPUtil/generic/sqrt.h
M libc/src/errno/libc_errno.cpp
M libc/src/math/CMakeLists.txt
A libc/src/math/f16div.h
A libc/src/math/f16divf128.h
A libc/src/math/f16divl.h
A libc/src/math/f16sqrt.h
A libc/src/math/f16sqrtf128.h
A libc/src/math/f16sqrtl.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/f16div.cpp
A libc/src/math/generic/f16divf128.cpp
A libc/src/math/generic/f16divl.cpp
A libc/src/math/generic/f16sqrt.cpp
A libc/src/math/generic/f16sqrtf128.cpp
A libc/src/math/generic/f16sqrtl.cpp
M libc/src/stdio/gpu/CMakeLists.txt
A libc/src/stdio/gpu/remove.cpp
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/NearbyIntTest.h
M libc/test/src/math/SqrtTest.h
A libc/test/src/math/f16div_test.cpp
A libc/test/src/math/f16divl_test.cpp
A libc/test/src/math/f16sqrt_test.cpp
A libc/test/src/math/f16sqrtf_test.cpp
A libc/test/src/math/f16sqrtl_test.cpp
A libc/test/src/math/nearbyint_test.cpp
A libc/test/src/math/nearbyintf16_test.cpp
A libc/test/src/math/nearbyintf_test.cpp
A libc/test/src/math/nearbyintl_test.cpp
M libc/test/src/math/sincos_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/f16div_test.cpp
A libc/test/src/math/smoke/f16divf128_test.cpp
A libc/test/src/math/smoke/f16divl_test.cpp
A libc/test/src/math/smoke/f16sqrt_test.cpp
A libc/test/src/math/smoke/f16sqrtf128_test.cpp
A libc/test/src/math/smoke/f16sqrtl_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/gpu/server/rpc_server.cpp
M libcxx/docs/Hardening.rst
M libcxx/include/__iterator/move_iterator.h
M libcxx/include/__type_traits/common_type.h
M libcxx/include/__type_traits/decay.h
M libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/i686-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-apple-darwin.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/lib/abi/x86_64-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
M libcxx/utils/ci/Dockerfile
M libcxx/utils/ci/docker-compose.yml
M libcxxabi/include/cxxabi.h
M libcxxabi/lib/itanium-exceptions.exp
M libcxxabi/src/cxa_exception.cpp
M libcxxabi/test/catch_const_pointer_nullptr.pass.cpp
A libcxxabi/test/cxa_call_terminate.pass.cpp
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Relocations.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M lld/ELF/Writer.cpp
M lld/MachO/Config.h
M lld/MachO/InputFiles.cpp
M lld/MachO/SectionPriorities.h
M lld/MachO/SyntheticSections.h
M lld/test/ELF/aarch64-reloc-pauth.s
M lld/test/MachO/dead-strip.s
M lld/test/MachO/lto-explicit-exports.ll
M lldb/include/lldb/Interpreter/Interfaces/ScriptedThreadPlanInterface.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/include/lldb/Utility/StreamString.h
M lldb/source/Interpreter/ScriptInterpreter.cpp
M lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
M lldb/source/Target/ThreadPlanPython.cpp
M lldb/test/API/commands/log/invalid-args/TestInvalidArgsLog.py
M lldb/test/API/commands/thread/backtrace/TestThreadBacktraceRepeat.py
M lldb/test/API/commands/trace/multiple-threads/TestTraceStartStopMultipleThreads.py
M lldb/test/API/functionalities/completion/TestCompletion.py
M lldb/test/API/functionalities/gdb_remote_client/TestIOSSimulator.py
M lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
M lldb/test/API/lang/cpp/diamond/TestCppDiamond.py
M lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py
M lldb/test/API/lang/rust/enum-structs/TestRustEnumStructs.py
M lldb/test/API/test_utils/TestDecorators.py
A lldb/test/Shell/SymbolFile/DWARF/no_unique_address-base-alignment.cpp
A lldb/test/Shell/SymbolFile/DWARF/packed-alignof.cpp
M lldb/test/Shell/SymbolFile/DWARF/packed.cpp
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/ADT/FloatingPointMode.h
M llvm/include/llvm/ADT/Hashing.h
M llvm/include/llvm/Analysis/CFGPrinter.h
M llvm/include/llvm/Analysis/DDG.h
M llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
M llvm/include/llvm/Analysis/IndirectCallVisitor.h
M llvm/include/llvm/Analysis/Loads.h
M llvm/include/llvm/Analysis/SimplifyQuery.h
M llvm/include/llvm/BinaryFormat/MsgPackDocument.h
M llvm/include/llvm/CodeGen/AsmPrinter.h
M llvm/include/llvm/CodeGen/AsmPrinterHandler.h
M llvm/include/llvm/CodeGen/DebugHandlerBase.h
M llvm/include/llvm/CodeGen/MachineDominators.h
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
M llvm/include/llvm/IR/ConstantRangeList.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/include/llvm/MC/MCAsmInfo.h
M llvm/include/llvm/MC/MCAsmInfoDarwin.h
M llvm/include/llvm/MC/MCAsmLayout.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCExpr.h
M llvm/include/llvm/MC/MCMachObjectWriter.h
M llvm/include/llvm/MC/MCObjectWriter.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCStreamer.h
M llvm/include/llvm/MC/MCSubtargetInfo.h
M llvm/include/llvm/MCA/InstrBuilder.h
M llvm/include/llvm/Object/MachO.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/Support/Error.h
M llvm/include/llvm/Support/GraphWriter.h
M llvm/include/llvm/Support/JSON.h
M llvm/include/llvm/Support/MathExtras.h
M llvm/include/llvm/Support/ScopedPrinter.h
M llvm/include/llvm/Support/TypeSize.h
M llvm/include/llvm/Support/YAMLTraits.h
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
A llvm/include/llvm/Transforms/Instrumentation/NumericalStabilitySanitizer.h
M llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h
M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
M llvm/lib/Analysis/Loads.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/AsmPrinter/EHStreamer.h
M llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.h
M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/HardwareLoops.cpp
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
M llvm/lib/CodeGen/MachineOutliner.cpp
M llvm/lib/CodeGen/MachineSSAUpdater.cpp
M llvm/lib/CodeGen/RegAllocBase.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/CodeGen/StackColoring.cpp
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/CodeGen/TypePromotion.cpp
M llvm/lib/CodeGen/WasmEHPrepare.cpp
M llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
M llvm/lib/ExecutionEngine/JITLink/ELF_aarch32.cpp
M llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
M llvm/lib/ExecutionEngine/Orc/Layer.cpp
M llvm/lib/IR/ConstantRangeList.cpp
M llvm/lib/IR/IRBuilder.cpp
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/MC/GOFFObjectWriter.cpp
M llvm/lib/MC/MCAsmBackend.cpp
M llvm/lib/MC/MCAsmInfo.cpp
M llvm/lib/MC/MCAsmInfoDarwin.cpp
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCContext.cpp
M llvm/lib/MC/MCDXContainerWriter.cpp
M llvm/lib/MC/MCExpr.cpp
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCObjectWriter.cpp
M llvm/lib/MC/MCStreamer.cpp
M llvm/lib/MC/MCWinCOFFStreamer.cpp
M llvm/lib/MC/MachObjectWriter.cpp
M llvm/lib/MC/SPIRVObjectWriter.cpp
M llvm/lib/MC/WasmObjectWriter.cpp
M llvm/lib/MC/WinCOFFObjectWriter.cpp
M llvm/lib/MC/XCOFFObjectWriter.cpp
M llvm/lib/MCA/InstrBuilder.cpp
M llvm/lib/Object/TapiUniversal.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassBuilderBindings.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/Support/APFloat.cpp
M llvm/lib/Support/CMakeLists.txt
R llvm/lib/Support/Hashing.cpp
M llvm/lib/Support/JSON.cpp
M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/AArch64SchedPredNeoverse.td
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp
M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
M llvm/lib/Target/AArch64/SMEABIPass.cpp
M llvm/lib/Target/AArch64/SMEInstrFormats.td
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
M llvm/lib/Target/ARM/ARMBlockPlacement.cpp
M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
M llvm/lib/Target/ARM/ARMParallelDSP.cpp
M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
M llvm/lib/Target/BPF/BPFAsmPrinter.cpp
M llvm/lib/Target/BPF/BPFPreserveStaticOffset.cpp
M llvm/lib/Target/BPF/BTFDebug.h
M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.h
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.h
M llvm/lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
M llvm/lib/Target/NVPTX/NVPTXUtilities.cpp
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFStreamer.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLoweringCall.cpp
M llvm/lib/Target/X86/X86LowerAMXType.cpp
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/lib/Transforms/CFGuard/CFGuard.cpp
M llvm/lib/Transforms/Coroutines/CoroCleanup.cpp
M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/IROutliner.cpp
M llvm/lib/Transforms/IPO/Inliner.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/IPO/SampleProfile.cpp
M llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/CGProfile.cpp
M llvm/lib/Transforms/Instrumentation/CMakeLists.txt
M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
A llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
M llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
M llvm/lib/Transforms/Instrumentation/PoisonChecking.cpp
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/lib/Transforms/Scalar/GuardWidening.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LoopDeletion.cpp
M llvm/lib/Transforms/Scalar/LoopFuse.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/SSAUpdater.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/XRay/Profile.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-fcopysign.mir
A llvm/test/CodeGen/AArch64/misched-move-imm.mir
M llvm/test/CodeGen/AArch64/mul_pow2.ll
M llvm/test/CodeGen/AArch64/sme2p1-intrinsics-movaz.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcopysign.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-intrinsic-round.mir
M llvm/test/CodeGen/AMDGPU/codegen-prepare-addrspacecast-non-null.ll
A llvm/test/CodeGen/AMDGPU/copysign-simplify-demanded-bits.ll
M llvm/test/CodeGen/AMDGPU/fcopysign.f16.ll
A llvm/test/CodeGen/AMDGPU/lds-mixed-absolute-dynlds.ll
M llvm/test/CodeGen/AMDGPU/lds-run-twice.ll
M llvm/test/CodeGen/AMDGPU/llvm.ldexp.ll
M llvm/test/CodeGen/AMDGPU/promote-alloca-non-constant-index.ll
M llvm/test/CodeGen/ARM/and-cmp0-sink.ll
M llvm/test/CodeGen/NVPTX/lower-args-gridconstant.ll
A llvm/test/CodeGen/NVPTX/store-undef.ll
M llvm/test/CodeGen/PowerPC/fp128-bitcast-after-operation.ll
M llvm/test/CodeGen/RISCV/double-arith.ll
M llvm/test/CodeGen/RISCV/double-bitmanip-dagcombines.ll
M llvm/test/CodeGen/RISCV/float-bitmanip-dagcombines.ll
A llvm/test/CodeGen/RISCV/rvv/pr95865.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
M llvm/test/CodeGen/X86/any_extend_vector_inreg_of_broadcast.ll
A llvm/test/CodeGen/X86/apx/cmov.ll
M llvm/test/CodeGen/X86/avx512-shuffles/partial_permute.ll
M llvm/test/CodeGen/X86/avx512vl-intrinsics.ll
M llvm/test/CodeGen/X86/cmov.ll
M llvm/test/CodeGen/X86/osx-private-labels.ll
M llvm/test/CodeGen/X86/shuffle-vs-trunc-128.ll
M llvm/test/CodeGen/X86/shuffle-vs-trunc-512.ll
M llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast.ll
M llvm/test/DebugInfo/NVPTX/cu-range-hole.ll
A llvm/test/ExecutionEngine/JITLink/AArch32/ELF_data_alignment.s
M llvm/test/ExecutionEngine/Orc/global-ctor-order.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/cfg.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/invoke.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/memory.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
A llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll
M llvm/test/MC/MachO/darwin-x86_64-diff-reloc-assign-2.s
M llvm/test/MC/RISCV/cfi-advance.s
M llvm/test/Transforms/ConstraintElimination/induction-condition-in-loop-exit.ll
M llvm/test/Transforms/GVN/pr48805.ll
M llvm/test/Transforms/Inline/update_invoke_prof.ll
M llvm/test/Transforms/Inline/update_value_profile.ll
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
M llvm/test/Transforms/InstCombine/atomicrmw.ll
M llvm/test/Transforms/InstCombine/fcmp.ll
M llvm/test/Transforms/InstCombine/known-bits.ll
M llvm/test/Transforms/InstCombine/pr80597.ll
M llvm/test/Transforms/InstCombine/select-binop-cmp.ll
M llvm/test/Transforms/InstCombine/select-of-bittest.ll
M llvm/test/Transforms/InstCombine/select.ll
A llvm/test/Transforms/JumpThreading/preserving-debugloc-br.ll
M llvm/test/Transforms/LoopDeletion/eval_first_iteration.ll
A llvm/test/Transforms/LoopStrengthReduce/AArch64/vscale-fixups.ll
M llvm/test/Transforms/LoopVectorize/interleaved-accesses-pred-stores.ll
M llvm/test/Transforms/PGOProfile/Inputs/memprof.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof.nocolinfo.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_internal_linkage.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.memprofraw
M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.exe
M llvm/test/Transforms/PGOProfile/Inputs/memprof_missing_leaf.memprofraw
A llvm/test/Transforms/PGOProfile/icp_vtable_cmp.ll
A llvm/test/Transforms/PGOProfile/icp_vtable_invoke.ll
A llvm/test/Transforms/PGOProfile/icp_vtable_tail_call.ll
M llvm/test/Transforms/PGOProfile/memprof_internal_linkage.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/math-function.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
M llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/preserving_debugloc_sext.ll
A llvm/test/Transforms/SimplifyCFG/branch-nested.ll
A llvm/test/Transforms/SimplifyCFG/hoisting-metadata.ll
M llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/basic-histogram.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/basic.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/buildid.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/inline.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/inline.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/multi.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/padding-histogram.memprofraw
M llvm/test/tools/llvm-profdata/Inputs/pic.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/pic.memprofraw
M llvm/test/tools/lto/no-bitcode.s
M llvm/test/tools/lto/opt-level.ll
M llvm/test/tools/lto/print-stats.ll
M llvm/tools/lli/ForwardingMemoryManager.h
M llvm/tools/sancov/sancov.cpp
M llvm/unittests/ADT/APFloatTest.cpp
M llvm/unittests/ADT/HashingTest.cpp
M llvm/unittests/Analysis/MemorySSATest.cpp
M llvm/unittests/Analysis/PluginInlineAdvisorAnalysisTest.cpp
M llvm/unittests/Analysis/PluginInlineOrderAnalysisTest.cpp
M llvm/unittests/Analysis/SparsePropagation.cpp
M llvm/unittests/CodeGen/AsmPrinterDwarfTest.cpp
M llvm/unittests/CodeGen/InstrRefLDVTest.cpp
M llvm/unittests/CodeGen/LexicalScopesTest.cpp
M llvm/unittests/CodeGen/MachineBasicBlockTest.cpp
M llvm/unittests/CodeGen/MachineDomTreeUpdaterTest.cpp
M llvm/unittests/CodeGen/MachineInstrTest.cpp
M llvm/unittests/CodeGen/RegAllocScoreTest.cpp
M llvm/unittests/IR/CFGBuilder.cpp
M llvm/unittests/IR/ConstantRangeListTest.cpp
M llvm/unittests/IR/PassBuilderCallbacksTest.cpp
M llvm/unittests/Passes/Plugins/DoublerPlugin/DoublerPlugin.cpp
M llvm/unittests/Passes/Plugins/PluginsTest.cpp
M llvm/unittests/ProfileData/InstrProfTest.cpp
M llvm/unittests/Support/ErrorOrTest.cpp
M llvm/unittests/Support/MathExtrasTest.cpp
M llvm/unittests/Target/X86/TernlogTest.cpp
M llvm/unittests/Transforms/Utils/CodeMoverUtilsTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
M llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp
M llvm/unittests/tools/llvm-mca/X86/TestIncrementalMCA.cpp
M llvm/utils/FileCheck/FileCheck.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/AsmWriterEmitter.cpp
M llvm/utils/TableGen/Common/VarLenCodeEmitterGen.cpp
M llvm/utils/TableGen/SubtargetEmitter.cpp
M llvm/utils/git/code-format-helper.py
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn
M mlir/include/mlir/Analysis/Presburger/Barvinok.h
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/Matrix.h
M mlir/include/mlir/Analysis/Presburger/PresburgerSpace.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/include/mlir/Dialect/DLTI/CMakeLists.txt
M mlir/include/mlir/Dialect/DLTI/DLTIAttrs.td
M mlir/include/mlir/Dialect/Linalg/Passes.td
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h
A mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Interfaces/MemorySlotInterfaces.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/Barvinok.cpp
M mlir/lib/Analysis/Presburger/CMakeLists.txt
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/LinearTransform.cpp
M mlir/lib/Analysis/Presburger/Matrix.cpp
M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/QuasiPolynomial.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
M mlir/lib/Dialect/Bufferization/Transforms/EmptyTensorElimination.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
M mlir/lib/Dialect/Linalg/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
M mlir/lib/Dialect/MemRef/IR/MemRefMemorySlot.cpp
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/IR/AffineExpr.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/lib/Transforms/SROA.cpp
M mlir/python/mlir/extras/types.py
M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-analysis-empty-tensor-elimination.mlir
M mlir/test/Dialect/Linalg/bufferize.mlir
A mlir/test/Dialect/Linalg/roundtrip-linalg-named-ops.mlir
A mlir/test/Dialect/Linalg/specialize-generic-ops.mlir
A mlir/test/Dialect/Linalg/transform-op-specialize-elemwise-binary.mlir
A mlir/test/Dialect/Linalg/transform-op-specialize-elemwise-unary.mlir
A mlir/test/Dialect/Linalg/transform-op-specialize-matmul.mlir
R mlir/test/Dialect/Linalg/transform-op-specialize_elemwise_binary.mlir
R mlir/test/Dialect/Linalg/transform-op-specialize_elemwise_unary.mlir
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
M mlir/test/Target/LLVMIR/omptarget-llvm.mlir
M mlir/test/Target/LLVMIR/omptarget-nowait-llvm.mlir
M mlir/test/Target/LLVMIR/omptarget-parallel-llvm.mlir
M mlir/test/Target/LLVMIR/openmp-llvm.mlir
M mlir/test/lib/Dialect/Test/TestOpDefs.cpp
M mlir/unittests/Analysis/Presburger/Utils.h
M mlir/unittests/IR/AffineExprTest.cpp
M offload/DeviceRTL/CMakeLists.txt
R offload/DeviceRTL/include/Profiling.h
R offload/DeviceRTL/src/Profiling.cpp
M offload/plugins-nextgen/common/include/GlobalHandler.h
M offload/plugins-nextgen/common/src/GlobalHandler.cpp
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/test/CMakeLists.txt
M offload/test/api/omp_dynamic_shared_memory.c
M offload/test/jit/empty_kernel_lvl1.c
M offload/test/jit/empty_kernel_lvl2.c
M offload/test/jit/type_punning.c
M offload/test/libc/assert.c
M offload/test/lit.cfg
M offload/test/lit.site.cfg.in
M offload/test/mapping/auto_zero_copy.cpp
M offload/test/mapping/auto_zero_copy_apu.cpp
M offload/test/mapping/auto_zero_copy_globals.cpp
M offload/test/mapping/prelock.cpp
M offload/test/offloading/barrier_fence.c
M offload/test/offloading/bug49334.cpp
M offload/test/offloading/default_thread_limit.c
M offload/test/offloading/dynamic_module.c
M offload/test/offloading/fortran/basic-target-parallel-do.f90
M offload/test/offloading/fortran/basic-target-parallel-region.f90
M offload/test/offloading/fortran/basic-target-region-1D-array-section.f90
M offload/test/offloading/fortran/basic-target-region-3D-array-section.f90
M offload/test/offloading/fortran/basic-target-region-3D-array.f90
M offload/test/offloading/fortran/basic_target_region.f90
M offload/test/offloading/fortran/constant-arr-index.f90
M offload/test/offloading/fortran/declare-target-vars-in-target-region.f90
M offload/test/offloading/fortran/double-target-call-with-declare-target.f90
M offload/test/offloading/fortran/target-map-allocatable-array-section-1d-bounds.f90
M offload/test/offloading/fortran/target-map-allocatable-array-section-3d-bounds.f90
M offload/test/offloading/fortran/target-map-allocatable-map-scopes.f90
M offload/test/offloading/fortran/target-map-derived-type-full-1.f90
M offload/test/offloading/fortran/target-map-derived-type-full-2.f90
M offload/test/offloading/fortran/target-map-derived-type-full-implicit-1.f90
M offload/test/offloading/fortran/target-map-derived-type-full-implicit-2.f90
M offload/test/offloading/fortran/target-map-double-large-nested-dtype-multi-member.f90
M offload/test/offloading/fortran/target-map-double-nested-dtype-array-bounds.f90
M offload/test/offloading/fortran/target-map-double-nested-dtype-double-array-bounds.f90
M offload/test/offloading/fortran/target-map-double-nested-dtype-single-member.f90
M offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit-update.f90
M offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit.f90
M offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90
M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90
M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90
M offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90
M offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90
M offload/test/offloading/fortran/target-map-enter-exit-allocatables.f90
M offload/test/offloading/fortran/target-map-enter-exit-array-2.f90
M offload/test/offloading/fortran/target-map-enter-exit-array-bounds.f90
M offload/test/offloading/fortran/target-map-enter-exit-array.f90
M offload/test/offloading/fortran/target-map-enter-exit-scalar.f90
M offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90
M offload/test/offloading/fortran/target-map-large-nested-dtype-multi-member.f90
M offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90
M offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90
M offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90
M offload/test/offloading/fortran/target-map-nested-dtype-single-member.f90
M offload/test/offloading/fortran/target-map-pointer-scopes-enter-exit.f90
M offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90
M offload/test/offloading/fortran/target-map-pointer-target-scopes.f90
M offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90
M offload/test/offloading/fortran/target-map-two-dtype-individual-member-array-1D-bounds.f90
M offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-1.f90
M offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-2.f90
M offload/test/offloading/fortran/target-map-two-dtype-multi-member-array-1D-bounds.f90
M offload/test/offloading/fortran/target-map-two-nested-dtype-member-array-map.f90
M offload/test/offloading/fortran/target-nested-target-data.f90
M offload/test/offloading/fortran/target-parallel-do-collapse.f90
M offload/test/offloading/fortran/target-region-implicit-array.f90
M offload/test/offloading/fortran/target_map_common_block.f90
M offload/test/offloading/fortran/target_map_common_block1.f90
M offload/test/offloading/fortran/target_map_common_block2.f90
M offload/test/offloading/fortran/target_update.f90
M offload/test/offloading/memory_manager.cpp
M offload/test/offloading/ompx_bare.c
M offload/test/offloading/ompx_bare_ballot_sync.c
M offload/test/offloading/ompx_bare_shfl_down_sync.cpp
M offload/test/offloading/ompx_coords.c
M offload/test/offloading/ompx_saxpy_mixed.c
M offload/test/offloading/parallel_offloading_map.cpp
M offload/test/offloading/parallel_target_teams_reduction.cpp
M offload/test/offloading/parallel_target_teams_reduction_max.cpp
M offload/test/offloading/parallel_target_teams_reduction_min.cpp
R offload/test/offloading/pgo1.c
M offload/test/offloading/small_trip_count.c
M offload/test/offloading/small_trip_count_thread_limit.cpp
M offload/test/offloading/spmdization.c
M offload/test/offloading/target_critical_region.cpp
M offload/test/offloading/taskloop_offload_nowait.cpp
M offload/test/offloading/thread_limit.c
M offload/test/offloading/workshare_chunk.c
M offload/test/ompt/target_memcpy.c
M offload/test/ompt/target_memcpy_emi.c
M offload/test/ompt/veccopy.c
M offload/test/ompt/veccopy_data.c
M offload/test/ompt/veccopy_disallow_both.c
M offload/test/ompt/veccopy_emi.c
M offload/test/ompt/veccopy_emi_map.c
M offload/test/ompt/veccopy_map.c
M polly/lib/CodeGen/BlockGenerators.cpp
M polly/lib/CodeGen/CodeGeneration.cpp
M polly/lib/CodeGen/PerfMonitor.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Merge branch 'main' into users/kparzysz/spr/c02-is-capturing
Compare: https://github.com/llvm/llvm-project/compare/b8bab8efc86d...dbcaea712788
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