[all-commits] [llvm/llvm-project] 9fb552: [clang-tidy] Fix Hungarian Prefix in readability-i...
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Mon Mar 18 16:47:50 PDT 2024
Branch: refs/heads/users/arichardson/spr/main.compiler-rt-dont-check-compiler_rt_standalone_build-for-test-deps
Home: https://github.com/llvm/llvm-project
Commit: 9fb552812c65a13cd19eedea1cc2ef739ad652e9
https://github.com/llvm/llvm-project/commit/9fb552812c65a13cd19eedea1cc2ef739ad652e9
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
A clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/hungarian-notation3/.clang-tidy
A clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-hungarian-notation-lower-case-prefix.cpp
Log Message:
-----------
[clang-tidy] Fix Hungarian Prefix in readability-identifier-naming (#84236)
Fix handling of Hungarian Prefix when configured to LowerCase.
Warnings no longer will be emited for names that already match
this style.
Fixes: #80268
Commit: 81798d516067a58c8e4ba51072dae7351d445064
https://github.com/llvm/llvm-project/commit/81798d516067a58c8e4ba51072dae7351d445064
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M lld/ELF/DWARF.cpp
Log Message:
-----------
[ELF] Sort sections in order. NFC
Commit: 2e0ddfc1638597e0d08fb028fdd6754387732107
https://github.com/llvm/llvm-project/commit/2e0ddfc1638597e0d08fb028fdd6754387732107
Author: Chris B <chris.bieneman at me.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/docs/DirectX/DXILArchitecture.rst
Log Message:
-----------
[DirectX][docs] Expand DXILArchitecture documentation (#84077)
This just seeks to give a high level overview of the current state of
the DirectX backend. It doesn't go in too deep, but should be a starting
point for further documentation.
---------
Co-authored-by: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Commit: 5a95378659506b0ce94ceb79a43477e73c9756f4
https://github.com/llvm/llvm-project/commit/5a95378659506b0ce94ceb79a43477e73c9756f4
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
R clang/include/clang/Basic/Builtins.def
Log Message:
-----------
[NFC] Remove unnecessary 'Builtins.def' file.
This was replaced with tablegen anyway, so it just contained a stale
comment. This patch removes it.
Commit: a456885efc95eb141d051ade517432c531d427f7
https://github.com/llvm/llvm-project/commit/a456885efc95eb141d051ade517432c531d427f7
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/RISCV/alu64.ll
M llvm/test/CodeGen/RISCV/double-convert.ll
M llvm/test/CodeGen/RISCV/forced-atomics.ll
M llvm/test/CodeGen/RISCV/fpclamptosat.ll
M llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
M llvm/test/CodeGen/RISCV/signed-truncation-check.ll
Log Message:
-----------
[SelectionDAG] Allow FREEZE to be hoisted before integer SETCC. (#84241)
Teach canCreateUndefOrPoison that ISD::SETCC with integer operands can
never create undef/poison. FP SETCC is more complicated and will be
handled in a future patch.
Teach isGuaranteedNotToBeUndefOrPoison that ISD::CONDCODE is not
poison/undef. Its a special constant only used by setcc/select_cc like
nodes. This is needed since the hoisting will only hoist if exactly one
operand might be poison. setcc has 3 operand including the condition
code.
Recovers some regression from #84232.
Commit: 839a8fecb4c5dfe1b4484d5fc942a9490867c47a
https://github.com/llvm/llvm-project/commit/839a8fecb4c5dfe1b4484d5fc942a9490867c47a
Author: Changpeng Fang <changpeng.fang at amd.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP2Instructions.td
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
M llvm/lib/Target/AMDGPU/VOPInstructions.td
Log Message:
-----------
AMDGPU: Copy SubtargetPredicate from pseudo to real for dpp16 and dpp8 (#84517)
We usually expect to copy SubtargetPredicate (and OtherPredicates) from
pseudo to real. However, in dpp16 and dpp8, there are assignments like
SubtargetPredicate = HasDPP/HasDPP16/HasDpp8. These assignments override
predicates copied from pseudo, and thus the predicates used to define
pseudo get lost.
Losing predicates is a subtle issue usually not easy to be found. It may
result in instructions being generated on GPUs that do not support the
features to generate them.
https://github.com/llvm/llvm-project/pull/84354 addressed one of such
issues, and inspired this work.
Fortunately, we found that the assignment of SubtargetPredicate usually
comes together with assignment of AssemblerPredicate, and with the same
value. For example:
let AssemblerPredicate = HasDPP16;
let SubtargetPredicate = HasDPP16;
One of them is redundant and can be removed.
In this work, we remove the redundant assignment of SubtargetPredicate,
and then copy it from pseudo for VOP*_DPP and VOP*_DPP8. With this
change, we can safely use SubtargetPredicate to define pseudo
instructions.
Commit: 99118c809367d518ffe4de60c16da953744b68b9
https://github.com/llvm/llvm-project/commit/99118c809367d518ffe4de60c16da953744b68b9
Author: Adrian Prantl <adrian-prantl at users.noreply.github.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/Core/ValueObjectCast.h
M lldb/include/lldb/Core/ValueObjectChild.h
M lldb/include/lldb/Core/ValueObjectConstResult.h
M lldb/include/lldb/Core/ValueObjectDynamicValue.h
M lldb/include/lldb/Core/ValueObjectMemory.h
M lldb/include/lldb/Core/ValueObjectRegister.h
M lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
M lldb/include/lldb/Core/ValueObjectVTable.h
M lldb/include/lldb/Core/ValueObjectVariable.h
M lldb/include/lldb/DataFormatters/TypeSynthetic.h
M lldb/include/lldb/DataFormatters/VectorIterator.h
M lldb/include/lldb/Symbol/CompilerType.h
M lldb/include/lldb/Symbol/Type.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/include/lldb/Target/StackFrameRecognizer.h
M lldb/include/lldb/Utility/Log.h
M lldb/source/API/SBValue.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/IOHandlerCursesGUI.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/Core/ValueObjectCast.cpp
M lldb/source/Core/ValueObjectChild.cpp
M lldb/source/Core/ValueObjectConstResult.cpp
M lldb/source/Core/ValueObjectDynamicValue.cpp
M lldb/source/Core/ValueObjectMemory.cpp
M lldb/source/Core/ValueObjectRegister.cpp
M lldb/source/Core/ValueObjectSyntheticFilter.cpp
M lldb/source/Core/ValueObjectVTable.cpp
M lldb/source/Core/ValueObjectVariable.cpp
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/source/DataFormatters/TypeSynthetic.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/DataFormatters/VectorType.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
M lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
M lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp
M lldb/source/Plugins/Language/CPlusPlus/Coroutines.cpp
M lldb/source/Plugins/Language/CPlusPlus/Coroutines.h
M lldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp
M lldb/source/Plugins/Language/CPlusPlus/GenericOptional.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
M lldb/source/Plugins/Language/CPlusPlus/LibCxxAtomic.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxList.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxQueue.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxRangesRefView.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxSpan.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxTuple.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxValarray.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxVariant.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcppTuple.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp
M lldb/source/Plugins/Language/ObjC/Cocoa.cpp
M lldb/source/Plugins/Language/ObjC/NSArray.cpp
M lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
M lldb/source/Plugins/Language/ObjC/NSError.cpp
M lldb/source/Plugins/Language/ObjC/NSException.cpp
M lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp
M lldb/source/Plugins/Language/ObjC/NSSet.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
M lldb/source/Symbol/CompilerType.cpp
M lldb/source/Symbol/Type.cpp
M lldb/source/Symbol/Variable.cpp
M lldb/source/Target/StackFrame.cpp
Log Message:
-----------
Change GetNumChildren()/CalculateNumChildren() methods return llvm::Expected (#84219)
Change GetNumChildren()/CalculateNumChildren() methods return
llvm::Expected
This is an NFC change that does not yet add any error handling or change
any code to return any errors.
This is the second big change in the patch series started with
https://github.com/llvm/llvm-project/pull/83501
A follow-up PR will wire up error handling.
Commit: addda68f08191ecb91f22f48570f3defbd364b1d
https://github.com/llvm/llvm-project/commit/addda68f08191ecb91f22f48570f3defbd364b1d
Author: Changpeng Fang <changpeng.fang at amd.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/VINTERPInstructions.td
Log Message:
-----------
AMDGPU: Rename HasVinterInsts to HasVINTERPEncoding, NFC (#84535)
Commit: 2bd369b48dbf0bc3128becb7ef8f8a1b82514b87
https://github.com/llvm/llvm-project/commit/2bd369b48dbf0bc3128becb7ef8f8a1b82514b87
Author: Alexey Bataev <5361294+alexey-bataev at users.noreply.github.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr2.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/reduce-add-i64.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
M llvm/test/Transforms/SLPVectorizer/X86/PR35777.ll
M llvm/test/Transforms/SLPVectorizer/X86/int-bitcast-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-multiuse-with-insertelement.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-transformed-operand.ll
M llvm/test/Transforms/SLPVectorizer/X86/minimum-sizes.ll
M llvm/test/Transforms/SLPVectorizer/X86/phi-undef-input.ll
M llvm/test/Transforms/SLPVectorizer/X86/resched.ll
M llvm/test/Transforms/SLPVectorizer/X86/reused-reductions-with-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/store-insertelement-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/alt-cmp-vectorize.ll
Log Message:
-----------
[SLP]Improve minbitwidth analysis.
This improves overall analysis for minbitwidth in SLP. It allows to
analyze the trees with store/insertelement root nodes. Also, instead of
using single minbitwidth, detected from the very first analysis stage,
it tries to detect the best one for each trunc/ext subtree in the graph
and use it for the subtree.
Results in better code and less vector register pressure.
Metric: size..text
Program size..text
results results0 diff
test-suite :: SingleSource/Benchmarks/Adobe-C++/simple_types_loop_invariant.test 92549.00 92609.00 0.1%
test-suite :: External/SPEC/CINT2017speed/625.x264_s/625.x264_s.test 663381.00 663493.00 0.0%
test-suite :: External/SPEC/CINT2017rate/525.x264_r/525.x264_r.test 663381.00 663493.00 0.0%
test-suite :: MultiSource/Benchmarks/Bullet/bullet.test 307182.00 307214.00 0.0%
test-suite :: External/SPEC/CFP2017speed/638.imagick_s/638.imagick_s.test 1394420.00 1394484.00 0.0%
test-suite :: External/SPEC/CFP2017rate/538.imagick_r/538.imagick_r.test 1394420.00 1394484.00 0.0%
test-suite :: External/SPEC/CFP2017rate/510.parest_r/510.parest_r.test 2040257.00 2040273.00 0.0%
test-suite :: External/SPEC/CFP2017rate/526.blender_r/526.blender_r.test 12396098.00 12395858.00 -0.0%
test-suite :: External/SPEC/CINT2006/445.gobmk/445.gobmk.test 909944.00 909768.00 -0.0%
SingleSource/Benchmarks/Adobe-C++/simple_types_loop_invariant - 4 scalar
instructions remain scalar (good).
Spec2017/x264 - the whole function idct4x4dc is vectorized using <16
x i16> instead of <16 x i32>, also zext/trunc are removed. In other
places last vector zext/sext removed and replaced by
extractelement + scalar zext/sext pair.
MultiSource/Benchmarks/Bullet/bullet - reduce or <4 x i32> replaced by
reduce or <4 x i8>
Spec2017/imagick - Removed extra zext from 2 packs of the operations.
Spec2017/parest - Removed extra zext, replaced by extractelement+scalar
zext
Spec2017/blender - the whole bunch of vector zext/sext replaced by
extractelement+scalar zext/sext, some extra code vectorized in smaller
types.
Spec2006/gobmk - fixed cost estimation, some small code remains scalar.
Original Pull Request: https://github.com/llvm/llvm-project/pull/84334
The patch has the same functionality (no test changes, no changes in
benchmarks) as the original patch, just has some compile time
improvements + fixes for xxhash unittest, discovered earlier in the
previous version of the patch.
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/84536
Commit: 9405d5af65853ac548cce2656497195010db1d86
https://github.com/llvm/llvm-project/commit/9405d5af65853ac548cce2656497195010db1d86
Author: Andrew Browne <browneee at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M clang/docs/DataFlowSanitizer.rst
Log Message:
-----------
[DFSan] Add missing documentation for -dfsan-reaches-function-callbacks. (#84218)
Commit: 51207756b0692f325cf75560185cf0336239b3e0
https://github.com/llvm/llvm-project/commit/51207756b0692f325cf75560185cf0336239b3e0
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflows: Fixes for building the release binaries (#83694)
Since aa02002491333c42060373bc84f1ff5d2c76b4ce we weren't installing the
correct dependencies, and since 2836d8edbfbcd461b25101ed58f93c862d65903a
we must pass a custom token to github-upload-release.py for verifying
permissions.
Commit: e460da14ec0d85af657a018605decabdd5221ded
https://github.com/llvm/llvm-project/commit/e460da14ec0d85af657a018605decabdd5221ded
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
Log Message:
-----------
[AMDGPU] Use get_BUF_ps to default real_name of BUF instructions. NFC. (#84524)
Commit: 074fe3bac634ae9054e2d35be2e1bcf8a19bc256
https://github.com/llvm/llvm-project/commit/074fe3bac634ae9054e2d35be2e1bcf8a19bc256
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
Log Message:
-----------
[AMDGPU] Simplify and refactor VBUFFER_Real class definitions. NFC. (#84521)
Abstracting out a new base class VBUFFER_Real_gfx12 just highlights that
the only difference between the MUBUF and MTBUF forms is in the handling
of the "format" field.
Commit: 70da9155efb3aeb2c6b37678168cf29f91e80734
https://github.com/llvm/llvm-project/commit/70da9155efb3aeb2c6b37678168cf29f91e80734
Author: Mads Marquart <mads at marquart.dk>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/TargetParser/Host.cpp
Log Message:
-----------
Update host CPU detection for Apple M2 and Apple M3 (#82100)
`CPUFAMILY_ARM_BLIZZARD_AVALANCHE` and `CPUFAMILY_ARM_EVEREST_SAWTOOTH`
are taken from `<mach/machine.h>` in `Kernel.framework`.
Commit: 087666811452e1b6490d59572337aaa907f93e7c
https://github.com/llvm/llvm-project/commit/087666811452e1b6490d59572337aaa907f93e7c
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
M libcxx/include/__format/concepts.h
M libcxx/include/__format/format_arg.h
M libcxx/include/__format/format_args.h
M libcxx/include/__format/format_context.h
R libcxx/include/__format/format_fwd.h
M libcxx/include/__format/formatter.h
A libcxx/include/__fwd/format.h
M libcxx/include/format
M libcxx/include/libcxx.imp
M libcxx/include/module.modulemap
Log Message:
-----------
[libc++][NFC] Move __format/format_fwd.h to __fwd/format.h (#84336)
Commit: 52b3e89ff4517521e40f5e416a40e574321eaee9
https://github.com/llvm/llvm-project/commit/52b3e89ff4517521e40f5e416a40e574321eaee9
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M lld/ELF/SyntheticSections.cpp
Log Message:
-----------
[ELF] Simplify GdbIndexSection. NFC
Commit: e963d0740e64fc70b4018f39325469d204f6217a
https://github.com/llvm/llvm-project/commit/e963d0740e64fc70b4018f39325469d204f6217a
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
M llvm/test/CodeGen/AMDGPU/immv216.ll
M llvm/test/CodeGen/AMDGPU/inline-constraints.ll
M llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
M llvm/test/CodeGen/AMDGPU/wmma-gfx12-w32-imm.ll
M llvm/test/CodeGen/AMDGPU/wmma-gfx12-w64-imm.ll
M llvm/test/MC/AMDGPU/gfx10_asm_vop1.s
M llvm/test/MC/AMDGPU/gfx10_asm_vop3.s
M llvm/test/MC/AMDGPU/gfx10_asm_vopc.s
M llvm/test/MC/AMDGPU/gfx10_asm_vopc_e64.s
M llvm/test/MC/AMDGPU/gfx10_asm_vopcx.s
M llvm/test/MC/AMDGPU/gfx11_asm_vop1.s
M llvm/test/MC/AMDGPU/gfx11_asm_vop3.s
M llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vop1.s
M llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
M llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopcx.s
M llvm/test/MC/AMDGPU/gfx11_asm_vopc.s
M llvm/test/MC/AMDGPU/gfx11_asm_vopcx.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop1.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop3.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop3c.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop3cx.s
M llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
M llvm/test/MC/AMDGPU/gfx12_asm_vopcx.s
M llvm/test/MC/AMDGPU/gfx8_asm_vop1.s
M llvm/test/MC/AMDGPU/gfx8_asm_vop2.s
M llvm/test/MC/AMDGPU/gfx8_asm_vopc.s
M llvm/test/MC/AMDGPU/gfx9-asm-err.s
M llvm/test/MC/AMDGPU/gfx9_asm_vop1.s
M llvm/test/MC/AMDGPU/gfx9_asm_vop2.s
M llvm/test/MC/AMDGPU/gfx9_asm_vopc.s
M llvm/test/MC/AMDGPU/gfx9_err_pos.s
M llvm/test/MC/AMDGPU/vop3-gfx10.s
M llvm/test/MC/AMDGPU/vop3-gfx9.s
M llvm/test/MC/AMDGPU/vop3.s
M llvm/test/MC/AMDGPU/vop_sdwa.s
Log Message:
-----------
[AMDGPU] Replace `isInlinableLiteral16` with specific version (#84402)
The current implementation of `isInlinableLiteral16` assumes, a 16-bit
inlinable
literal is either an `i16` or a `fp16`. This is not always true because
of
`bf16`. However, we can't tell `fp16` and `bf16` apart by just looking
at the
value. This patch splits `isInlinableLiteral16` into three versions,
`i16`,
`fp16`, `bf16` respectively, and call the corresponding version.
Commit: 5f935e91810eb28854611faf13bb7d07a8dbf470
https://github.com/llvm/llvm-project/commit/5f935e91810eb28854611faf13bb7d07a8dbf470
Author: David Majnemer <david.majnemer at gmail.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrFormats.td
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/arm64-vcvt_f.ll
M llvm/test/CodeGen/AArch64/fp16-v8-instructions.ll
M llvm/test/CodeGen/AArch64/fpext.ll
M llvm/test/CodeGen/AArch64/fptrunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fcopysign.ll
M llvm/test/CodeGen/AArch64/vector-fcopysign.ll
Log Message:
-----------
[AArch64] Optimize fp64 <-> fp16 SIMD conversions
Legalization would result in needless scalarization. Add some
DAGCombines to fix this up.
Commit: edc1c3d24e6f8ed548340ce0369138fb40427a24
https://github.com/llvm/llvm-project/commit/edc1c3d24e6f8ed548340ce0369138fb40427a24
Author: David Majnemer <david.majnemer at gmail.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/faddp-half.ll
M llvm/test/CodeGen/AArch64/faddsub.ll
M llvm/test/CodeGen/AArch64/fcvt.ll
M llvm/test/CodeGen/AArch64/fcvt_combine.ll
M llvm/test/CodeGen/AArch64/fdiv.ll
M llvm/test/CodeGen/AArch64/fmla.ll
M llvm/test/CodeGen/AArch64/fmul.ll
M llvm/test/CodeGen/AArch64/fp16-v8-instructions.ll
M llvm/test/CodeGen/AArch64/sve-fp-reciprocal.ll
M llvm/test/CodeGen/AArch64/vecreduce-fadd.ll
M llvm/test/CodeGen/AArch64/vecreduce-fmul.ll
Log Message:
-----------
[AArch64] Make more vector f16 operations legal
v8f16 is a legal type but promoting to v16f16 would result in an illegal
type.
Let's legalize these by a combination of splitting+promoting resulting
in a pair of v4f16.
Also, we were being overly cautious with different v4f16 nodes. Mark
more of them safe to promote to v4f32.
Commit: 0d7dba6300b452c751cde4eeaedcbfeb86f6185c
https://github.com/llvm/llvm-project/commit/0d7dba6300b452c751cde4eeaedcbfeb86f6185c
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 087666811452
Commit: 0861755e597e671424ee369f36dff5591b7178ee
https://github.com/llvm/llvm-project/commit/0861755e597e671424ee369f36dff5591b7178ee
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/ADT/FoldingSet.h
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/IR/Attributes.h
M llvm/include/llvm/IR/Attributes.td
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/AttributeImpl.h
M llvm/lib/IR/Attributes.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
R llvm/test/Assembler/range-attribute-invalid-range.ll
R llvm/test/Assembler/range-attribute-invalid-type.ll
M llvm/test/Bitcode/attributes.ll
R llvm/test/Verifier/range-attr.ll
M llvm/utils/TableGen/Attributes.cpp
Log Message:
-----------
Revert "[IR] Add new Range attribute using new ConstantRange Attribute type" (#84549)
Reverts llvm/llvm-project#83171
broke sanitizer buildbot
https://lab.llvm.org/buildbot/#/builders/168/builds/19110/steps/10/logs/stdio
Commit: 300a39bdad4593fdc2618eb28f6e838df735619a
https://github.com/llvm/llvm-project/commit/300a39bdad4593fdc2618eb28f6e838df735619a
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/Core/ValueObjectCast.h
M lldb/include/lldb/Core/ValueObjectChild.h
M lldb/include/lldb/Core/ValueObjectConstResult.h
M lldb/include/lldb/Core/ValueObjectDynamicValue.h
M lldb/include/lldb/Core/ValueObjectMemory.h
M lldb/include/lldb/Core/ValueObjectRegister.h
M lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
M lldb/include/lldb/Core/ValueObjectVTable.h
M lldb/include/lldb/Core/ValueObjectVariable.h
M lldb/include/lldb/DataFormatters/TypeSynthetic.h
M lldb/include/lldb/DataFormatters/VectorIterator.h
M lldb/include/lldb/Symbol/CompilerType.h
M lldb/include/lldb/Symbol/Type.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/include/lldb/Target/StackFrameRecognizer.h
M lldb/include/lldb/Utility/Log.h
M lldb/source/API/SBValue.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/IOHandlerCursesGUI.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/Core/ValueObjectCast.cpp
M lldb/source/Core/ValueObjectChild.cpp
M lldb/source/Core/ValueObjectConstResult.cpp
M lldb/source/Core/ValueObjectDynamicValue.cpp
M lldb/source/Core/ValueObjectMemory.cpp
M lldb/source/Core/ValueObjectRegister.cpp
M lldb/source/Core/ValueObjectSyntheticFilter.cpp
M lldb/source/Core/ValueObjectVTable.cpp
M lldb/source/Core/ValueObjectVariable.cpp
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/source/DataFormatters/TypeSynthetic.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/DataFormatters/VectorType.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
M lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
M lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp
M lldb/source/Plugins/Language/CPlusPlus/Coroutines.cpp
M lldb/source/Plugins/Language/CPlusPlus/Coroutines.h
M lldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp
M lldb/source/Plugins/Language/CPlusPlus/GenericOptional.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
M lldb/source/Plugins/Language/CPlusPlus/LibCxxAtomic.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxList.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxQueue.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxRangesRefView.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxSpan.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxTuple.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxValarray.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxVariant.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcppTuple.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp
M lldb/source/Plugins/Language/ObjC/Cocoa.cpp
M lldb/source/Plugins/Language/ObjC/NSArray.cpp
M lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
M lldb/source/Plugins/Language/ObjC/NSError.cpp
M lldb/source/Plugins/Language/ObjC/NSException.cpp
M lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp
M lldb/source/Plugins/Language/ObjC/NSSet.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
M lldb/source/Symbol/CompilerType.cpp
M lldb/source/Symbol/Type.cpp
M lldb/source/Symbol/Variable.cpp
M lldb/source/Target/StackFrame.cpp
Log Message:
-----------
Revert "Change GetNumChildren()/CalculateNumChildren() methods return llvm::Expected (#84219)"
This reverts commit 99118c809367d518ffe4de60c16da953744b68b9.
Commit: 08ddd2ce4048b0adbddc3ab9b770ccf43f81d65d
https://github.com/llvm/llvm-project/commit/08ddd2ce4048b0adbddc3ab9b770ccf43f81d65d
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfWriter.h
M llvm/lib/ProfileData/InstrProfWriter.cpp
A llvm/test/tools/llvm-profdata/profile-version.test
M llvm/tools/llvm-profdata/llvm-profdata.cpp
Log Message:
-----------
[PGO] Add support for writing previous indexed format (#84505)
Enable temporary support to ease use of new llvm-profdata with slightly
older indexed profiles after 16e74fd48988ac95551d0f64e1b36f78a82a89a2,
which bumped the indexed format for type profiling.
Commit: 05280b582aa73ce0f41bb47aea15818658f32929
https://github.com/llvm/llvm-project/commit/05280b582aa73ce0f41bb47aea15818658f32929
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M openmp/runtime/cmake/LibompHandleFlags.cmake
M openmp/runtime/src/z_Linux_util.cpp
Log Message:
-----------
[OpenMP] Implements __kmp_is_address_mapped for Solaris/Illumos. (#82930)
Also fixing OpenMP build itself for this platform.
Commit: 755b439694432d4f68e20e979b479cbc30602bb1
https://github.com/llvm/llvm-project/commit/755b439694432d4f68e20e979b479cbc30602bb1
Author: yingopq <115543042+yingopq at users.noreply.github.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/Target/Mips/MipsExpandPseudo.cpp
M llvm/test/CodeGen/Mips/atomic-min-max.ll
Log Message:
-----------
[Mips] Fix missing sign extension in expansion of sub-word atomic max (#77072)
Add sign extension "SEB/SEH" before compare.
Fix #61881
Commit: 83789ffbd857bb78b69d6e54560310ff2d347f04
https://github.com/llvm/llvm-project/commit/83789ffbd857bb78b69d6e54560310ff2d347f04
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenTBAA.cpp
M clang/test/CodeGen/tbaa-struct-relaxed-aliasing-with-tsan.cpp
Log Message:
-----------
[TBAA] Add bail-out to skip tbaa generation to getTBAAStructInfo. (#84386)
Without this bail out, we may generate fields with null nodes as tags
are generated by using getTypeInfo which has the same bail out.
PR: https://github.com/llvm/llvm-project/pull/84386
Commit: 8d85cd3a59f65315bbadaf11c4b3f107238456db
https://github.com/llvm/llvm-project/commit/8d85cd3a59f65315bbadaf11c4b3f107238456db
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M libcxx/CMakeLists.txt
Log Message:
-----------
[libc++] Don't build against libcxxrt by default on FreeBSD (#84484)
The libc++ CMake build aims to provide a general-purpose configuration
that matches the canonical LLVM setup (libc++ / libc++abi / libunwind),
not the configuration used for compatibility on any given system. For
these "compatibility" configurations, we use CMake caches like
Apple.cmake and FreeBSD.cmake.
Defaulting to libcxxrt on FreeBSD makes it look as though we're trying
to build the system compatible configuration on FreeBSD, which isn't
really correct and causes confusion more than anything else.
Fixes #84476
Commit: 29762e372294e5b591684f57979f33c1c48bbfba
https://github.com/llvm/llvm-project/commit/29762e372294e5b591684f57979f33c1c48bbfba
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M libc/src/__support/RPC/rpc.h
M libc/utils/gpu/server/rpc_server.cpp
Log Message:
-----------
[libc][NFCI] Remove lane size template argument on RPC server (#84557)
Summary:
We previously changed the data layout for the RPC buffer to make it lane
size agnostic. I put off changing the size for the server case to make
the patch smaller. This patch simply reorganizes code by making the lane
size an argument to the port rather than a templtae size. Heavily
simplifies a lot of code, no more `std::variant`.
Commit: 03c6c73b022415378f2efbc13398bdb2c22d3180
https://github.com/llvm/llvm-project/commit/03c6c73b022415378f2efbc13398bdb2c22d3180
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Log Message:
-----------
[NFC] [hwasan] remove unused method
Commit: 3ceebcb48135612b8d90500f65693398f7e526cd
https://github.com/llvm/llvm-project/commit/3ceebcb48135612b8d90500f65693398f7e526cd
Author: Peiming Liu <peiming at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M mlir/unittests/CMakeLists.txt
Log Message:
-----------
[mlir] tentative fix for "'GTEST_NO_LLVM_SUPPORT' is not defined" war… (#84539)
…ning when unittest is enabled
Commit: 1cf428a05a62711200d37a1b12722ca16c33a6ea
https://github.com/llvm/llvm-project/commit/1cf428a05a62711200d37a1b12722ca16c33a6ea
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
Log Message:
-----------
Skip MemtagBasicDeathTest#Unsupported when running with HWASan (#84243)
Tested in AOSP.
Commit: e93489c434da5fd93ed54c3c41b0c06f718bb8ff
https://github.com/llvm/llvm-project/commit/e93489c434da5fd93ed54c3c41b0c06f718bb8ff
Author: Jakub Kuderski <jakub at nod-labs.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Mesh/Transforms/CMakeLists.txt
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir] Add missing build deps for Mesh transforms (#84581)
Commit: cb6ff746e0c7b9218b6f5c11db44162cacd623a4
https://github.com/llvm/llvm-project/commit/cb6ff746e0c7b9218b6f5c11db44162cacd623a4
Author: Kojo Acquah <KoolJBlack at users.noreply.github.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
A mlir/include/mlir/Dialect/ArmNeon/Transforms.h
M mlir/lib/Conversion/VectorToLLVM/CMakeLists.txt
M mlir/lib/Dialect/ArmNeon/CMakeLists.txt
A mlir/lib/Dialect/ArmNeon/IR/CMakeLists.txt
A mlir/lib/Dialect/ArmNeon/Transforms/CMakeLists.txt
A mlir/lib/Dialect/ArmNeon/Transforms/LowerContractionToSMMLAPattern.cpp
A mlir/test/Dialect/ArmNeon/lower-to-arm-neon.mlir
A mlir/test/lib/Dialect/ArmNeon/CMakeLists.txt
A mlir/test/lib/Dialect/ArmNeon/TestLowerToArmNeon.cpp
M mlir/test/lib/Dialect/CMakeLists.txt
M mlir/tools/mlir-opt/CMakeLists.txt
M mlir/tools/mlir-opt/mlir-opt.cpp
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][ArmNeon] Implements LowerVectorToArmNeon Pattern for SMMLA (#81895)
This patch adds a the `LowerVectorToArmNeonPattern` patterns to the
ArmNeon.
This pattern inspects `vector.contract` ops that can be 1-1 mapped to an
`arm.neon.smmla` intrinsic. The contract ops must be separated into
tiles who's inputs must fit that of a single smmla op (`2x8xi32` inputs
and `2x2xi32` output). The `vector.contract` inputs must be sign
extended from narrow types (<=i8) to be converted. If all conditions are
met, an smmla op is inserted with additional `vector.shape_casts` to
handle linearizing the input and output dimension.
Commit: c22828991e7ca7b99048761c078252e94403ba6e
https://github.com/llvm/llvm-project/commit/c22828991e7ca7b99048761c078252e94403ba6e
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M compiler-rt/lib/builtins/CMakeLists.txt
M compiler-rt/test/builtins/Unit/ctor_dtor.c
Log Message:
-----------
Revert "[builtins] Disable COMPILER_RT_CRT_USE_EH_FRAME_REGISTRY by d… (#84580)
…efault (#83201)"
This reverts commit 062cfada643c1aa48a1bb81894e2920d390fe8cf. See issue
#84574.
Commit: 624ea68cbc3ce422b3ee110c0c0af839eec2e278
https://github.com/llvm/llvm-project/commit/624ea68cbc3ce422b3ee110c0c0af839eec2e278
Author: Adrian Prantl <adrian-prantl at users.noreply.github.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/Core/ValueObjectCast.h
M lldb/include/lldb/Core/ValueObjectChild.h
M lldb/include/lldb/Core/ValueObjectConstResult.h
M lldb/include/lldb/Core/ValueObjectDynamicValue.h
M lldb/include/lldb/Core/ValueObjectMemory.h
M lldb/include/lldb/Core/ValueObjectRegister.h
M lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
M lldb/include/lldb/Core/ValueObjectVTable.h
M lldb/include/lldb/Core/ValueObjectVariable.h
M lldb/include/lldb/DataFormatters/TypeSynthetic.h
M lldb/include/lldb/DataFormatters/VectorIterator.h
M lldb/include/lldb/Symbol/CompilerType.h
M lldb/include/lldb/Symbol/Type.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/include/lldb/Target/StackFrameRecognizer.h
M lldb/include/lldb/Utility/Log.h
M lldb/source/API/SBValue.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/IOHandlerCursesGUI.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/Core/ValueObjectCast.cpp
M lldb/source/Core/ValueObjectChild.cpp
M lldb/source/Core/ValueObjectConstResult.cpp
M lldb/source/Core/ValueObjectDynamicValue.cpp
M lldb/source/Core/ValueObjectMemory.cpp
M lldb/source/Core/ValueObjectRegister.cpp
M lldb/source/Core/ValueObjectSyntheticFilter.cpp
M lldb/source/Core/ValueObjectVTable.cpp
M lldb/source/Core/ValueObjectVariable.cpp
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/source/DataFormatters/TypeSynthetic.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/DataFormatters/VectorType.cpp
M lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
M lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
M lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp
M lldb/source/Plugins/Language/CPlusPlus/Coroutines.cpp
M lldb/source/Plugins/Language/CPlusPlus/Coroutines.h
M lldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp
M lldb/source/Plugins/Language/CPlusPlus/GenericOptional.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
M lldb/source/Plugins/Language/CPlusPlus/LibCxxAtomic.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxList.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxQueue.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxRangesRefView.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxSpan.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxTuple.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxValarray.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxVariant.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcppTuple.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp
M lldb/source/Plugins/Language/ObjC/Cocoa.cpp
M lldb/source/Plugins/Language/ObjC/NSArray.cpp
M lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
M lldb/source/Plugins/Language/ObjC/NSError.cpp
M lldb/source/Plugins/Language/ObjC/NSException.cpp
M lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp
M lldb/source/Plugins/Language/ObjC/NSSet.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
M lldb/source/Symbol/CompilerType.cpp
M lldb/source/Symbol/Type.cpp
M lldb/source/Symbol/Variable.cpp
M lldb/source/Target/StackFrame.cpp
Log Message:
-----------
Change GetNumChildren()/CalculateNumChildren() methods return llvm::Expected (#84219)
Change GetNumChildren()/CalculateNumChildren() methods return
llvm::Expected
This is an NFC change that does not yet add any error handling or change
any code to return any errors.
This is the second big change in the patch series started with
https://github.com/llvm/llvm-project/pull/83501
A follow-up PR will wire up error handling.
Commit: 4d323e404d43526ad8263769f00aace9db2e57c5
https://github.com/llvm/llvm-project/commit/4d323e404d43526ad8263769f00aace9db2e57c5
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M libcxx/include/__config
M libcxx/include/tuple
Log Message:
-----------
[libc++] Allow the use of extensions in the implementation (#79532)
We've talked about allowing extensions on
[discourse](https://discourse.llvm.org/t/rfc-use-language-extensions-from-future-standards-in-libc/71898/5)
and in a libc++ monthly meeting and agreed to test it out in the LLVM 18
release. We've done that with the `tuple` constructor overload set
(using conditional `explicit`). Since we haven't heard about any
breakages, it seems safe to do. This patch enables the use of extension
from later C++ standards inside the versioned `std` namespaces. This
should be good enough, since almost all of our code is inside that
namespace. This approach also avoids the use of extensions inside the
test `std` suite. That part of the code base should stay clean, since
it's a test suite that is also used by other vendors to test their
implementations.
Commit: dc567a2ec61d07e89902f73c1bdd4106dc071f3f
https://github.com/llvm/llvm-project/commit/dc567a2ec61d07e89902f73c1bdd4106dc071f3f
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/DeclCXX.cpp
M clang/test/SemaCXX/lambda-expressions.cpp
Log Message:
-----------
[clang] Fix crash when declaring invalid lambda member (#74110)
In valid code, there should only be a very specific set of members in a
lambda definition. If the user tries to define something inside the
lambda class, this assumption is violated and causes an assertion error.
This can be fixed by checking whether the members are valid, and if not,
ignore that the class members are potentially unexpected.
I've come across this while working on implementing lambdas in C++03.
Commit: 6b270358c71c3bc57a0dec6586c2f7a9d4d0a85b
https://github.com/llvm/llvm-project/commit/6b270358c71c3bc57a0dec6586c2f7a9d4d0a85b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/RISCV/bfloat-convert.ll
M llvm/test/CodeGen/RISCV/double-convert.ll
M llvm/test/CodeGen/RISCV/double-round-conv-sat.ll
M llvm/test/CodeGen/RISCV/float-convert.ll
M llvm/test/CodeGen/RISCV/float-round-conv-sat.ll
M llvm/test/CodeGen/RISCV/half-convert.ll
M llvm/test/CodeGen/RISCV/half-round-conv-sat.ll
Log Message:
-----------
[SelectionDAG] Allow FREEZE to be hoisted before FP SETCC. (#84358)
No nans/infs in SelectionDAG is complicated. Hopefully I've captured
all of the cases. I've only applied to ConsiderFlags to the SDNodeFlags
since those are the only ones that will be droped by hoisting. The
condition code and TargetOptions would still be in effect.
Recovers some regression from #84232.
Commit: 2709bafbfe54b75003c60a950605194d6a3c9776
https://github.com/llvm/llvm-project/commit/2709bafbfe54b75003c60a950605194d6a3c9776
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M llvm/docs/CodeReview.rst
M llvm/docs/GitHub.rst
Log Message:
-----------
llvm/docs: Try to fix some broken links
I messed up the syntax here previously - let's see if this is enough to
get it working.
Commit: e1405e4f71c899420ebf8262d5e9745598419df8
https://github.com/llvm/llvm-project/commit/e1405e4f71c899420ebf8262d5e9745598419df8
Author: erer1243 <erer1243 at gmail.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M llvm/bindings/ocaml/llvm/llvm_ocaml.c
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/lib/IR/Core.cpp
Log Message:
-----------
[llvm-c] Add C API methods to match size_t ConstantDataArray C++ API signatures (#84433)
Adds `LLVMConstStringInContext2` and `LLVMConstString2`, which are
identical to originals except that they use `size_t` for length. This is
a clone of
https://github.com/llvm/llvm-project/commit/35276f16e5a2cae0dfb49c0fbf874d4d2f177acc
and is needed for https://github.com/rust-lang/rust/pull/122000.
As an aside, the issue of 32 bit overflow on constants is present in the
C++ APIs as well. A few classes, e.g. `ConstantDataArray` and
`ConstantAggregateZero`, can hold 64-bit ArrayTypes but their length
accessors return 32-bit values. This means the same issue from the
original Rust report is also present in LLVM itself. Would it be a
reasonable goal to update all of these length methods & types to be
uint64_t, or would that be too breaking? Alternatively, we could use
safe fallible casts instead of implicit ones inside the accessors (if an
overflow does happen, the solution would be to use
`MyValue->getType()->getArrayNumElements()` instead).
Commit: 0baef3b18cdbbdcf9f07c10607407ad0fb541449
https://github.com/llvm/llvm-project/commit/0baef3b18cdbbdcf9f07c10607407ad0fb541449
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Handle common C++ non-keyword types as such (#83709)
Fixes #83400.
Commit: 0b9ce71a256d86c08f2b52ad2e337395b8f54b41
https://github.com/llvm/llvm-project/commit/0b9ce71a256d86c08f2b52ad2e337395b8f54b41
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/utils/release/github-upload-release.py
Log Message:
-----------
github-upload-release.py: Fix bug preventing release creation (#84571)
After aa02002491333c42060373bc84f1ff5d2c76b4ce we started passing the
user name to the create_release function and this was being interpreted
as the git tag.
Commit: c58c8278f98c189d149d5f062b8d4f56efcada90
https://github.com/llvm/llvm-project/commit/c58c8278f98c189d149d5f062b8d4f56efcada90
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_common.h
M compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
M compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h
Log Message:
-----------
[compiler-rt] Simplify and rename of operator_new_size_type
We can rely on the compiler-provided macro __SIZE_TYPE__ for all
non-MSVC compilers and fall back to `uptr` otherwise.
I verified via https://godbolt.org/z/MW9KMjv5f that this works for MSVC
as well as GCC 4.5 Clang 3.0, so that should cover supported compilers.
While touching this also rename operator_new_size_type to usize which
makes it more obvious that this is the equivalent to size_t within
the sanitizers runtime (which I plan to use in follow-up changes).
Reviewed By: vitalybuka
Pull Request: https://github.com/llvm/llvm-project/pull/83912
Commit: fc0fc768cc2122c81fd37aa59d9f31fc0d5694d8
https://github.com/llvm/llvm-project/commit/fc0fc768cc2122c81fd37aa59d9f31fc0d5694d8
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsX86.def
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Headers/avxintrin.h
M clang/lib/Headers/emmintrin.h
M clang/lib/Headers/xmmintrin.h
A clang/test/CodeGen/X86/attribute-cmpsd-no-error.c
M clang/test/CodeGen/X86/avx-builtins.c
A clang/test/CodeGen/X86/cmp-avx-builtins-error.c
M clang/test/CodeGen/X86/sse-builtins.c
M clang/test/CodeGen/X86/sse2-builtins.c
M clang/test/CodeGen/target-features-error-2.c
Log Message:
-----------
[X86] Finally handle target of __builtin_ia32_cmp[p|s][s|d] from avx into sse/sse2/avx (#84136)
This patch relands #67410 and fixes the cmpfail below:
#include <immintrin.h>
__attribute__((target("avx"))) void test(__m128 a, __m128 b) {
_mm_cmp_ps(a, b, 14);
}
According to Intel SDM, SSE/SSE2 instructions cmp[p|s][s|d] are
supported when imm8 is in range of [0, 7]
Commit: 6c765069112e31ec66cd4387f2a39f70583e626b
https://github.com/llvm/llvm-project/commit/6c765069112e31ec66cd4387f2a39f70583e626b
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_mutex.cpp
Log Message:
-----------
[tsan] Fix running check-ubsan with COMPILER_RT_DEBUG=ON
TestCases/Misc/Linux/sigaction.cpp fails because dlsym() may call malloc
on failure. And then the wrapped malloc appears to access thread local
storage using global dynamic accesses, thus calling
___interceptor___tls_get_addr, before REAL(__tls_get_addr) has
been set, so we get a crash inside ___interceptor___tls_get_addr. For
example, this can happen when looking up __isoc23_scanf which might not
exist in some libcs.
Fix this by marking the thread local variable accessed inside the
debug checks as "initial-exec", which does not require __tls_get_addr.
This is probably a better alternative to https://github.com/llvm/llvm-project/pull/83886.
This fixes a different crash but is related to https://github.com/llvm/llvm-project/issues/46204.
Backtrace:
```
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff6a9d89e in ___interceptor___tls_get_addr (arg=0x7ffff6b27be8) at /path/to/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:2759
#2 0x00007ffff6a46bc6 in __sanitizer::CheckedMutex::LockImpl (this=0x7ffff6b27be8, pc=140737331846066) at /path/to/llvm/compiler-rt/lib/sanitizer_common/sanitizer_mutex.cpp:218
#3 0x00007ffff6a448b2 in __sanitizer::CheckedMutex::Lock (this=0x7ffff6b27be8, this at entry=0x730000000580) at /path/to/llvm/compiler-rt/lib/tsan/rtl/../../sanitizer_common/sanitizer_mutex.h:129
#4 __sanitizer::Mutex::Lock (this=0x7ffff6b27be8, this at entry=0x730000000580) at /path/to/llvm/compiler-rt/lib/tsan/rtl/../../sanitizer_common/sanitizer_mutex.h:167
#5 0x00007ffff6abdbb2 in __sanitizer::GenericScopedLock<__sanitizer::Mutex>::GenericScopedLock (mu=0x730000000580, this=<optimized out>) at /path/to/llvm/compiler-rt/lib/tsan/rtl/../../sanitizer_common/sanitizer_mutex.h:383
#6 __sanitizer::SizeClassAllocator64<__tsan::AP64>::GetFromAllocator (this=0x7ffff7487dc0 <__tsan::allocator_placeholder>, stat=stat at entry=0x7ffff570db68, class_id=11, chunks=chunks at entry=0x7ffff5702cc8, n_chunks=n_chunks at entry=128) at /path/to/llvm/compiler-rt/lib/tsan/rtl/../../sanitizer_common/sanitizer_allocator_primary64.h:207
#7 0x00007ffff6abdaa0 in __sanitizer::SizeClassAllocator64LocalCache<__sanitizer::SizeClassAllocator64<__tsan::AP64> >::Refill (this=<optimized out>, c=c at entry=0x7ffff5702cb8, allocator=<optimized out>, class_id=<optimized out>)
at /path/to/llvm/compiler-rt/lib/tsan/rtl/../../sanitizer_common/sanitizer_allocator_local_cache.h:103
#8 0x00007ffff6abd731 in __sanitizer::SizeClassAllocator64LocalCache<__sanitizer::SizeClassAllocator64<__tsan::AP64> >::Allocate (this=0x7ffff6b27be8, allocator=0x7ffff5702cc8, class_id=140737311157448)
at /path/to/llvm/compiler-rt/lib/tsan/rtl/../../sanitizer_common/sanitizer_allocator_local_cache.h:39
#9 0x00007ffff6abc397 in __sanitizer::CombinedAllocator<__sanitizer::SizeClassAllocator64<__tsan::AP64>, __sanitizer::LargeMmapAllocatorPtrArrayDynamic>::Allocate (this=0x7ffff5702cc8, cache=0x7ffff6b27be8, size=<optimized out>, size at entry=175, alignment=alignment at entry=16)
at /path/to/llvm/compiler-rt/lib/tsan/rtl/../../sanitizer_common/sanitizer_allocator_combined.h:69
#10 0x00007ffff6abaa6a in __tsan::user_alloc_internal (thr=0x7ffff7ebd980, pc=140737331499943, sz=sz at entry=175, align=align at entry=16, signal=true) at /path/to/llvm/compiler-rt/lib/tsan/rtl/tsan_mman.cpp:198
#11 0x00007ffff6abb0d1 in __tsan::user_alloc (thr=0x7ffff6b27be8, pc=140737331846066, sz=11, sz at entry=175) at /path/to/llvm/compiler-rt/lib/tsan/rtl/tsan_mman.cpp:223
#12 0x00007ffff6a693b5 in ___interceptor_malloc (size=175) at /path/to/llvm/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp:666
#13 0x00007ffff7fce7f2 in malloc (size=175) at ../include/rtld-malloc.h:56
#14 __GI__dl_exception_create_format (exception=exception at entry=0x7fffffffd0d0, objname=0x7ffff7fc3550 "/path/to/llvm/compiler-rt/cmake-build-all-sanitizers/lib/linux/libclang_rt.tsan-x86_64.so",
fmt=fmt at entry=0x7ffff7ff2db9 "undefined symbol: %s%s%s") at ./elf/dl-exception.c:157
#15 0x00007ffff7fd50e8 in _dl_lookup_symbol_x (undef_name=0x7ffff6af868b "__isoc23_scanf", undef_map=<optimized out>, ref=0x7fffffffd148, symbol_scope=<optimized out>, version=<optimized out>, type_class=0, flags=2, skip_map=0x7ffff7fc35e0) at ./elf/dl-lookup.c:793
--Type <RET> for more, q to quit, c to continue without paging--
#16 0x00007ffff656d6ed in do_sym (handle=<optimized out>, name=0x7ffff6af868b "__isoc23_scanf", who=0x7ffff6a3bb84 <__interception::InterceptFunction(char const*, unsigned long*, unsigned long, unsigned long)+36>, vers=vers at entry=0x0, flags=flags at entry=2) at ./elf/dl-sym.c:146
#17 0x00007ffff656d9dd in _dl_sym (handle=<optimized out>, name=<optimized out>, who=<optimized out>) at ./elf/dl-sym.c:195
#18 0x00007ffff64a2854 in dlsym_doit (a=a at entry=0x7fffffffd3b0) at ./dlfcn/dlsym.c:40
#19 0x00007ffff7fcc489 in __GI__dl_catch_exception (exception=exception at entry=0x7fffffffd310, operate=0x7ffff64a2840 <dlsym_doit>, args=0x7fffffffd3b0) at ./elf/dl-catch.c:237
#20 0x00007ffff7fcc5af in _dl_catch_error (objname=0x7fffffffd368, errstring=0x7fffffffd370, mallocedp=0x7fffffffd367, operate=<optimized out>, args=<optimized out>) at ./elf/dl-catch.c:256
#21 0x00007ffff64a2257 in _dlerror_run (operate=operate at entry=0x7ffff64a2840 <dlsym_doit>, args=args at entry=0x7fffffffd3b0) at ./dlfcn/dlerror.c:138
#22 0x00007ffff64a28e5 in dlsym_implementation (dl_caller=<optimized out>, name=<optimized out>, handle=<optimized out>) at ./dlfcn/dlsym.c:54
#23 ___dlsym (handle=<optimized out>, name=<optimized out>) at ./dlfcn/dlsym.c:68
#24 0x00007ffff6a3bb84 in __interception::GetFuncAddr (name=0x7ffff6af868b "__isoc23_scanf", trampoline=140737311157448) at /path/to/llvm/compiler-rt/lib/interception/interception_linux.cpp:42
#25 __interception::InterceptFunction (name=0x7ffff6af868b "__isoc23_scanf", ptr_to_real=0x7ffff74850e8 <__interception::real___isoc23_scanf>, func=11, trampoline=140737311157448)
at /path/to/llvm/compiler-rt/lib/interception/interception_linux.cpp:61
#26 0x00007ffff6a9f2d9 in InitializeCommonInterceptors () at /path/to/llvm/compiler-rt/lib/tsan/rtl/../../sanitizer_common/sanitizer_common_interceptors.inc:10315
```
Reviewed By: vitalybuka, MaskRay
Pull Request: https://github.com/llvm/llvm-project/pull/83890
Commit: 578e66ac45dfcc5c739f3525bfb82d71282d925c
https://github.com/llvm/llvm-project/commit/578e66ac45dfcc5c739f3525bfb82d71282d925c
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
[tsan] Intercept __tls_get_addr_earlier
This can be useful because dlsym() may call malloc on failure which could
result in other interposed functions being called that could eventually
make use of TLS. While the crash that I experienced originally has been
fixed differently (by not using global-dynamic TLS accesses in the mutex
deadlock detector, see https://github.com/llvm/llvm-project/pull/83890),
moving this interception earlier is still a good since it makes the code
a bit more robust against initialization order problems.
Reviewed By: MaskRay, vitalybuka
Pull Request: https://github.com/llvm/llvm-project/pull/83886
Commit: abbf1f18825440338f6e08c94c54d8c8b4fe57d4
https://github.com/llvm/llvm-project/commit/abbf1f18825440338f6e08c94c54d8c8b4fe57d4
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M llvm/lib/Support/Unix/Process.inc
Log Message:
-----------
[Support] Fix Process::PreventCoreFiles() when coredumps are piped
On many current Linux systems, coredumps are no longer dumped in the CWD
but instead piped to a utility such as systemd-coredumpd that stores
them in a deterministic location. This can be done by setting the
kernel.core_pattern sysctl to start with a '|'. However, when using such
a setup the kernel ignores a coredump limit of 0 (since there is no file
being written) and we can end up piping many gigabytes of data to
systemd-coredumpd which causes the test suite to freeze for a long time.
While most piped coredump handlers do respect the crashing processes'
RLIMIT_CORE, this is notable not the case for Debian's systemd-coredump
due to a local patch that changes sysctl.d/50-coredump.conf to ignore
the specified limit and instead use RLIM_INFINITY
(https://salsa.debian.org/systemd-team/systemd/-/commit/64599ffe44f0d).
Fortunately there is a workaround: the kernel recognizes the magic value
of 1 for RLIMIT_CORE to disable coredumps when piping. One byte is also
too small to generate any coredump, so it effectively behaves as if we
had set the value to zero.
The alternative to using RLIMIT_CORE=1 would be to use prctl() with the
PR_SET_DUMPABLE flag, however that also prevents ptrace(), so makes it
impossible to attach a debugger.
See https://github.com/llvm/llvm-project/pull/83701 and
https://github.com/llvm/llvm-project/issues/45797
Reviewed By: MaskRay
Pull Request: https://github.com/llvm/llvm-project/pull/83703
Commit: ba13fa2a5d57581bff1a7e9322234af30f4882f6
https://github.com/llvm/llvm-project/commit/ba13fa2a5d57581bff1a7e9322234af30f4882f6
Author: Michael Spencer <bigcheesegs at gmail.com>
Date: 2024-03-08 (Fri, 08 Mar 2024)
Changed paths:
M clang-tools-extra/clangd/JSONTransport.cpp
M clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
M llvm/include/llvm/Support/Error.h
M llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
M llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
M llvm/lib/Object/ArchiveWriter.cpp
M llvm/lib/Support/AutoConvert.cpp
M llvm/lib/Support/LockFileManager.cpp
M llvm/lib/Support/Path.cpp
M llvm/lib/Support/RandomNumberGenerator.cpp
M llvm/lib/Support/Unix/Memory.inc
M llvm/lib/Support/Unix/Path.inc
M llvm/lib/Support/Unix/Process.inc
M llvm/lib/Support/Windows/Process.inc
M llvm/lib/Support/Windows/Program.inc
M llvm/lib/Support/raw_ostream.cpp
M llvm/lib/Support/raw_socket_stream.cpp
Log Message:
-----------
[llvm][Support] Add and use errnoAsErrorCode (#84423)
LLVM is inconsistent about how it converts `errno` to `std::error_code`.
This can cause problems because values outside of `std::errc` compare
differently if one is system and one is generic on POSIX systems.
This is even more of a problem on Windows where use of the system
category is just wrong, as that is for Windows errors, which have a
completely different mapping than POSIX/generic errors. This patch fixes
one instance of this mistake in `JSONTransport.cpp`.
This patch adds `errnoAsErrorCode()` which makes it so people do not
need to think about this issue in the future. It also cleans up a lot of
usage of `errno` in LLVM and Clang.
Commit: def038bc40fae7d6756dde9c41677d76ad0387d2
https://github.com/llvm/llvm-project/commit/def038bc40fae7d6756dde9c41677d76ad0387d2
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/DeclCXX.cpp
M clang/test/SemaCXX/lambda-expressions.cpp
Log Message:
-----------
Revert "[clang] Fix crash when declaring invalid lambda member" (#84615)
Reverts llvm/llvm-project#74110
Fails on many bots:
https://lab.llvm.org/buildbot/#/builders/5/builds/41633
Commit: a84e66a92d7b97f68aa3ae7d2c5839f3fb0d291d
https://github.com/llvm/llvm-project/commit/a84e66a92d7b97f68aa3ae7d2c5839f3fb0d291d
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M libc/src/__support/UInt.h
M libc/src/__support/macros/properties/types.h
M libc/src/string/memory_utils/op_generic.h
M libc/test/src/string/memory_utils/op_tests.cpp
Log Message:
-----------
[libc] Provide `LIBC_TYPES_HAS_INT64` (#83441)
Umbrella bug #83182
Commit: fd3eaf76ba3392a4406247d996e757ef49f7a8b2
https://github.com/llvm/llvm-project/commit/fd3eaf76ba3392a4406247d996e757ef49f7a8b2
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/combine-ptradd-int2ptr.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-ptr-add.mir
M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-load-or-pattern.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-extract-vector-load.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement-stack-lower.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i128.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ptr-add.mir
M llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-load-store.mir
A llvm/test/CodeGen/X86/GlobalISel/legalize-ptr-add-32.mir
A llvm/test/CodeGen/X86/GlobalISel/legalize-ptr-add-64.mir
R llvm/test/CodeGen/X86/GlobalISel/legalize-ptr-add.mir
M llvm/test/CodeGen/X86/GlobalISel/regbankselect-X86_64.mir
M llvm/test/MachineVerifier/test_g_ptr_add.mir
Log Message:
-----------
[GISel] Enforce G_PTR_ADD RHS type matching index size for addr space (#84352)
Commit: 10aed27e9c8966cd11d98a61982b95607ab6e08c
https://github.com/llvm/llvm-project/commit/10aed27e9c8966cd11d98a61982b95607ab6e08c
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M libcxx/include/__utility/pair.h
Log Message:
-----------
[libc++] Simplify the std::pair constructor overload set (#81448)
This depends on enabling extensions in the implementation.
Commit: 1c7607e8ee6ec4ca3abce1561dd39a98d4efac96
https://github.com/llvm/llvm-project/commit/1c7607e8ee6ec4ca3abce1561dd39a98d4efac96
Author: Stephan T. Lavavej <stl at nuwen.net>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M libcxx/test/std/containers/sequences/array/array.cons/initialization.pass.cpp
Log Message:
-----------
[libc++][test] Fix MSVC warning C4127 in `array.cons/initialization.pass.cpp` (#79793)
This fixes MSVC warning C4127: conditional expression is constant.
Testing `TEST_STD_AT_LEAST_20_OR_RUNTIME_EVALUATED` by itself doesn't
emit this warning, but the condition here is more complicated. I'm
expanding the macro and mechanically simplifying the resulting code.
(Yeah, this warning is often annoying, and I introduced
`TEST_STD_AT_LEAST_20_OR_RUNTIME_EVALUATED` to avoid this warning
elsewhere, so it's disappointing that it doesn't make the compiler happy
here. If this change is undesirable, I can replace it with
`ADDITIONAL_COMPILE_FLAGS(cl-style-warnings)`, but ideally I'd like to
avoid having to suppress it.)
---------
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
Commit: a116f0ebaf0304e73b26098a7141c4ab836b7dc9
https://github.com/llvm/llvm-project/commit/a116f0ebaf0304e73b26098a7141c4ab836b7dc9
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Log Message:
-----------
[bazel] Port test parts of cb6ff746e0c7b9218b6f5c11db44162cacd623a4
Commit: 9df719407f808d71d3bf02867da2b01617ef3d55
https://github.com/llvm/llvm-project/commit/9df719407f808d71d3bf02867da2b01617ef3d55
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/ArmNeon/Transforms.h
Log Message:
-----------
[ArmNeon] Make header self-contained. NFC.
Commit: 2b5f68a5f63d2342a056bf9f86bd116c100fd81a
https://github.com/llvm/llvm-project/commit/2b5f68a5f63d2342a056bf9f86bd116c100fd81a
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticASTKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaStmtAttr.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
A clang/test/CodeGenCXX/cxx23-assume.cpp
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
A clang/test/Parser/cxx23-assume.cpp
A clang/test/SemaCXX/cxx23-assume-disabled.cpp
A clang/test/SemaCXX/cxx23-assume-print.cpp
A clang/test/SemaCXX/cxx23-assume.cpp
M clang/www/cxx_status.html
Log Message:
-----------
[Clang][C++23] Implement P1774R8: Portable assumptions (#81014)
This implements the C++23 `[[assume]]` attribute.
Assumption information is lowered to a call to `@llvm.assume`, unless the expression has side-effects, in which case it is discarded and a warning is issued to tell the user that the assumption doesn’t do anything. A failed assumption at compile time is an error (unless we are in `MSVCCompat` mode, in which case we don’t check assumptions at compile time).
Due to performance regressions in LLVM, assumptions can be disabled with the `-fno-assumptions` flag. With it, assumptions will still be parsed and checked, but no calls to `@llvm.assume` will be emitted and assumptions will not be checked at compile time.
Commit: ceaf4a0aab86f10199e16a825c1bdabe59d07eb3
https://github.com/llvm/llvm-project/commit/ceaf4a0aab86f10199e16a825c1bdabe59d07eb3
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M clang/www/cxx_status.html
Log Message:
-----------
[Clang] Fix status of P1774 Portable assumptions
Commit: 914f75487673033a6d8d5b9eb15c339a2a4df842
https://github.com/llvm/llvm-project/commit/914f75487673033a6d8d5b9eb15c339a2a4df842
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M libcxx/docs/Status/Cxx23Issues.csv
Log Message:
-----------
[libc++][format] Update LWG3701 status. (#80545)
The issue has been resolved in https://reviews.llvm.org/D121138 since it
was needed to implement format. This updates the status of the LWG-issue
filed for this review.
Marks as complete:
- LWG3701 Make formatter<remove_cvref_t<const charT[N]>, charT>
requirement explicit
Commit: e1da74d916e58f3c7748c21757cba1922aecbc52
https://github.com/llvm/llvm-project/commit/e1da74d916e58f3c7748c21757cba1922aecbc52
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M libcxx/docs/Status/Cxx23Issues.csv
Log Message:
-----------
[libc++][format] Updates LWG3462 status. (#80550)
The specifications of format had a contradiction, libc++ always
implemented the code as-if LWG3462 has been done; the contradiction was
a bit hard to spot.
Marks as nothing to do:
- LWG3462 §[formatter.requirements]: Formatter requirements forbid use
of fc.arg()
Commit: 5630dc66369ccec925f27151b495c9f9818638f1
https://github.com/llvm/llvm-project/commit/5630dc66369ccec925f27151b495c9f9818638f1
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M clang/test/SemaCXX/cxx23-assume.cpp
Log Message:
-----------
[Clang] Only check for error in C++20 mode (#84624)
Fix a test that was added in #81014 and which caused buildbots to fail.
Only check for the ‘never produces a constant expression error’ in C++20
mode.
This fixes #84623.
Commit: 11cd2a33f1a80c1b8ad1968c1316204b172e4937
https://github.com/llvm/llvm-project/commit/11cd2a33f1a80c1b8ad1968c1316204b172e4937
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_affinity.h
M openmp/runtime/src/kmp_os.h
M openmp/runtime/src/kmp_runtime.cpp
M openmp/runtime/src/z_Linux_util.cpp
Log Message:
-----------
[openmp] porting affinity feature to netbsd. (#84618)
netbsd supports the portable hwloc's layer as well. for a hardware with
4 cpus, a cpu set is 4 and maxcpus is 256.
Commit: 40282674e9808baeb9b88afdd3cbd7da46825544
https://github.com/llvm/llvm-project/commit/40282674e9808baeb9b88afdd3cbd7da46825544
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/ADT/FoldingSet.h
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/IR/Attributes.h
M llvm/include/llvm/IR/Attributes.td
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/AttributeImpl.h
M llvm/lib/IR/Attributes.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
A llvm/test/Assembler/range-attribute-invalid-range.ll
A llvm/test/Assembler/range-attribute-invalid-type.ll
M llvm/test/Bitcode/attributes.ll
A llvm/test/Verifier/range-attr.ll
M llvm/utils/TableGen/Attributes.cpp
Log Message:
-----------
Reapply [IR] Add new Range attribute using new ConstantRange Attribute type (#84617)
The only change from https://github.com/llvm/llvm-project/pull/83171 is the
change of the allocator so the destructor is called for
ConstantRangeAttributeImpl.
reverts https://github.com/llvm/llvm-project/pull/84549
Commit: ee22e255648ee9b056280484b4b70d4542bc807e
https://github.com/llvm/llvm-project/commit/ee22e255648ee9b056280484b4b70d4542bc807e
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M libcxx/include/__fwd/array.h
M libcxx/include/span
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
M libcxx/test/std/ranges/range.utility/range.subrange/operator.pair_like.pass.cpp
Log Message:
-----------
[libc++] Remove <array> include from <span> (#83742)
This reduces the include time of `<span>` from 122ms to 78ms.
Commit: 5b5c21d772d20320fd876edddfc204cca93fae0f
https://github.com/llvm/llvm-project/commit/5b5c21d772d20320fd876edddfc204cca93fae0f
Author: Martin Storsjö <martin at martin.st>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr2.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/reduce-add-i64.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
M llvm/test/Transforms/SLPVectorizer/X86/PR35777.ll
M llvm/test/Transforms/SLPVectorizer/X86/int-bitcast-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-multiuse-with-insertelement.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-transformed-operand.ll
M llvm/test/Transforms/SLPVectorizer/X86/minimum-sizes.ll
M llvm/test/Transforms/SLPVectorizer/X86/phi-undef-input.ll
M llvm/test/Transforms/SLPVectorizer/X86/resched.ll
M llvm/test/Transforms/SLPVectorizer/X86/reused-reductions-with-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/store-insertelement-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/alt-cmp-vectorize.ll
Log Message:
-----------
Revert "[SLP]Improve minbitwidth analysis."
This reverts commit 2bd369b48dbf0bc3128becb7ef8f8a1b82514b87.
That commit triggered failed assertions:
$ cat repro.c
short *a;
int b;
void h() {
short *c = a;
b = 0;
for (; b < 4; b++) {
unsigned d = a[b] + a[b + 4 * 2], e = a[b] - a[b + 4 * 2],
f = (a[b + 4] >> 1) - a[b + 4 * 3],
g = a[b + 4] + (a[b + 4 * 3] >> 1);
c[b] = g;
c[b + 4] = e + f;
c[b + 4 * 2] = e - f;
c[b + 4 * 3] = d - g;
}
}
$ clang -target aarch64-linux-gnu -c -O2 repro.c
clang: ../lib/Transforms/Vectorize/SLPVectorizer.cpp:12503: llvm::Value* llvm::slpvectorizer::BoUpSLP::vectorizeTree(llvm::slpvectorizer::BoUpSLP::TreeEntry*, bool): Assertion `(MinBWs.contains(getOperandEntry(E, 0)) || MinBWs.contains(getOperandEntry(E, 1))) && "Expected item in MinBWs."' failed.
Commit: 83fe0b13824bc419092bad47727aa1c8ca69330a
https://github.com/llvm/llvm-project/commit/83fe0b13824bc419092bad47727aa1c8ca69330a
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
Log Message:
-----------
[clang] Fix -Wunused-lambda-capture in TokenAnnotator.cpp (NFC)
llvm-project/clang/lib/Format/TokenAnnotator.cpp:2707:43:
error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
auto IsQualifiedPointerOrReference = [this](FormatToken *T) {
^~~~
1 error generated.
Commit: 124d0b787b5d1ff4aa06bbd61a98d3fc344d0cc6
https://github.com/llvm/llvm-project/commit/124d0b787b5d1ff4aa06bbd61a98d3fc344d0cc6
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M clang/include/clang/Driver/OffloadBundler.h
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/OffloadBundler.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/CommonArgs.h
M clang/lib/Driver/ToolChains/HIPUtility.cpp
M clang/test/Driver/clang-offload-bundler-zlib.c
M clang/test/Driver/clang-offload-bundler-zstd.c
M clang/test/Driver/hip-offload-compress-zlib.hip
M clang/test/Driver/hip-offload-compress-zstd.hip
M clang/test/Driver/linker-wrapper.c
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
M clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
M llvm/include/llvm/Support/Compression.h
M llvm/lib/Support/Compression.cpp
Log Message:
-----------
[HIP] add --offload-compression-level= option (#83605)
Added --offload-compression-level= option to clang and
-compression-level=
option to clang-offload-bundler for controlling compression level.
Added support of long distance matching (LDM) for llvm::zstd which is
off
by default. Enable it for clang-offload-bundler by default since it
improves compression rate in general.
Change default compression level to 3 for zstd for clang-offload-bundler
since it works well for bundle entry size from 1KB to 32MB, which should
cover most of the clang-offload-bundler usage. Users can still specify
compression level by -compression-level= option if necessary.
Commit: e733d7e23f6553c55c85edd55511b133d2064677
https://github.com/llvm/llvm-project/commit/e733d7e23f6553c55c85edd55511b133d2064677
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M clang/test/Driver/clang-offload-bundler-zstd.c
Log Message:
-----------
Fix test clang-offload-bundler-zstd.c
Commit: 4fdf10faf2b45f4bbbd2ddfb07272d19a47cc531
https://github.com/llvm/llvm-project/commit/4fdf10faf2b45f4bbbd2ddfb07272d19a47cc531
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-return-value.rst
A clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-return-value-avoid-assignment.cpp
Log Message:
-----------
[clang-tidy]avoid bugprone-unused-return-value false positive for assignment operator overloading (#84489)
Commit: 92d7aca441e09c85ab9355f99f93f3dbc35924a0
https://github.com/llvm/llvm-project/commit/92d7aca441e09c85ab9355f99f93f3dbc35924a0
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86EncodingOptimization.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
M llvm/lib/Target/X86/X86FastISel.cpp
M llvm/lib/Target/X86/X86InstrAVX512.td
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrSSE.td
M llvm/lib/Target/X86/X86SchedSapphireRapids.td
M llvm/test/CodeGen/X86/apx/kmov-domain-assignment.ll
M llvm/test/CodeGen/X86/domain-reassignment.mir
M llvm/test/CodeGen/X86/sqrt-fastmath-mir.ll
M llvm/test/TableGen/x86-fold-tables.inc
Log Message:
-----------
[X86] Add missing immediate qualifier to the (V)CMPSS/D instructions (#84496)
Matches (V)CMPPS/D and makes it easier to algorithmically recreate the instruction name in various analysis scripts I'm working on
Commit: 99f5e9634b6921ebb6dad9bef1c76ade83adc847
https://github.com/llvm/llvm-project/commit/99f5e9634b6921ebb6dad9bef1c76ade83adc847
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/modff128.cpp
A libc/src/math/modff128.h
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/ModfTest.h
A libc/test/src/math/smoke/modff128_test.cpp
Log Message:
-----------
[libc][math][c23] Add modff128 C23 math function. (#84532)
Commit: e19e8600cf743690e1a23fb8a2b0dfbe2dafe559
https://github.com/llvm/llvm-project/commit/e19e8600cf743690e1a23fb8a2b0dfbe2dafe559
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M libcxx/test/tools/CMakeLists.txt
M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
M libcxx/utils/libcxx/test/features.py
M libcxx/utils/libcxx/test/params.py
Log Message:
-----------
[RFC][libc++] Reworks clang-tidy selection. (#81362)
The current selection is done in the test scripts which gives the user
no control where to find clang-tidy. The version selection itself is
hard-coded and not based on the version of clang used.
This moves the selection to configuration time and tries to find a
better match.
- Mixing the version of clang-tidy and the clang libraries causes ODR
violations. This results in practice in crashes or incorrect results.
- Mixing the version of clang-tidy and the clang binary sometimes causes
issues with supported diagnostic flags. For example, flags tested
against clang 17 may not be available in clang-tidy 16.
Currently clang-tidy 18.1 can be used, it tests against the clang
libraries version 18. This is caused by the new LLVM version numbering
scheme.
The new selection tries to match the clang version or the version of the
HEAD and the last 3 releases. (During the release period libc++ supports
4 versions instead of the typical 3 versions.)
Commit: 938b9204684222d192a3f817da0c33076ed813e2
https://github.com/llvm/llvm-project/commit/938b9204684222d192a3f817da0c33076ed813e2
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/binop-itofp.ll
Log Message:
-----------
[InstCombine] Add more tests for transforming `(binop (uitofp), -C)`; NFC
Commit: 8d976c7f20fe8d92fe6f54af411594e15fac25ae
https://github.com/llvm/llvm-project/commit/8d976c7f20fe8d92fe6f54af411594e15fac25ae
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/add-sitofp.ll
M llvm/test/Transforms/InstCombine/binop-itofp.ll
Log Message:
-----------
[InstCombine] Make `(binop ({s|u}itofp),({s|u}itofp))` transform more flexible to mismatched signs
Instead of taking the sign of the cast operation as the required since
for the transform, only force a sign if an operation is maybe
negative.
This gives us more flexability when checking if the floats are safely
converable to integers.
Closes #84389
Commit: 57a2229a2f62746d5616f0bd82a03b23eb459cf3
https://github.com/llvm/llvm-project/commit/57a2229a2f62746d5616f0bd82a03b23eb459cf3
Author: rohit-rao <rohitrao at google.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M compiler-rt/cmake/base-config-ix.cmake
M compiler-rt/cmake/builtin-config-ix.cmake
Log Message:
-----------
[compiler-rt] Adds builtins support for xros. (#83484)
Adds support for xros when compiling builtins. This is disabled by
default and controlled with COMPILER_RT_ENABLE_XROS, similar to
watchOS/tvOS.
Commit: f5811494b0cde306e98caa339e4dc1c06cb5e8e9
https://github.com/llvm/llvm-project/commit/f5811494b0cde306e98caa339e4dc1c06cb5e8e9
Author: Zain Jaffal <zain at jjaffal.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/fdiv-sqrt.ll
Log Message:
-----------
check if operand is div in fold FDivSqrtDivisor (#81970)
This patch fixes the issues introduced in
https://github.com/llvm/llvm-project/commit/bb5c3899d1936ebdf7ebf5ca4347ee2e057bee7f.
I moved the check for the instruction to be div before I check for the
fast math flags which resolves the crash in
```
float a, b;
double sqrt();
void c() { b = a / sqrt(a); }
```
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
Commit: b4001e32b1aa4df07dc6babefba19f2b77f487c6
https://github.com/llvm/llvm-project/commit/b4001e32b1aa4df07dc6babefba19f2b77f487c6
Author: Amirreza Ashouri <ar.ashouri999 at gmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
[NFC] Eliminate trailing white space causing CI build failure (#84632)
To resolve the following issue in the CI build:
```
*** Checking for trailing whitespace left in Clang source files ***
+ grep -rnI '[[:blank:]]$' clang/lib clang/include clang/docs
clang/docs/ReleaseNotes.rst:412:- PTX is no longer included by default when compiling for CUDA. Using
+ echo '*** Trailing whitespace has been found in Clang source files as described above ***'
*** Trailing whitespace has been found in Clang source files as described above ***
+ exit 1
```
Commit: 110141b37813dc48af33de5e1407231e56acdfc5
https://github.com/llvm/llvm-project/commit/110141b37813dc48af33de5e1407231e56acdfc5
Author: Vadim Paretsky <vadim.paretsky at intel.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_lock.h
M openmp/runtime/test/tasking/bug_nested_proxy_task.c
M openmp/runtime/test/tasking/bug_proxy_task_dep_waiting.c
M openmp/runtime/test/tasking/hidden_helper_task/common.h
Log Message:
-----------
[OpenMP] fix endianness dependent definitions in OMP headers for MSVC (#84540)
MSVC does not define __BYTE_ORDER__ making the check for BigEndian
erroneously evaluate to true and breaking the struct definitions in MSVC
compiled builds correspondingly. The fix adds an additional check for
whether __BYTE_ORDER__ is defined by the compiler to fix these.
---------
Co-authored-by: Vadim Paretsky <b-vadipa at microsoft.com>
Commit: 0d6f9bf274c1bc69e71ff7dd740f2cee1a4ca769
https://github.com/llvm/llvm-project/commit/0d6f9bf274c1bc69e71ff7dd740f2cee1a4ca769
Author: Martin Storsjö <martin at martin.st>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Windows/issue64990.cpp
Log Message:
-----------
[asan] [test] Mark a new test UNSUPPORTED for MinGW targets
This test uses the MSVC/clang-cl specific -EHsc flag.
This test was recently added, in
ea12c1fa15093e24818785b2ca6e06588372a3bf.
Commit: 6f7ebcb71f4e89309c613da9600991850f15f74f
https://github.com/llvm/llvm-project/commit/6f7ebcb71f4e89309c613da9600991850f15f74f
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M compiler-rt/lib/lsan/lsan_common.cpp
Log Message:
-----------
[NFC][compiler-rt] Try to collect more info about crashes on bot
Commit: 0be1c3b92b64373df4057f52f9676c36567253ef
https://github.com/llvm/llvm-project/commit/0be1c3b92b64373df4057f52f9676c36567253ef
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M .github/workflows/issue-release-workflow.yml
Log Message:
-----------
[workflows] Mention the correct user who makes a /cherry-pick comment (#82680)
We were mentioning the creator of the issue with the comment rather than
the creator of the comment.
Fixes #82580
Commit: bf8c7cda492f227d7e9a9fbc8e7a39adc7380a0e
https://github.com/llvm/llvm-project/commit/bf8c7cda492f227d7e9a9fbc8e7a39adc7380a0e
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M compiler-rt/lib/lsan/lsan_common.cpp
Log Message:
-----------
Revert "[NFC][compiler-rt] Try to collect more info about crashes on bot"
Catches nothing, reported #84654.
This reverts commit 6f7ebcb71f4e89309c613da9600991850f15f74f.
Commit: 15e9478187d594016c2c355d8688be2e0a9b554e
https://github.com/llvm/llvm-project/commit/15e9478187d594016c2c355d8688be2e0a9b554e
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M compiler-rt/CMakeLists.txt
Log Message:
-----------
[sanitizer] Disable COMPILER_RT_HAS_TRIVIAL_AUTO_INIT on PowerPC to fix the bot
See issue #84654.
Commit: c1029b6a9b423320ec8f0d1cde24d8f4d8139f63
https://github.com/llvm/llvm-project/commit/c1029b6a9b423320ec8f0d1cde24d8f4d8139f63
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/test/Dialect/Transform/test-pattern-application.mlir
Log Message:
-----------
[mlir][Transform] `apply_conversion_patterns`: Update handles (#83950)
Until now, `transform.apply_conversion_patterns` consumed the target
handle and potentially invalidated handles. This commit adds tracking
functionality similar to `transform.apply_patterns`, such that handles
are no longer invalidated, but updated based on op replacements
performed by the dialect conversion.
This new functionality is hidden behind a `preserve_handles` attribute
for now.
Commit: 9b6bd7093ccb07ba8d6987220b2703549af02933
https://github.com/llvm/llvm-project/commit/9b6bd7093ccb07ba8d6987220b2703549af02933
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
Log Message:
-----------
[mlir][IR] Add listener notifications for pattern begin/end (#84131)
This commit adds two new notifications to `RewriterBase::Listener`:
* `notifyPatternBegin`: Called when a pattern application begins during
a greedy pattern rewrite or dialect conversion.
* `notifyPatternEnd`: Called when a pattern application finishes during
a greedy pattern rewrite or dialect conversion.
The listener infrastructure already provides a `notifyMatchFailure`
callback that notifies about the reason for a pattern match failure. The
two new notifications provide additional information about pattern
applications.
This change is in preparation of improving the handle update mechanism
in the `apply_conversion_patterns` transform op.
Commit: e95040f0f05b74406e9d7ee02b110470588cc5f0
https://github.com/llvm/llvm-project/commit/e95040f0f05b74406e9d7ee02b110470588cc5f0
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/AST/Interp/builtin-functions.cpp
Log Message:
-----------
[clang][Interp] Implement __builtin_popcountg (#84500)
The previous code would truncate IntegerAPs wider than 64 bits.
Commit: d2353ae00c3b0b0e9a9b93578e9bb067f699f193
https://github.com/llvm/llvm-project/commit/d2353ae00c3b0b0e9a9b93578e9bb067f699f193
Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
Log Message:
-----------
[utils/TableGen/X86CompressEVEXTablesEmitter.cpp] Make sure the tablegen output for the `checkPredicate` function is deterministic (#84533)
The output for the `checkPredicate` function was depending on a
`std::map` iteration that was non-deterministic from run to run, because
the keys were pointer values.
Make a change so that the keys are `StringRef`s so the ordering is
stable.
Commit: 35b784379e707423f3b4f5a2cfedabcfa6f5b47d
https://github.com/llvm/llvm-project/commit/35b784379e707423f3b4f5a2cfedabcfa6f5b47d
Author: Michael Flanders <mkf727 at cs.washington.edu>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M libc/include/llvm-libc-macros/stdbit-macros.h
Log Message:
-----------
[libc][stdbit][c23] fixes typos in bit_width, bit_floor C type-generic macros (#84659)
Fixes #84658.
Assuming these were typos in the first place.
I am unsure of the best way to ensure that both sides of the
preprocessor condition in
`libc/include/llvm-libc-macros/stdbit-macros.h` are tested. Could
someone point me in the right direction for adding test coverage to the
non `__cplusplus` branch? Or maybe it is being tested and I've missed
it.
Commit: fa4cc39255767bbaf63a6a3b445dc94b43ebd447
https://github.com/llvm/llvm-project/commit/fa4cc39255767bbaf63a6a3b445dc94b43ebd447
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_affinity.h
M openmp/runtime/src/kmp_os.h
M openmp/runtime/src/kmp_runtime.cpp
M openmp/runtime/src/z_Linux_util.cpp
Log Message:
-----------
[openmp] adding affinity support to DragonFlyBSD. (#84672)
Commit: 54bb4be0185b402565cc76a0c835c56f6441e188
https://github.com/llvm/llvm-project/commit/54bb4be0185b402565cc76a0c835c56f6441e188
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstCombine/icmp-range.ll
Log Message:
-----------
[InstSimplify] Handle vec values when simplifying comparisons using range metadata (#84673)
Found that this failed with an assertion when vec was used in this
optimization while working on https://github.com/llvm/llvm-project/pull/84627.
Commit: 3ec1f25f3cf9346590892397ec9ddd859397d363
https://github.com/llvm/llvm-project/commit/3ec1f25f3cf9346590892397ec9ddd859397d363
Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h
Log Message:
-----------
[MLIR/OpenACC] Remove unneeded LLVMIR include (#84543)
MLIROpenACCTransforms does not use the LLVMIR dialect yet includes
LLVMIR headers. This causes building MLIROpenACCTransforms only from a
clean build to fail with:
In file included from
mlir/lib/Dialect/OpenACC/Transforms/LegalizeData.cpp:9:
In file included from
mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.h:12:
mlir/include/mlir/Dialect/LLVMIR/Transforms/AddComdats.h:21:10: fatal
error: 'mlir/Dialect/LLVMIR/Transforms/Passes.h.inc' file not found
This patch removes the problematic includes.
Commit: 033dbbe4f183cc0c401af72a2d57ab659e9693d4
https://github.com/llvm/llvm-project/commit/033dbbe4f183cc0c401af72a2d57ab659e9693d4
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M libc/test/src/__support/FPUtil/fpbits_test.cpp
M libc/utils/gpu/loader/Loader.h
Log Message:
-----------
[libc][NFC] Clean up stray ';' and default enum warning
Summary:
Cleans up two warnings I get locally while building.
Commit: 862c7e0218f27b55a5b75ae59a4f73cd4610448d
https://github.com/llvm/llvm-project/commit/862c7e0218f27b55a5b75ae59a4f73cd4610448d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-and.ll
Log Message:
-----------
[X86] combineAndShuffleNot - ensure the type is legal before create X86ISD::ANDNP target nodes
Fixes #84660
Commit: 75b0d384fbac42be7ce2da91cf62ed1027b8424b
https://github.com/llvm/llvm-project/commit/75b0d384fbac42be7ce2da91cf62ed1027b8424b
Author: Michael Flanders <mkf727 at cs.washington.edu>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/stdbit.rst
M libc/include/llvm-libc-macros/stdbit-macros.h
M libc/spec/stdc.td
M libc/src/__support/CPP/bit.h
M libc/src/stdbit/CMakeLists.txt
A libc/src/stdbit/stdc_bit_ceil_uc.cpp
A libc/src/stdbit/stdc_bit_ceil_uc.h
A libc/src/stdbit/stdc_bit_ceil_ui.cpp
A libc/src/stdbit/stdc_bit_ceil_ui.h
A libc/src/stdbit/stdc_bit_ceil_ul.cpp
A libc/src/stdbit/stdc_bit_ceil_ul.h
A libc/src/stdbit/stdc_bit_ceil_ull.cpp
A libc/src/stdbit/stdc_bit_ceil_ull.h
A libc/src/stdbit/stdc_bit_ceil_us.cpp
A libc/src/stdbit/stdc_bit_ceil_us.h
M libc/test/include/stdbit_test.cpp
M libc/test/src/stdbit/CMakeLists.txt
A libc/test/src/stdbit/stdc_bit_ceil_uc_test.cpp
A libc/test/src/stdbit/stdc_bit_ceil_ui_test.cpp
A libc/test/src/stdbit/stdc_bit_ceil_ul_test.cpp
A libc/test/src/stdbit/stdc_bit_ceil_ull_test.cpp
A libc/test/src/stdbit/stdc_bit_ceil_us_test.cpp
Log Message:
-----------
[libc][stdbit][c23] adds implementation of `stdc_bit_ceil` functions (#84657)
Closes #84652.
Based on #84233.
Commit: a066f71e70b9cbfdc2f2eb41e7c4d8372d216a6e
https://github.com/llvm/llvm-project/commit/a066f71e70b9cbfdc2f2eb41e7c4d8372d216a6e
Author: Michael Flanders <mkf727 at cs.washington.edu>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M libc/src/__support/CPP/bit.h
Log Message:
-----------
[libc][stdbit] Fix truncation err in CPP bit_ceil (#84683)
After #84657 was merged,
[buildbot](https://lab.llvm.org/buildbot/#/builders/250/builds/19808) is
reporting two errors for libc-x86_64-debian-gcc-fullbuild-dbg. This PR
addresses the truncation error for `CPP::bit_ceil<unsigned char>` and
`CPP::bit_ceil<unsigned short>`.
The errors are:
```
FAILED: projects/libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_bit_ceil_uc.dir/stdc_bit_ceil_uc.cpp.o
/usr/bin/g++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/src/stdbit -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/stdbit -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-vir!
tual-dtor
-Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -fpie -ffreestanding -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_bit_ceil_uc.dir/stdc_bit_ceil_uc.cpp.o -MF projects/libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_bit_ceil_uc.dir/stdc_bit_ceil_uc.cpp.o.d -o projects/libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_bit_ceil_uc.dir/stdc_bit_ceil_uc.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/stdbit/stdc_bit_ceil_uc.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/stdbit/stdc_bit_ceil_uc.cpp:11:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/__support/CPP/bit.h: In instantiation of ‘constexpr __llvm_libc_19_0_0_git::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_19_0_0_git::cpp::bit_ceil(T) [with T = unsigned char; enable_if_t<is_unsigned_v<T>, T> = unsigned char]’:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/stdbit/stdc_bit_ceil_uc.cpp:17:23: required from here
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/__support/CPP/bit.h:196:57: error: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Werror=conversion]
196 | return static_cast<T>(T(1) << cpp::bit_width<T>(value - 1u));
| ~~~~~~^~~~
cc1plus: all warnings being treated as errors
[138/466] Building CXX object projects/libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_bit_ceil_us.dir/stdc_bit_ceil_us.cpp.o
FAILED: projects/libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_bit_ceil_us.dir/stdc_bit_ceil_us.cpp.o
/usr/bin/g++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/src/stdbit -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/stdbit -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-vir!
tual-dtor
-Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -fpie -ffreestanding -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_bit_ceil_us.dir/stdc_bit_ceil_us.cpp.o -MF projects/libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_bit_ceil_us.dir/stdc_bit_ceil_us.cpp.o.d -o projects/libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_bit_ceil_us.dir/stdc_bit_ceil_us.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/stdbit/stdc_bit_ceil_us.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/stdbit/stdc_bit_ceil_us.cpp:11:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/__support/CPP/bit.h: In instantiation of ‘constexpr __llvm_libc_19_0_0_git::cpp::enable_if_t<is_unsigned_v<T>, T> __llvm_libc_19_0_0_git::cpp::bit_ceil(T) [with T = short unsigned int; enable_if_t<is_unsigned_v<T>, T> = short unsigned int]’:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/stdbit/stdc_bit_ceil_us.cpp:17:23: required from here
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/__support/CPP/bit.h:196:57: error: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Werror=conversion]
196 | return static_cast<T>(T(1) << cpp::bit_width<T>(value - 1u));
| ~~~~~~^~~~
cc1plus: all warnings being treated as errors
```
Commit: 8a790033073e005b41140b5c38a4eaada321c2f1
https://github.com/llvm/llvm-project/commit/8a790033073e005b41140b5c38a4eaada321c2f1
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M libc/utils/gpu/loader/Loader.h
M libc/utils/gpu/server/CMakeLists.txt
M libc/utils/gpu/server/llvmlibc_rpc_server.h
M libc/utils/gpu/server/rpc_server.cpp
M openmp/libomptarget/plugins-nextgen/common/src/RPC.cpp
Log Message:
-----------
[libc] Move RPC opcodes include out of the header
Summary:
This header isn't strictly necessary, and is currently broken because we
install these to separate locations.
Commit: e3444ad0bd758ea1c8f67425063f8b53afe3d7de
https://github.com/llvm/llvm-project/commit/e3444ad0bd758ea1c8f67425063f8b53afe3d7de
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
A llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
Log Message:
-----------
[InstCombine] Add tests for expanding `foldICmpWithLowBitMaskedVal`; NFC
Differential Revision: https://reviews.llvm.org/D159057
Commit: f89e4e339f31ad331aeab9a35183bc75bc42f2b6
https://github.com/llvm/llvm-project/commit/f89e4e339f31ad331aeab9a35183bc75bc42f2b6
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Log Message:
-----------
[InstCombine] Move `foldICmpWithLowBitMaskedVal` to `foldICmpCommutative`; NFC
Commit: d77eb9ea598f6e56a583eac40f95ca59b3130523
https://github.com/llvm/llvm-project/commit/d77eb9ea598f6e56a583eac40f95ca59b3130523
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-eq-to-icmp-ule.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sge-to-icmp-sle.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sle-to-icmp-sle.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-uge-to-icmp-ule.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ugt-to-icmp-ugt.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ule-to-icmp-ule.ll
M llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ult-to-icmp-ugt.ll
M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
M llvm/unittests/IR/PatternMatch.cpp
Log Message:
-----------
[InstCombine] Improve mask detection in `foldICmpWithLowBitMaskedVal`
Make recursive matcher that is able to detect a lot more patterns.
Proofs for all supported patterns: https://alive2.llvm.org/ce/z/fSQ3nZ
Differential Revision: https://reviews.llvm.org/D159058
Commit: 193b3d6733b7bf606c70749b1b65b6a0daae97d5
https://github.com/llvm/llvm-project/commit/193b3d6733b7bf606c70749b1b65b6a0daae97d5
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
M llvm/test/Transforms/InstCombine/lshr-and-negC-icmpeq-zero.ll
M llvm/test/Transforms/InstCombine/lshr-and-signbit-icmpeq-zero.ll
M llvm/test/Transforms/InstCombine/shl-and-negC-icmpeq-zero.ll
M llvm/test/Transforms/InstCombine/shl-and-signbit-icmpeq-zero.ll
Log Message:
-----------
[InstCombine] Recognize `(icmp eq/ne (and X, ~Mask), 0)` pattern in `foldICmpWithLowBitMaskedVal`
`(icmp eq/ne (and X, ~Mask), 0)` is equivilent to `(icmp eq/ne (and X,
Mask), X` and we sometimes generate the former pattern intentionally
to reduce number of uses of `X`.
Proof: https://alive2.llvm.org/ce/z/3u-usC
Differential Revision: https://reviews.llvm.org/D159329
Closes #81562
Commit: a53401e9dff6168b872eeb61f62b0f60b185328a
https://github.com/llvm/llvm-project/commit/a53401e9dff6168b872eeb61f62b0f60b185328a
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M lld/MachO/SyntheticSections.cpp
M lld/MachO/SyntheticSections.h
M lld/MachO/Writer.cpp
Log Message:
-----------
[lld-macho][NFC] Refactor ObjCSelRefsSection out of ObjCStubsSection (#83878)
Currently ObjCStubsSection is handling both the logic for the
"__objc_stubs" section, as well as the logic for the "__objc_selrefs"
section.
While this is OK for now, it will be an issue for other features that
want to interact with the "__objc_selrefs" section, such as upcoming
relative method lists feature - which will also want to create /
reference entries in the "__objc_selrefs" section.
In this PR we split the logic relating to handling the "__objc_selrefs"
section into a new SyntheticSection (ObjCSelRefsSection). Non-functional
change - neither the behavior nor implementation changes, the interface
is just made more friendly to not have "__objc_selrefs" so bound to
"__objc_stubs".
---------
Co-authored-by: Alex B <alexborcan at meta.com>
Commit: ea697dcc2ad9e6a1cc313d792b485d9218a943a1
https://github.com/llvm/llvm-project/commit/ea697dcc2ad9e6a1cc313d792b485d9218a943a1
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M libc/src/__support/GPU/CMakeLists.txt
A libc/src/__support/GPU/allocator.cpp
A libc/src/__support/GPU/allocator.h
M libc/src/stdlib/gpu/CMakeLists.txt
M libc/src/stdlib/gpu/free.cpp
M libc/src/stdlib/gpu/malloc.cpp
Log Message:
-----------
[libc][NFC] Move GPU allocator implementation to common header (#84690)
Summary:
This is a NFC move preceding more radical functional changes to the
allocator implementation. We just move it to a common utility so it will
be easier to write these in tandem.
Commit: fe1645e25c5ab5e3ba8aa16d4f637633ded328ab
https://github.com/llvm/llvm-project/commit/fe1645e25c5ab5e3ba8aa16d4f637633ded328ab
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/spec/posix.td
M libc/src/sys/mman/CMakeLists.txt
M libc/src/sys/mman/linux/CMakeLists.txt
A libc/src/sys/mman/linux/msync.cpp
A libc/src/sys/mman/msync.h
M libc/test/src/sys/mman/linux/CMakeLists.txt
A libc/test/src/sys/mman/linux/msync_test.cpp
Log Message:
-----------
[libc][mman] Implement msync (#84700)
Implement `msync` as specified in:
1. https://www.man7.org/linux/man-pages/man2/msync.2.html
2. https://pubs.opengroup.org/onlinepubs/9699919799/
Commit: 7b275aa2438c22604505d618dd37ee60052f2800
https://github.com/llvm/llvm-project/commit/7b275aa2438c22604505d618dd37ee60052f2800
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M lld/COFF/InputFiles.cpp
A lld/test/COFF/exportas.test
Log Message:
-----------
[LLD][COFF] Add support for IMPORT_NAME_EXPORTAS import library names. (#83211)
This allows handling importlibs produced by llvm-dlltool in #78772.
ARM64EC import libraries use it by default, but it's supported by MSVC
link.exe on other platforms too.
This also avoids assuming null-terminated input, like in #78769.
Commit: cef862e03c5dd0bfda43a57ca609d5239da3567a
https://github.com/llvm/llvm-project/commit/cef862e03c5dd0bfda43a57ca609d5239da3567a
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/icmp-and-shift.ll
Log Message:
-----------
[InstCombine] Tests for `(icmp eq/ne (and (shl -1, X), Y), 0)` -> `(icmp eq/ne (lshr Y, X), 0)`; NFC
Commit: 60dda1fc6ef82c5d7fe54000e6c0a21e7bafdeb5
https://github.com/llvm/llvm-project/commit/60dda1fc6ef82c5d7fe54000e6c0a21e7bafdeb5
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-and-shift.ll
Log Message:
-----------
[InstCombine] fold `(icmp eq/ne (and (shl -1, X), Y), 0)` -> `(icmp eq/ne (lshr Y, X), 0)`
Proofs: https://alive2.llvm.org/ce/z/oSRGBt
Closes #84691
Commit: edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b
https://github.com/llvm/llvm-project/commit/edd4c6c6dca4c556de22b2ab73d5bfc02d28e59b
Author: wanglei <wanglei at loongson.cn>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/test/CodeGen/LoongArch/bstrins_w.ll
Log Message:
-----------
[LoongArch] Make sure that the LoongArchISD::BSTRINS node uses the correct `MSB` value (#84454)
The `MSB` must not be greater than `GRLen`. Without this patch, newly
added test cases will crash with LoongArch32, resulting in a 'cannot
select' error.
Commit: f78688134026686288a8d310b493d9327753a022
https://github.com/llvm/llvm-project/commit/f78688134026686288a8d310b493d9327753a022
Author: fpasserby <125797601+fpasserby at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/include/clang/AST/ExprCXX.h
M clang/lib/CodeGen/CGCoroutine.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/Sema/SemaCoroutine.cpp
M clang/test/AST/coroutine-locals-cleanup.cpp
M clang/test/CodeGenCoroutines/coro-always-inline.cpp
M clang/test/CodeGenCoroutines/coro-await.cpp
R clang/test/CodeGenCoroutines/coro-awaiter-noinline-suspend.cpp
M clang/test/CodeGenCoroutines/coro-dwarf.cpp
M clang/test/CodeGenCoroutines/coro-function-try-block.cpp
M clang/test/CodeGenCoroutines/coro-symmetric-transfer-01.cpp
M clang/test/CodeGenCoroutines/coro-symmetric-transfer-02.cpp
M clang/test/CodeGenCoroutines/pr56329.cpp
M clang/test/CodeGenCoroutines/pr59181.cpp
M clang/test/CodeGenCoroutines/pr65054.cpp
M llvm/docs/Coroutines.rst
M llvm/include/llvm/IR/Intrinsics.td
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/Coroutines/CoroInstr.h
M llvm/lib/Transforms/Coroutines/CoroInternal.h
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/lib/Transforms/Coroutines/Coroutines.cpp
A llvm/test/Transforms/Coroutines/coro-await-suspend-lower-invoke.ll
A llvm/test/Transforms/Coroutines/coro-await-suspend-lower.ll
Log Message:
-----------
[coroutine] Implement llvm.coro.await.suspend intrinsic (#79712)
Implement `llvm.coro.await.suspend` intrinsics, to deal with performance
regression after prohibiting `.await_suspend` inlining, as suggested in
#64945.
Actually, there are three new intrinsics, which directly correspond to
each of three forms of `await_suspend`:
```
void llvm.coro.await.suspend.void(ptr %awaiter, ptr %frame, ptr @wrapperFunction)
i1 llvm.coro.await.suspend.bool(ptr %awaiter, ptr %frame, ptr @wrapperFunction)
ptr llvm.coro.await.suspend.handle(ptr %awaiter, ptr %frame, ptr @wrapperFunction)
```
There are three different versions instead of one, because in `bool`
case it's result is used for resuming via a branch, and in
`coroutine_handle` case exceptions from `await_suspend` are handled in
the coroutine, and exceptions from the subsequent `.resume()` are
propagated to the caller.
Await-suspend block is simplified down to intrinsic calls only, for
example for symmetric transfer:
```
%id = call token @llvm.coro.save(ptr null)
%handle = call ptr @llvm.coro.await.suspend.handle(ptr %awaiter, ptr %frame, ptr @wrapperFunction)
call void @llvm.coro.resume(%handle)
%result = call i8 @llvm.coro.suspend(token %id, i1 false)
switch i8 %result, ...
```
All await-suspend logic is moved out into a wrapper function, generated
for each suspension point.
The signature of the function is `<type> wrapperFunction(ptr %awaiter,
ptr %frame)` where `<type>` is one of `void` `i1` or `ptr`, depending on
the return type of `await_suspend`.
Intrinsic calls are lowered during `CoroSplit` pass, right after the
split.
Because I'm new to LLVM, I'm not sure if the helper function generation,
calls to them and lowering are implemented in the right way, especially
with regard to various metadata and attributes, i. e. for TBAA. All
things that seemed questionable are marked with `FIXME` comments.
There is another detail: in case of symmetric transfer raw pointer to
the frame of coroutine, that should be resumed, is returned from the
helper function and a direct call to `@llvm.coro.resume` is generated.
C++ standard demands, that `.resume()` method is evaluated. Not sure how
important is this, because code has been generated in the same way
before, sans helper function.
Commit: 6bec4fc76de50a090d1d0b36498da66c4a324851
https://github.com/llvm/llvm-project/commit/6bec4fc76de50a090d1d0b36498da66c4a324851
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
M libc/cmake/modules/LLVMLibCFlagRules.cmake
Log Message:
-----------
[libc] Fix flag parsing bugs. (#84706)
Commit: fab2bb8bfda865bd438dee981d7be7df8017b76d
https://github.com/llvm/llvm-project/commit/fab2bb8bfda865bd438dee981d7be7df8017b76d
Author: Justin Lebar <justin.lebar at gmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/include/llvm/ADT/STLExtras.h
M llvm/include/llvm/CodeGen/RegAllocPBQP.h
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/DebugInfo/PDB/Native/PDBFile.cpp
M llvm/lib/IR/DataLayout.cpp
M llvm/lib/ObjCopy/MachO/MachOWriter.cpp
M llvm/lib/ProfileData/GCOV.cpp
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
M llvm/lib/Target/AMDGPU/GCNILPSched.cpp
M llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
M llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp
M llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
M llvm/lib/Target/Hexagon/HexagonConstExtenders.cpp
M llvm/lib/Target/Hexagon/HexagonGenInsert.cpp
M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
M llvm/lib/Transforms/Scalar/GVNSink.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.cpp
M llvm/tools/llvm-mca/Views/BottleneckAnalysis.cpp
M llvm/tools/llvm-mca/Views/SchedulerStatistics.cpp
M llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
M llvm/tools/llvm-pdbutil/MinimalTypeDumper.cpp
M llvm/tools/llvm-rc/ResourceFileWriter.cpp
M llvm/utils/FileCheck/FileCheck.cpp
M llvm/utils/TableGen/CodeGenSchedule.cpp
M llvm/utils/TableGen/RegisterInfoEmitter.cpp
M mlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp
M mlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp
M mlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp
M mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp
M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
M mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp
M mlir/lib/Dialect/GPU/TransformOps/GPUTransformOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
M mlir/lib/Dialect/SPIRV/Transforms/UnifyAliasedResourcePass.cpp
M mlir/lib/Dialect/Tensor/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/lib/IR/AffineMap.cpp
M mlir/lib/Reducer/ReductionNode.cpp
Log Message:
-----------
Add llvm::min/max_element and use it in llvm/ and mlir/ directories. (#84678)
For some reason this was missing from STLExtras.
Commit: 7dfa8398354e435cdee5a8ea6d6b17d1e4557733
https://github.com/llvm/llvm-project/commit/7dfa8398354e435cdee5a8ea6d6b17d1e4557733
Author: Amirreza Ashouri <ar.ashouri999 at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/Type.cpp
M clang/test/SemaCXX/type-traits.cpp
Log Message:
-----------
[clang] Fix behavior of `__is_trivially_relocatable(volatile int)` (#77092)
Consistent with `__is_trivially_copyable(volatile int) == true` and
`__is_trivially_relocatable(volatile Trivial) == true`,
`__is_trivially_relocatable(volatile int)` should also be `true`.
Fixes https://github.com/llvm/llvm-project/issues/77091
[clang] [test] New tests for __is_trivially_relocatable(cv-qualified
type)
Commit: 099be86433a69f264aeb70e512ba1bbd0c7aefd7
https://github.com/llvm/llvm-project/commit/099be86433a69f264aeb70e512ba1bbd0c7aefd7
Author: Justin Lebar <justin.lebar at gmail.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
Log Message:
-----------
Fix broken build after https://github.com/llvm/llvm-project/pull/84678 (sorry).
Commit: 3f6bc1adf805681293c2ef0b93b708ff52244c00
https://github.com/llvm/llvm-project/commit/3f6bc1adf805681293c2ef0b93b708ff52244c00
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/Serialization/ASTReader.h
M clang/lib/AST/Decl.cpp
M clang/lib/AST/DeclBase.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
A clang/test/Modules/hashing-decls-in-exprs-from-gmf.cppm
Log Message:
-----------
[C++20] [Moduls] Avoid computing odr hash for functions from comparing constraint expression
Previously we disabled to compute ODR hash for declarations from the
global module fragment. However, we missed the case that the functions
lives in the concept requiments (see the attached the test files for
example). And the mismatch causes the potential crashment.
Due to we will set the function body as lazy after we deserialize it and
we will only take its body when needed. However, we don't allow to take
the body during deserializing. So it is actually potentially problematic
if we set the body as lazy first and computing the hash value of the
function, which requires to deserialize its body. So we will meet a
crash here.
This patch tries to solve the issue by not taking the body of the
function from GMF. Note that we can't skip comparing the constraint
expression from the GMF directly since it is an key part of the
function selecting and it may be the reason why we can't return 0
directly for `FunctionDecl::getODRHash()` from the GMF.
Commit: d8d2dea7fc6f452ac6a24948fe3ff99920f81c99
https://github.com/llvm/llvm-project/commit/d8d2dea7fc6f452ac6a24948fe3ff99920f81c99
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-strided-load-store-asm.ll
Log Message:
-----------
[RISCV] Handle FP riscv_masked_strided_load with 0 stride. (#84576)
Previously, we tried to create an integer extending load. We need to a
non-extending FP load instead.
Fixes #84541.
Commit: d9e6aa70484955c9f581577c3b93efc1d277fa46
https://github.com/llvm/llvm-project/commit/d9e6aa70484955c9f581577c3b93efc1d277fa46
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/test/CodeGen/AMDGPU/acc-ldst.ll
M llvm/test/CodeGen/AMDGPU/mfma-no-register-aliasing.ll
Log Message:
-----------
[AMDGPU] Update LiveInterval def index for early-clobber (#79285)
On converting an instruction to an early-clobber definition in
convertToThreeAddress, we must also update live intervals for the
register to start at the early-clobber index.
Commit: b7f97d3661814c4ae11b8772f8a27c029d01648b
https://github.com/llvm/llvm-project/commit/b7f97d3661814c4ae11b8772f8a27c029d01648b
Author: Kito Cheng <kito.cheng at sifive.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetObjectFile.cpp
M llvm/lib/Target/RISCV/RISCVTargetObjectFile.h
A llvm/test/CodeGen/RISCV/srodata.ll
Log Message:
-----------
[RISCV] Place mergeable small read only data into srodata section (#82214)
Small mergeable read only data was place on the sdata before, but it
also means it lose the mergeable property, which means lose some code
size optimization opportunity during link time.
Commit: f6455606bbbb02bbc155a713ae07eab1c7419041
https://github.com/llvm/llvm-project/commit/f6455606bbbb02bbc155a713ae07eab1c7419041
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Arch/PPC64.cpp
M lld/ELF/Driver.cpp
M lld/ELF/ICF.cpp
M lld/ELF/InputFiles.h
M lld/ELF/InputSection.cpp
M lld/ELF/MarkLive.cpp
M lld/ELF/SyntheticSections.cpp
Log Message:
-----------
[ELF] Move getSymbol/getRelocTargetSym from ObjFile<ELFT> to InputFile. NFC
This removes lots of unneeded `template getFile<ELFT>()`.
Commit: 4a21e3afa29521192ce686605eb945495455ca5e
https://github.com/llvm/llvm-project/commit/4a21e3afa29521192ce686605eb945495455ca5e
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/LiveIntervals.cpp
M llvm/test/CodeGen/AMDGPU/lds-misaligned-bug.ll
Log Message:
-----------
[LiveIntervals] repairIntervalsInRange: recompute width changes (#78564)
Extend repairIntervalsInRange to completely recompute the interva for a
register if subregister defs exist without precise subrange matches
(LaneMask exactly matching subregister).
This occurs when register sequences are lowered to copies such that the
size of the copies do not match any uses of the subregisters formed
(i.e. during twoaddressinstruction).
The subranges without this change are probably legal, but do not match
those generated by live interval computation. This creates problems with
other code that assumes subranges precisely cover all subregisters
defined, e.g. shrinkToUses().
Commit: cf1319f9c6561afea381bbfc1a18f5c1fb7b46b0
https://github.com/llvm/llvm-project/commit/cf1319f9c6561afea381bbfc1a18f5c1fb7b46b0
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
M compiler-rt/test/tsan/pthread_atfork_deadlock3.c
A compiler-rt/test/tsan/signal_in_read.c
Log Message:
-----------
[compiler-rt] Mark more calls as blocking (#77789)
If we're in a blocking call, we need to run the signal immediately, as
the call may not return for a very long time (if ever). Not running the
handler can cause deadlocks if the rest of the program waits (in one way
or another) for the signal handler to execute.
I've gone through the list of functions in
sanitizer_common_interceptors and marked as blocking those that I know
can block, but I don't claim the list to be exhaustive. In particular, I
did not mark libc FILE* functions as blocking, because these can end up
calling user functions. To do that correctly, /I think/ it would be
necessary to clear the "is in blocking call" flag inside the fopencookie
wrappers.
The test for the bug (deadlock) uses the read call (which is the one
that I ran into originally), but the same kind of test could be written
for any other blocking syscall.
Commit: 4e0e9b17c6cacdc3b1ea3a43f85ae443cb146af8
https://github.com/llvm/llvm-project/commit/4e0e9b17c6cacdc3b1ea3a43f85ae443cb146af8
Author: AtariDreams <83477269+AtariDreams at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
M llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
M llvm/test/CodeGen/AMDGPU/add.ll
M llvm/test/CodeGen/AMDGPU/ctpop16.ll
M llvm/test/CodeGen/AMDGPU/ctpop64.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll
M llvm/test/CodeGen/AMDGPU/mul.ll
Log Message:
-----------
[SelectionDAG] Switch to LiveRegUnits (#84197)
Commit: 561ddb1687c21b82feb92890762a85c2ae1f6e0c
https://github.com/llvm/llvm-project/commit/561ddb1687c21b82feb92890762a85c2ae1f6e0c
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/TypePromotion.cpp
M llvm/test/CodeGen/AArch64/and-mask-removal.ll
M llvm/test/CodeGen/AArch64/signed-truncation-check.ll
M llvm/test/CodeGen/AArch64/typepromotion-overflow.ll
M llvm/test/CodeGen/RISCV/typepromotion-overflow.ll
M llvm/test/Transforms/TypePromotion/ARM/icmps.ll
M llvm/test/Transforms/TypePromotion/ARM/wrapping.ll
Log Message:
-----------
Revert "[TypePromotion] Support positive addition amounts in isSafeWrap. (#81690)"
This reverts commit 0813b90ff5d195d8a40c280f6b745f1cc43e087a.
Fixes miscompile reported in #84718.
Commit: 3093d731dff93df02899dcc62f5e7ba02461ff2a
https://github.com/llvm/llvm-project/commit/3093d731dff93df02899dcc62f5e7ba02461ff2a
Author: Nathan Ridge <zeratul976 at hotmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang-tools-extra/clangd/ClangdServer.cpp
M clang-tools-extra/clangd/CodeComplete.cpp
M clang-tools-extra/clangd/IncludeCleaner.cpp
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/clangd/SourceCode.cpp
M clang-tools-extra/clangd/SourceCode.h
M clang-tools-extra/clangd/tool/Check.cpp
M clang-tools-extra/clangd/unittests/SourceCodeTests.cpp
Log Message:
-----------
[clangd] Avoid libFormat's objective-c guessing heuristic where possible (#84133)
This avoids a known libFormat bug where the heuristic can OOM on certain
large files (particularly single-header libraries such as miniaudio.h).
The OOM will still happen on affected files if you actually try to
format them (this is harder to avoid since the underlyting issue affects
the actual formatting logic, not just the language-guessing heuristic),
but at least it's avoided during non-modifying operations like hover,
and modifying operations that do local formatting like code completion.
Fixes https://github.com/clangd/clangd/issues/719
Fixes https://github.com/clangd/clangd/issues/1384
Fixes https://github.com/llvm/llvm-project/issues/70945
Commit: d4569d42b5cb8ba076f0115d3d21d89f68e6ce9d
https://github.com/llvm/llvm-project/commit/d4569d42b5cb8ba076f0115d3d21d89f68e6ce9d
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
R llvm/test/CodeGen/AMDGPU/lds-reject-absolute-addresses.ll
A llvm/test/CodeGen/AMDGPU/lds-reject-mixed-absolute-addresses.ll
A llvm/test/CodeGen/AMDGPU/lds-run-twice-absolute-md.ll
A llvm/test/CodeGen/AMDGPU/lds-run-twice.ll
Log Message:
-----------
[AMDGPU] Let LowerModuleLDS run twice on the same module (#81729)
If all variables in the module are absolute, this means we're running
the pass again on an already lowered module, and that works.
If none of them are absolute, lowering can proceed as usual.
Only diagnose cases where we have a mix of absolute/non-absolute GVs,
which means we added LDS GVs after lowering, which is broken.
See #81491
Split from #75333
Commit: f1aa7837884c745ede497e365cc75d5581ecc714
https://github.com/llvm/llvm-project/commit/f1aa7837884c745ede497e365cc75d5581ecc714
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
M mlir/lib/Dialect/Linalg/Transforms/DecomposeLinalgOps.cpp
M mlir/lib/IR/PatternMatch.cpp
M mlir/lib/Transforms/Utils/RegionUtils.cpp
Log Message:
-----------
[mlir][IR] Fix overload resolution on MSVC build (#84589)
#82629 added additional overloads to `replaceAllUsesWith` and
`replaceUsesWithIf`. This caused a build breakage with MSVC when called
with ops that can implicitly convert to `Value`.
```
external/llvm-project/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp(881): error C2666: 'mlir::RewriterBase::replaceAllUsesWith': 2 overloads have similar conversions
external/llvm-project/mlir/include\mlir/IR/PatternMatch.h(631): note: could be 'void mlir::RewriterBase::replaceAllUsesWith(mlir::Operation *,mlir::ValueRange)'
external/llvm-project/mlir/include\mlir/IR/PatternMatch.h(626): note: or 'void mlir::RewriterBase::replaceAllUsesWith(mlir::ValueRange,mlir::ValueRange)'
external/llvm-project/mlir/include\mlir/IR/PatternMatch.h(616): note: or 'void mlir::RewriterBase::replaceAllUsesWith(mlir::Value,mlir::Value)'
external/llvm-project/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp(882): note: while trying to match the argument list '(mlir::tensor::ExtractSliceOp, T)'
with
[
T=mlir::Value
]
```
Note: The LLVM build bots (Linux and Windows) did not break, this seems
to be an issue with `Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe`.
This change renames the newly added overloads to `replaceAllOpUsesWith`
and `replaceOpUsesWithIf`.
Commit: c9465e4771c93adfbc99ffca5963a48a5334d98d
https://github.com/llvm/llvm-project/commit/c9465e4771c93adfbc99ffca5963a48a5334d98d
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/IR/Instruction.cpp
Log Message:
-----------
[DebugInfo][RemoveDIs] Assert if we mix PHIs and debug-info (#84054)
A potentially erroneous code construction with the work we've done to
remove debug intrinsics, is inserting PHIs into blocks when the position
hasn't been "sourced correctly". Specifically, if you have:
%foo = PHI
#dbg_value
%bar = add i32...
And plan on inserting a new PHI, you have to use the iterator form of
`getFirstNonPHI` or getFirstInsertionPt (or begin()) to acquire an
iterator that tells the debug-info maintenance code "this is supposed to
be at the start of the block, put it in front of #dbg_value". We can
detect call-sites that aren't doing this at runtime, and should do with
this assertion. It might invalidate code that's doing something very
unexpected, like walking backwards to find a PHI, then going forwards,
then inserting: however that's just an inefficient way of calling
`getFirstNonPHI`.
Commit: 0f501c30b9601627c236f9abca8a3befba5dc161
https://github.com/llvm/llvm-project/commit/0f501c30b9601627c236f9abca8a3befba5dc161
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaCoroutine.cpp
M clang/lib/Sema/SemaExprCXX.cpp
R clang/test/SemaCXX/gh84064-1.cpp
R clang/test/SemaCXX/gh84064-2.cpp
Log Message:
-----------
Revert "[C++20][Coroutines] Lambda-coroutine with operator new in promise_type (#84193)"
This reverts commit 35d3b33ba5c9b90443ac985f2521b78f84b611fe.
See the comments in https://github.com/llvm/llvm-project/pull/84193 for
details
Commit: 3b30559c088d679ca8fe491158e6c32db630f223
https://github.com/llvm/llvm-project/commit/3b30559c088d679ca8fe491158e6c32db630f223
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/test/Lower/OpenMP/parallel-private-clause-str.f90
M flang/test/Lower/OpenMP/parallel-private-clause.f90
Log Message:
-----------
[flang][OpenMP] Only use HLFIR base in privatization logic (#84123)
Modifies the privatization logic so that the emitted code only used the
HLFIR base (i.e. SSA value `#0` returned from `hlfir.declare`). Before
that, that emitted privatization logic was a mix of using `#0` and `#1`
which leads to some difficulties trying to move to delayed privatization
(see the discussion on #84033).
Commit: 718962f53bfc610f670f1674457a426e01117097
https://github.com/llvm/llvm-project/commit/718962f53bfc610f670f1674457a426e01117097
Author: Dominik Steenken <dost at de.ibm.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
A llvm/test/Analysis/CostModel/SystemZ/reduce-add.ll
Log Message:
-----------
[SystemZ] Provide improved cost estimates (#83873)
This commit provides better cost estimates for
the llvm.vector.reduce.add intrinsic on SystemZ. These apply to all
vector lengths and integer types up to i128. For integer types larger
than i128, we fall back to the default cost estimate.
This has the effect of lowering the estimated costs of most common
instances of the intrinsic. The expected performance impact of this is
minimal with a tendency to slightly improve performance of some
benchmarks.
This commit also provides a test to check the proper computation of the
new estimates, as well as the fallback for types larger than i128.
Commit: 58dd59a28293432171c0439eb1ae082f6ea9962f
https://github.com/llvm/llvm-project/commit/58dd59a28293432171c0439eb1ae082f6ea9962f
Author: Luke Lau <luke at igalia.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Don't run combineBinOp_VLToVWBinOp_VL until after legalize types. NFCI (#84125)
I noticed this from a discrepancy in fillUpExtensionSupport between how
we apparently need to check for legal types for ISD::{ZERO,SIGN}_EXTEND,
but we don't need to for RISCVISD::V{Z,S}EXT_VL.
Prior to #72340, combineBinOp_VLToVWBinOp_VL only ran after type
legalization because it only operated on _VL nodes. _VL nodes are only
emitted during op legalization, which takes place **after** type
legalization, which is presumably why the existing code didn't need to
check for legal types.
After #72340 we now handle generic ops like ISD::ADD that exist before
op legalization and thus **before** type legalization. This meant that
we needed to add extra checks that the narrow type was legal in #76785.
I think the easiest thing to do here is to just maintain the invariant
that the types are legal and only run the combine after type
legalization.
Commit: d3ec8c2a25f43225efe997569925aa57324db0dd
https://github.com/llvm/llvm-project/commit/d3ec8c2a25f43225efe997569925aa57324db0dd
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingPlatformWindows.c
M llvm/unittests/Analysis/LazyCallGraphTest.cpp
Log Message:
-----------
Typo: ponit
Commit: 0ef61ed54dca2e974928c55b2144b57d4c4ff621
https://github.com/llvm/llvm-project/commit/0ef61ed54dca2e974928c55b2144b57d4c4ff621
Author: Luke Lau <luke at igalia.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Move NodeExtensionHelper assert to getOrCreateExtendedOp. NFC
Move the narrow types assert from the ZERO_EXTEND/SIGN_EXTEND case in
fillUpExtensionSupport to getOrCreateExtendedOp so we check the other nodes
too.
Commit: 9277a32305c1083653ffaa7955cd26deffc10988
https://github.com/llvm/llvm-project/commit/9277a32305c1083653ffaa7955cd26deffc10988
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
Log Message:
-----------
[VPlan] Funnel recipe insert* through VPBasicBlock::insert (NFCI).
This allows relying on VPBasicBlock::insert to make sure insertion is
well formed, i.e. by updating the recipe's parent as well as other
potential invariants in the future.
Commit: ec2875ce2690010f7dd894c9b56802297dd6cb84
https://github.com/llvm/llvm-project/commit/ec2875ce2690010f7dd894c9b56802297dd6cb84
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/include/clang/Interpreter/Interpreter.h
M clang/lib/Interpreter/Interpreter.cpp
M clang/unittests/Interpreter/CMakeLists.txt
A clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
Log Message:
-----------
[clang-repl] Expose RuntimeInterfaceBuilder to allow customization (#83126)
RuntimeInterfaceBuilder wires up JITed expressions with the hardcoded
Interpreter runtime. It's used only for value printing right now, but it
is not limited to that. The default implementation focuses on an
evaluation process where the Interpreter has direct access to the memory
of JITed expressions (in-process execution or shared memory).
We need a different approach to support out-of-process evaluation or
variations of the runtime. It seems reasonable to expose a minimal
interface for it. The new RuntimeInterfaceBuilder is an abstract base
class in the public header. For that, the TypeVisitor had to become a
component (instead of inheriting from it). FindRuntimeInterface() was
adjusted to return an instance of the RuntimeInterfaceBuilder and it can
be overridden from derived classes.
Commit: 483c3364fe914280536b1ea0591bac4ba5f6c5de
https://github.com/llvm/llvm-project/commit/483c3364fe914280536b1ea0591bac4ba5f6c5de
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn
Log Message:
-----------
[gn build] Port ec2875ce2690
Commit: 7b90a67fe717338f7ae4e53f6b97d0f29bacde8e
https://github.com/llvm/llvm-project/commit/7b90a67fe717338f7ae4e53f6b97d0f29bacde8e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Assert that the supportedVectorShift* helpers are only called with generic shift opcodes. NFC.
Commit: 3149c934cb2602691de40d2aeb238675e8831d57
https://github.com/llvm/llvm-project/commit/3149c934cb2602691de40d2aeb238675e8831d57
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M flang/CMakeLists.txt
M flang/include/flang/Evaluate/integer.h
M flang/include/flang/Evaluate/real.h
M flang/lib/Evaluate/fold-implementation.h
M flang/lib/Evaluate/intrinsics-library.cpp
Log Message:
-----------
[flang] Fix Darwin build after 4762c6557d15 (#84478)
Select POSIX 2008 standard to avoid including Darwin extensions.
Otherwise, Darwin's math.h header defines HUGE, which conflicts
with Flang's HUGE function.
This started happening after 4762c6557d15 (#82443), that added the
"utility" include, which seems to include "math.h".
Commit: 66f0984385fe3d3c1ece0ac22ff338ee348b2862
https://github.com/llvm/llvm-project/commit/66f0984385fe3d3c1ece0ac22ff338ee348b2862
Author: Nathan Sidwell <nathan at acm.org>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
Log Message:
-----------
Reorder fields for better packing (#77998)
The RelocationEntry's fields are poorly ordered when considering
padding. This reordering reduces the size from 56 bytes to 40 bytes (on
LP64).
Commit: e77f5fe889909df3508fd929f2636a0ac211877a
https://github.com/llvm/llvm-project/commit/e77f5fe889909df3508fd929f2636a0ac211877a
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M lldb/docs/resources/build.rst
Log Message:
-----------
[lldb][Docs] Add libxml2 to apt install command
Commit: a84eb244129f288d609307ad42ab5e6c8e1cc795
https://github.com/llvm/llvm-project/commit/a84eb244129f288d609307ad42ab5e6c8e1cc795
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/IR/Verifier.cpp
Log Message:
-----------
[RemoveDIs] Add additional debug-mode verifier checks (#84308)
Separated from #83251
Commit: 878097dff3ea4bad6b7f50017224a84bbf2af406
https://github.com/llvm/llvm-project/commit/878097dff3ea4bad6b7f50017224a84bbf2af406
Author: Egor Zhdan <e_zhdan at apple.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/lib/APINotes/APINotesManager.cpp
Log Message:
-----------
[APINotes] Fix failing tests after a PCM logic change
This fixes tests that are going to be upstreamed in the near future.
Currently they are failing downstream in the Apple open source fork.
Failing tests
Clang :: APINotes/retain-count-convention.m
Clang :: APINotes/types.m
Clang :: APINotes/versioned-multi.c
Clang :: APINotes/versioned.m
Since 2e5af56 got merged, Clang now enables `LangOpts.APINotesModules`
when reading a precompiled module that was built with API Notes enabled.
This is correct. The logic in APINotesManager needs to be adjusted to
handle this.
rdar://123526142
Commit: 5ff672045a97cf7f9d7f3a93d3a02e76994d50fb
https://github.com/llvm/llvm-project/commit/5ff672045a97cf7f9d7f3a93d3a02e76994d50fb
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/tools/llvm-reduce/CMakeLists.txt
M llvm/tools/llvm-reduce/DeltaManager.cpp
R llvm/tools/llvm-reduce/deltas/ReduceDPValues.cpp
R llvm/tools/llvm-reduce/deltas/ReduceDPValues.h
A llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp
A llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.h
M llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn
Log Message:
-----------
[RemoveDIs][NFC] Rename DPValues->DbgRecords in llvm-reduce's ReduceDPValues (#84506)
llvm-reduce currently has a file `ReduceDPValues`, which really is
concerned with DbgRecords. Therefore, we rename the file and its
function accordingly.
Commit: 9b2386e82dedafade233c8871637ee76da9ebe0e
https://github.com/llvm/llvm-project/commit/9b2386e82dedafade233c8871637ee76da9ebe0e
Author: Christian Kandeler <christian.kandeler at qt.io>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang-tools-extra/clangd/Protocol.cpp
Log Message:
-----------
[clangd] Fix JSON conversion for symbol tags (#84747)
The wrong constructor of json::Value got called, making every tag an
array instead of a number.
Commit: 702e2da15a1c5e728c042afd094eccf1cb3741f0
https://github.com/llvm/llvm-project/commit/702e2da15a1c5e728c042afd094eccf1cb3741f0
Author: Kevin P. Neal <52762977+kpneal at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/HardwareLoops.cpp
A llvm/test/Transforms/HardwareLoops/scalar-while-strictfp.ll
Log Message:
-----------
[HardwareLoops] Add support for strictfp functions. (#84531)
This pass was adding new function calls without adding the strictfp
attribute as required by the rules laid out in the langref. With this
change a make check has 4-5 fewer failing tests with the Verifier
changes in D146845.
LangRef:
https://llvm.org/docs/LangRef.html#constrained-floating-point-intrinsics
Test failures found with "https://reviews.llvm.org/D146845".
Commit: aec92830b79a8c49cdce0d592627d5f18bb6370b
https://github.com/llvm/llvm-project/commit/aec92830b79a8c49cdce0d592627d5f18bb6370b
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/include/clang/Interpreter/Interpreter.h
M clang/lib/Interpreter/Interpreter.cpp
Log Message:
-----------
[clang-repl] Refactor locking of runtime PTU stack (NFC) (#84176)
The Interpreter locks PTUs that originate from implicit runtime code and
initialization to prevent users from undoing them accidentally.
The previous implementation seemed hacky, because it required the reader
to be familiar with the internal workings of the PTU stack. The concept
itself is a pragmatic solution and not very surprising. This patch
introduces a function for it and adds a comment.
Commit: 546f32df26f58fdfe02d99e6d91d681dd9ed6839
https://github.com/llvm/llvm-project/commit/546f32df26f58fdfe02d99e6d91d681dd9ed6839
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M flang/lib/Optimizer/CodeGen/BoxedProcedure.cpp
Log Message:
-----------
[flang][CodeGen] Fix use-after-free in BoxedProcedurePass (#84376)
Avoid inspecting an operation that has been replaced.
This was detected by address sanitizer.
Commit: 2b8f1daf7878c03d5fac58385fdc3e498a810d8d
https://github.com/llvm/llvm-project/commit/2b8f1daf7878c03d5fac58385fdc3e498a810d8d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/lib/Target/X86/X86InstrSSE.td
M llvm/test/TableGen/x86-fold-tables.inc
Log Message:
-----------
[X86] Add missing immediate qualifier to the SSE42 (V)PCMPEST/PCMPIST string instruction names
Commit: 2a38551457cb2b38dcca35e30e9f2d7fce9ae3e7
https://github.com/llvm/llvm-project/commit/2a38551457cb2b38dcca35e30e9f2d7fce9ae3e7
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
A libcxx/include/__tuple/find_index.h
M libcxx/include/libcxx.imp
M libcxx/include/module.modulemap
M libcxx/include/tuple
M libcxx/include/variant
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
M libcxx/test/libcxx/utilities/variant/variant.variant/variant_size.pass.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.verify.cpp
M libcxx/test/std/utilities/variant/variant.visit.member/visit.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit.member/visit_return_type.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit/visit.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit/visit_return_type.pass.cpp
Log Message:
-----------
[libc++] Remove <tuple> from <variant> (#83183)
This moves a utility from `<tuple>` into an implementation detail header
and refactors the selection of the variant index type to use.
Commit: 2f1873d11e8853d1ddb801b4c512be3967ffcfc9
https://github.com/llvm/llvm-project/commit/2f1873d11e8853d1ddb801b4c512be3967ffcfc9
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/IR/Verifier.cpp
Log Message:
-----------
Revert "[RemoveDIs] Add additional debug-mode verifier checks" (#84757)
Reverts llvm/llvm-project#84308
Failing bots, e.g.
https://lab.llvm.org/buildbot/#/builders/16/builds/62432
Commit: 6f7e940c2d6711c7be8bc5365a1f4da3a328b2eb
https://github.com/llvm/llvm-project/commit/6f7e940c2d6711c7be8bc5365a1f4da3a328b2eb
Author: Jason Eckhardt <jeckhardt at nvidia.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/utils/TableGen/CodeEmitterGen.cpp
M llvm/utils/TableGen/CodeGenInstruction.h
M llvm/utils/TableGen/CodeGenTarget.cpp
M llvm/utils/TableGen/CodeGenTarget.h
M llvm/utils/TableGen/DecoderEmitter.cpp
Log Message:
-----------
[TableGen] More efficiency improvements for encode/decode emission. (#84647)
DecoderEmitter and CodeEmitterGen perform repeated linear walks over the
entire instruction list. This patch eliminates two more such walks.
The eliminated traversals visit every instruction merely to determine
whether the target has variable length encodings. For a target with
variable length encodings, the original any_of will terminate quickly.
But all targets other than M68k use fixed length encodings and thus
any_of must visit the entire instruction list.
Commit: facb89ae1228c067b2b14f32e7e70608fe50704b
https://github.com/llvm/llvm-project/commit/facb89ae1228c067b2b14f32e7e70608fe50704b
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp.h
Log Message:
-----------
[openmp] __kmp_x86_cpuid fix for i386/PIC builds. (#84626)
Commit: 9d30f11b8881d9f9c997bb7e3bf399c70da20b06
https://github.com/llvm/llvm-project/commit/9d30f11b8881d9f9c997bb7e3bf399c70da20b06
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libc/src/math/amdgpu/CMakeLists.txt
R libc/src/math/amdgpu/modf.cpp
R libc/src/math/amdgpu/modff.cpp
M libc/src/math/nvptx/CMakeLists.txt
R libc/src/math/nvptx/modf.cpp
R libc/src/math/nvptx/modff.cpp
Log Message:
-----------
[libc] Remove use of `__builtin_modf` in GPU math
Summary:
This function was not actually supported, see
https://godbolt.org/z/MP1j5EeWc. Unsure why we only now begun seeing
failures related to it.
Commit: fcd0dd37936957be27a3583c7daaafa2bf282a90
https://github.com/llvm/llvm-project/commit/fcd0dd37936957be27a3583c7daaafa2bf282a90
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 2a38551457cb
Commit: 0fae9a24b9acf03ab072bb8aca92a467b697a08a
https://github.com/llvm/llvm-project/commit/0fae9a24b9acf03ab072bb8aca92a467b697a08a
Author: Zain Jaffal <zain at jjaffal.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-remarkutil.rst
Log Message:
-----------
[Docs] Fix `llvm-remarkutil` docs (#84661)
Code blocks and option points weren't rendered correctly
Commit: 1ec5b1f483aa154255d919af9abf5eca2fe8635c
https://github.com/llvm/llvm-project/commit/1ec5b1f483aa154255d919af9abf5eca2fe8635c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrSSE.td
M llvm/lib/Target/X86/X86SchedAlderlakeP.td
M llvm/lib/Target/X86/X86SchedSapphireRapids.td
M llvm/lib/Target/X86/X86ScheduleBdVer2.td
M llvm/test/TableGen/x86-fold-tables.inc
Log Message:
-----------
[X86] Add missing immediate qualifier to the (V)PCLMULQDQ instruction names
Commit: 02e0b7d405c3ace86e731450c0dd73556f1452d9
https://github.com/llvm/llvm-project/commit/02e0b7d405c3ace86e731450c0dd73556f1452d9
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.floating_point.pass.cpp
Log Message:
-----------
[libc++] Add missing include in test (#84579)
That test is using std::toupper.
Commit: d27c1bed1169a4fc324c70fa60dcd979b86a06d2
https://github.com/llvm/llvm-project/commit/d27c1bed1169a4fc324c70fa60dcd979b86a06d2
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/CMakeLists.txt
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[libc] Only enable `LLVM_FULL_BUILD_MODE` by default for GPU targets (#84664)
Summary:
Currently we have a conditional that turns the full build on by default
if it is a default target. This used to work fine when the GPU was the
only target that was ever present. However, we've recently changed to
allow building multiple of these at the same time. That means we should
have the ability to build overlay mode in the CPU mode and full build in
the GPU mode. This patch makes some simple adjustments to pass the
arguments per-triple. This slightly extends the existing `-DRUNTIMES_`
argument support to also transform any extra CMake inputs rather than
just the passed CMake variables.
Commit: b1be69f4dbc7e3557e381d413e1b8c31ce974cc8
https://github.com/llvm/llvm-project/commit/b1be69f4dbc7e3557e381d413e1b8c31ce974cc8
Author: Mark Zhuang <mark.zhuang at spacemit.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/docs/CMake.rst
Log Message:
-----------
[NFC] Remove duplicate 'see' in CMake.rst (#84680)
Commit: 3f302eaca46ec068879831cae76d4aeda2bf82f8
https://github.com/llvm/llvm-project/commit/3f302eaca46ec068879831cae76d4aeda2bf82f8
Author: elhewaty <mohamedatef1698 at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/unsigned_saturated_sub.ll
Log Message:
-----------
[InstCombine] Fold usub_sat((sub nuw C1, A), C2) to usub_sat(C1 - C2, A) or 0 (#82280)
- Fixes: https://github.com/llvm/llvm-project/issues/82177
- Alive2: https://alive2.llvm.org/ce/z/Q7mMC3
Commit: 9bc294f9be257eca655807a2d598225dcf4290ee
https://github.com/llvm/llvm-project/commit/9bc294f9be257eca655807a2d598225dcf4290ee
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libc/CMakeLists.txt
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/utils/CMakeLists.txt
M libc/utils/gpu/CMakeLists.txt
M libc/utils/gpu/loader/CMakeLists.txt
M libc/utils/gpu/loader/amdgpu/CMakeLists.txt
M libc/utils/gpu/loader/nvptx/CMakeLists.txt
M libc/utils/gpu/server/CMakeLists.txt
M llvm/CMakeLists.txt
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[libc] Build the GPU during the projects setup like libc-hdrgen (#84667)
Summary:
The libc build has a few utilties that need to be built before we can do
everything in the full build. The one requirement currently is the
`libc-hdrgen` binary. If we are doing a full build runtimes mode we
first add `libc` to the projects list and then only use the `projects`
portion to buld the `libc` portion. We also use utilities for the GPU
build, namely the loader utilities. Previously we would build these
tools on-demand inside of the cross-build, which tool some hacky
workarounds for the dependency finding and target triple. This patch
instead just builds them similarly to libc-hdrgen and then passses them
in. We now either pass it manually it it was built, or just look it up
like we do with the other `clang` tools.
Depends on https://github.com/llvm/llvm-project/pull/84664
Commit: 5e688f0dbdaaf8ef06c1affa90db985acf401237
https://github.com/llvm/llvm-project/commit/5e688f0dbdaaf8ef06c1affa90db985acf401237
Author: Sivan Shani <sivan.shani at arm.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
M llvm/lib/Target/ARM/ARMInstrFormats.td
M llvm/lib/Target/ARM/ARMInstrVFP.td
M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
M llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp
M llvm/test/CodeGen/ARM/cmse-vlldm-no-reorder.mir
M llvm/test/CodeGen/ARM/vlldm-vlstm-uops.mir
M llvm/test/MC/ARM/thumbv8m.s
A llvm/test/MC/ARM/vlstm-vlldm-8.1m.s
A llvm/test/MC/ARM/vlstm-vlldm-8m.s
A llvm/test/MC/ARM/vlstm-vlldm-diag.s
A llvm/test/MC/Disassembler/ARM/armv8.1m-vlldm_vlstm-8.1.main.txt
A llvm/test/MC/Disassembler/ARM/armv8.1m-vlldm_vlstm-8.main.txt
M llvm/unittests/Target/ARM/MachineInstrTest.cpp
Log Message:
-----------
[llvm][arm] add T1 and T2 assembly options for vlldm and vlstm
Re-land 634b0243b8f7acc85af4f16b70e91d86ded4dc83.
T1 allow for an optional registers list,
the register list must be {d0-d15}.
T2 define a mandatory register list,
the register list must be {d0-d31}.
The requirements for T1/T2 are as follows:
T1 T2
Require: v8-M.Main, v8.1-M.Main,
secure state secure state
16 D Regs valid valid
32 D Regs UNDEFINED valid
No D Regs NOP NOP
Commit: 769eab47194c2a67a5939bb6a077bf48b0ba9ddb
https://github.com/llvm/llvm-project/commit/769eab47194c2a67a5939bb6a077bf48b0ba9ddb
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
Log Message:
-----------
[NFC][AMDGPU] Fix redundant assignment from #77952 (#84586)
Someone pointed out a typo (Value* RsrcRes = RsrcRes = ...) in PR the
address space 7 lowering, this commit fixes it.
Commit: d0117b71193787ebfd92d96a4ecc261f0aaeac86
https://github.com/llvm/llvm-project/commit/d0117b71193787ebfd92d96a4ecc261f0aaeac86
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
Log Message:
-----------
[RemoveDIs] Copy debug mode to new functions in amdgpu-lower-buffer-fat-pointers
Fixes failing tests after https://github.com/llvm/llvm-project/pull/84308
LLVM :: CodeGen/AMDGPU/GlobalISel/irtranslator-non-integral-address-spaces-vectors.ll
LLVM :: CodeGen/AMDGPU/GlobalISel/irtranslator-non-integral-address-spaces.ll
LLVM :: CodeGen/AMDGPU/lower-buffer-fat-pointers-calls.ll
LLVM :: CodeGen/AMDGPU/lower-buffer-fat-pointers-constants.ll
LLVM :: CodeGen/AMDGPU/lower-buffer-fat-pointers-pointer-ops.ll
LLVM :: CodeGen/AMDGPU/pal-metadata-3.0.ll
Buildbots: https://lab.llvm.org/buildbot/#/builders/121/builds/39855
Commit: 538aeb180bcdf82cd86a46b44d6622a1c13d2877
https://github.com/llvm/llvm-project/commit/538aeb180bcdf82cd86a46b44d6622a1c13d2877
Author: Emma Pilkington <emma.pilkington95 at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/unittests/MC/AMDGPU/DwarfRegMappings.cpp
M llvm/unittests/Target/AMDGPU/DwarfRegMappings.cpp
Log Message:
-----------
[AMDGPU] Use a consistent DwarfEH register flavour (#84513)
Previously, we always used the wave64 encodings for EH registers
regardless of whether we were compiling for wave32, which seems wrong.
We don't seem to use the EH registers, so this commit is mostly just
about papering over code that converts from non-EH dwarf registers to
LLVM registers while claiming they are EH dwarf registers. That kind of
code should be okay on any non-darwin target (since darwin is the only
target that uses a different encoding for EH registers).
Commit: 2953d9c8b07e07d1344b979ebd831a68b07d0e8f
https://github.com/llvm/llvm-project/commit/2953d9c8b07e07d1344b979ebd831a68b07d0e8f
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-10 (Sun, 10 Mar 2024)
Changed paths:
M llvm/lib/IR/Verifier.cpp
Log Message:
-----------
Reapply "[RemoveDIs] Add additional debug-mode verifier checks" (#84757)
Test failures fixed in d0117b71193787ebfd92d96a4ecc261f0aaeac86
Commit: f14224d92b0e43aa508c8d800db57f8f674e1c7b
https://github.com/llvm/llvm-project/commit/f14224d92b0e43aa508c8d800db57f8f674e1c7b
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoV.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
M llvm/lib/Target/RISCV/RISCVScheduleV.td
Log Message:
-----------
[RISCV] Rename schedule classes for vmv.s.x, vmv.x.s, vfmv.s.f, and vfmv.f.s [nfc] (#84563)
The prior naming scheme is incredibly hard to make sense out of. I
suspect the usage was actually backwards from intent - though that
didn't matter for any in tree schedule model.
Commit: 63ae5099b7339e87e6ce67fc7da63d26b8e7cb27
https://github.com/llvm/llvm-project/commit/63ae5099b7339e87e6ce67fc7da63d26b8e7cb27
Author: A. Jiang <de34 at live.cn>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/parse.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/parse.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/parse.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.bool.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.c_string.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.floating_point.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.handle.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.pointer.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.signed_integral.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.string.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.unsigned_integral.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtdef/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/parse.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/parse.pass.cpp
Log Message:
-----------
[libc++][test] Don't include `test_format_context.h` in `parse.pass.cpp` (#83734)
The `parse.pass.cpp` tests doen't need to call
`test_format_context_create` to create a `basic_format_context`, so they
shouldn't include `test_format_context.h`.
The `to_address` mechanism works around the iterator debugging
mechanisms of MSVC STL. Related to
[LWG3989](https://cplusplus.github.io/LWG/issue3989).
Discovered when implementing `formatter<tuple>` in MSVC STL. With the
inclusion removed, `std/utilities/format/format.tuple/parse.pass.cpp`
when using enhanced MSVC STL (and `/utf-8` option for MSVC).
Commit: 63c77d84756793ad38e3a5b830a27b400308fe7a
https://github.com/llvm/llvm-project/commit/63c77d84756793ad38e3a5b830a27b400308fe7a
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
Log Message:
-----------
[AMDGPU] Make generic versioning docs easier to find (#84761)
Commit: 63af8584fc7ea81ef6f2176e0ada0533a3495745
https://github.com/llvm/llvm-project/commit/63af8584fc7ea81ef6f2176e0ada0533a3495745
Author: itrofimow <i.trofimow at yandex.ru>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libcxx/include/__exception/exception_ptr.h
Log Message:
-----------
[libc++] Only forward-declare ABI-functions in exception_ptr.h if they are meant to be used (#84707)
This patch fixes the unconditional forward-declarations of ABI-functions
in exception_ptr.h, and makes it dependent on the availability macro, as
it should've been from the beginning.
The declarations being unconditional break the build with libcxxrt
before 045c52ce8 [1], now they are opt-out.
[1]: https://github.com/libcxxrt/libcxxrt/commit/045c52ce821388f4ae4d119fe4fb75f1eb547b85
Commit: b05c15259bcbe3eba353b77ca4fc9ec2a81dd3fb
https://github.com/llvm/llvm-project/commit/b05c15259bcbe3eba353b77ca4fc9ec2a81dd3fb
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/AMDGPU/IR/AMDGPU.td
M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
M mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
M mlir/test/Conversion/AMDGPUToROCDL/amdgpu-to-rocdl.mlir
M mlir/test/Dialect/LLVMIR/rocdl.mlir
M mlir/test/Target/LLVMIR/rocdl.mlir
Log Message:
-----------
[mlir][AMDGPU] Improve amdgpu.lds_barrier, add warnings (#77942)
On some architectures (currently gfx90a, gfx94*, and gfx10**), we can
implement an LDS barrier using compiler intrinsics instead of inline
assembly, improving optimization possibilities and decreasing the
fragility of the underlying code.
Other AMDGPU chipsets continue to require inline assembly to implement
this barrier, as, by the default, the LLVM backend will insert waits on
global memory (s_waintcnt vmcnt(0)) before barriers in order to ensure
memory watchpoints set by debuggers work correctly.
Use of amdgpu.lds_barrier, on these architectures, imposes a tradeoff
between debugability and performance. The documentation, as well as the
generated inline assembly, have been updated to explicitly call
attention to this fact.
For chipsets that did not require the inline assembly hack, we move to
the s.waitcnt and s.barrier intrinsics, which have been added to the
ROCDL dialect. The magic constants used as an argument to the waitcnt
intrinsic can be derived from
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
Commit: b4e39ad1176aa7fc1528aa3f7b447bf27350549f
https://github.com/llvm/llvm-project/commit/b4e39ad1176aa7fc1528aa3f7b447bf27350549f
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp_settings.cpp
Log Message:
-----------
[OpenMP] Remove dead code of checking int > INT_MAX (#83305)
Commit: 1ed463d9617324c37d7efe117233f68f794ac619
https://github.com/llvm/llvm-project/commit/1ed463d9617324c37d7efe117233f68f794ac619
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp_settings.cpp
M openmp/runtime/src/kmp_threadprivate.cpp
Log Message:
-----------
[OpenMP] Make sure ptr is used after NULL check (#83304)
Commit: de4d7015d05ee3d140298207bb09c239884a71f7
https://github.com/llvm/llvm-project/commit/de4d7015d05ee3d140298207bb09c239884a71f7
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp_runtime.cpp
Log Message:
-----------
[OpenMP] Remove unnecessary check of ap (#83303)
Commit: 9b1c496898cbefdce74eb1cf1a0911eb3230d65b
https://github.com/llvm/llvm-project/commit/9b1c496898cbefdce74eb1cf1a0911eb3230d65b
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_tasking.cpp
Log Message:
-----------
[OpenMP] Fixup while loops to avoid bad NULL check (#83302)
Commit: cd5504637beb1aafeeec08fd339e0e920386eea1
https://github.com/llvm/llvm-project/commit/cd5504637beb1aafeeec08fd339e0e920386eea1
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M flang/unittests/Runtime/Ragged.cpp
Log Message:
-----------
[flang][unittests] Use malloc when memory will be deallcated with free (#84380)
Runtime unit tests used `new[]` to allocate memory, which then was
released using `free`.
This was detected by address sanitizer.
Commit: 63a5dc4aedaf8a4b26e536afb22612b4d69100bf
https://github.com/llvm/llvm-project/commit/63a5dc4aedaf8a4b26e536afb22612b4d69100bf
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineRegisterInfo.h
M llvm/lib/CodeGen/MIRParser/MIRParser.cpp
M llvm/lib/CodeGen/MachineOutliner.cpp
M llvm/lib/CodeGen/MachineRegisterInfo.cpp
M llvm/lib/CodeGen/RegAllocBase.cpp
M llvm/lib/CodeGen/RegAllocFast.cpp
M llvm/lib/CodeGen/RegAllocPBQP.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp
M llvm/lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
M llvm/tools/llvm-exegesis/lib/Assembler.cpp
M llvm/tools/llvm-reduce/ReducerWorkItem.cpp
Log Message:
-----------
[CodeGen] Do not pass MF into MachineRegisterInfo methods. NFC. (#84770)
MachineRegisterInfo already knows the MF so there is no need to pass it
in as an argument.
Commit: d99bb01422a984e50043588a6bfafd2c6ce0b7e7
https://github.com/llvm/llvm-project/commit/d99bb01422a984e50043588a6bfafd2c6ce0b7e7
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libc/docs/math/index.rst
M libc/src/math/docs/add_math_function.md
M libc/test/src/math/CMakeLists.txt
R libc/test/src/math/differential_testing/BinaryOpSingleOutputDiff.h
R libc/test/src/math/differential_testing/CMakeLists.txt
R libc/test/src/math/differential_testing/SingleInputSingleOutputDiff.h
R libc/test/src/math/differential_testing/Timer.cpp
R libc/test/src/math/differential_testing/Timer.h
R libc/test/src/math/differential_testing/ceilf_diff.cpp
R libc/test/src/math/differential_testing/ceilf_perf.cpp
R libc/test/src/math/differential_testing/cosf_diff.cpp
R libc/test/src/math/differential_testing/cosf_perf.cpp
R libc/test/src/math/differential_testing/exp2f_diff.cpp
R libc/test/src/math/differential_testing/exp2f_perf.cpp
R libc/test/src/math/differential_testing/expf_diff.cpp
R libc/test/src/math/differential_testing/expf_perf.cpp
R libc/test/src/math/differential_testing/expm1f_diff.cpp
R libc/test/src/math/differential_testing/expm1f_perf.cpp
R libc/test/src/math/differential_testing/fabsf_diff.cpp
R libc/test/src/math/differential_testing/fabsf_perf.cpp
R libc/test/src/math/differential_testing/floorf_diff.cpp
R libc/test/src/math/differential_testing/floorf_perf.cpp
R libc/test/src/math/differential_testing/fmod_diff.cpp
R libc/test/src/math/differential_testing/fmod_perf.cpp
R libc/test/src/math/differential_testing/fmodf_diff.cpp
R libc/test/src/math/differential_testing/fmodf_perf.cpp
R libc/test/src/math/differential_testing/hypot_diff.cpp
R libc/test/src/math/differential_testing/hypot_perf.cpp
R libc/test/src/math/differential_testing/hypotf_diff.cpp
R libc/test/src/math/differential_testing/hypotf_perf.cpp
R libc/test/src/math/differential_testing/log10f_perf.cpp
R libc/test/src/math/differential_testing/log1pf_perf.cpp
R libc/test/src/math/differential_testing/log2f_diff.cpp
R libc/test/src/math/differential_testing/log2f_perf.cpp
R libc/test/src/math/differential_testing/logbf_diff.cpp
R libc/test/src/math/differential_testing/logbf_perf.cpp
R libc/test/src/math/differential_testing/logf_diff.cpp
R libc/test/src/math/differential_testing/logf_perf.cpp
R libc/test/src/math/differential_testing/nearbyintf_diff.cpp
R libc/test/src/math/differential_testing/nearbyintf_perf.cpp
R libc/test/src/math/differential_testing/rintf_diff.cpp
R libc/test/src/math/differential_testing/rintf_perf.cpp
R libc/test/src/math/differential_testing/roundf_diff.cpp
R libc/test/src/math/differential_testing/roundf_perf.cpp
R libc/test/src/math/differential_testing/sinf_diff.cpp
R libc/test/src/math/differential_testing/sinf_perf.cpp
R libc/test/src/math/differential_testing/sqrtf_diff.cpp
R libc/test/src/math/differential_testing/sqrtf_perf.cpp
R libc/test/src/math/differential_testing/truncf_diff.cpp
R libc/test/src/math/differential_testing/truncf_perf.cpp
A libc/test/src/math/performance_testing/BinaryOpSingleOutputPerf.h
A libc/test/src/math/performance_testing/CMakeLists.txt
A libc/test/src/math/performance_testing/SingleInputSingleOutputPerf.h
A libc/test/src/math/performance_testing/Timer.cpp
A libc/test/src/math/performance_testing/Timer.h
A libc/test/src/math/performance_testing/ceilf_perf.cpp
A libc/test/src/math/performance_testing/cosf_perf.cpp
A libc/test/src/math/performance_testing/exp2f_perf.cpp
A libc/test/src/math/performance_testing/expf_perf.cpp
A libc/test/src/math/performance_testing/expm1f_perf.cpp
A libc/test/src/math/performance_testing/fabsf_perf.cpp
A libc/test/src/math/performance_testing/floorf_perf.cpp
A libc/test/src/math/performance_testing/fmod_perf.cpp
A libc/test/src/math/performance_testing/fmodf_perf.cpp
A libc/test/src/math/performance_testing/hypot_perf.cpp
A libc/test/src/math/performance_testing/hypotf_perf.cpp
A libc/test/src/math/performance_testing/log10f_perf.cpp
A libc/test/src/math/performance_testing/log1pf_perf.cpp
A libc/test/src/math/performance_testing/log2f_perf.cpp
A libc/test/src/math/performance_testing/logbf_perf.cpp
A libc/test/src/math/performance_testing/logf_perf.cpp
A libc/test/src/math/performance_testing/nearbyintf_perf.cpp
A libc/test/src/math/performance_testing/rintf_perf.cpp
A libc/test/src/math/performance_testing/roundf_perf.cpp
A libc/test/src/math/performance_testing/sinf_perf.cpp
A libc/test/src/math/performance_testing/sqrtf_perf.cpp
A libc/test/src/math/performance_testing/truncf_perf.cpp
Log Message:
-----------
[libc][NFC] Clean up test/src/math/differential_testing folder, renaming it to performance_testing. (#84646)
Removing all the diff tests.
Commit: 818af71b72219d149174faf9420dfc00f2c03470
https://github.com/llvm/llvm-project/commit/818af71b72219d149174faf9420dfc00f2c03470
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Dialect/EmitC/invalid_ops.mlir
M mlir/test/Dialect/EmitC/invalid_types.mlir
M mlir/test/Dialect/EmitC/types.mlir
M mlir/test/Target/Cpp/common-cpp.mlir
M mlir/test/Target/Cpp/declare_func.mlir
M mlir/test/Target/Cpp/func.mlir
M mlir/test/Target/Cpp/invalid.mlir
A mlir/test/Target/Cpp/invalid_declare_variables_at_top.mlir
M mlir/test/Target/Cpp/variable.mlir
Log Message:
-----------
[mlir][emitc] Add ArrayType (#83386)
This models a one or multi-dimensional C/C++ array.
The type implements the `ShapedTypeInterface` and prints similar to
memref/tensor:
```
%arg0: !emitc.array<1xf32>,
%arg1: !emitc.array<10x20x30xi32>,
%arg2: !emitc.array<30x!emitc.ptr<i32>>,
%arg3: !emitc.array<30x!emitc.opaque<"int">>
```
It can be translated to a C array type when used as function parameter
or as `emitc.variable` type.
Commit: 575ca6744b755f75799c1d092f56953e776a80a6
https://github.com/llvm/llvm-project/commit/575ca6744b755f75799c1d092f56953e776a80a6
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineRegisterInfo.h
M llvm/lib/CodeGen/MachineRegisterInfo.cpp
Log Message:
-----------
[CodeGen] Remove unused MachineRegisterInfo methods
Commit: a924da6d4b8733e5bf08098b18dd7ad1a5ba5f46
https://github.com/llvm/llvm-project/commit/a924da6d4b8733e5bf08098b18dd7ad1a5ba5f46
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M mlir/include/mlir/IR/Types.h
M mlir/lib/IR/Types.cpp
Log Message:
-----------
[mlir][IR] Add `isInteger()` (without width) (#84467)
For the singless and signed integers overloads exist, so that the width
does not need to be specified as an argument. This adds the same for
integers without checking for signedness.
Commit: 0858c906db008e02163e159158c082d9fc82dcca
https://github.com/llvm/llvm-project/commit/0858c906db008e02163e159158c082d9fc82dcca
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86FastISel.cpp
M llvm/lib/Target/X86/X86InstrSSE.td
M llvm/lib/Target/X86/X86SchedAlderlakeP.td
M llvm/lib/Target/X86/X86SchedSapphireRapids.td
M llvm/test/TableGen/x86-fold-tables.inc
Log Message:
-----------
[X86] Add missing register qualifier to the VBLENDVPD/VBLENDVPS/VPBLENDVB instruction names
Matches the SSE variants (which has a 0 qualifier to indicate the xmm0 explicit dependency)
Commit: ad8c8281363261929b53b0a519cd20e9e2445343
https://github.com/llvm/llvm-project/commit/ad8c8281363261929b53b0a519cd20e9e2445343
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86SchedIceLake.td
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx1.s
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx2.s
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-sse41.s
Log Message:
-----------
[X86] (V)MPSADBW instructions can run on Port1 or Port5 for one uop stage
When we copied the IceLake model from the SkylakeServer model we missed this diff
Confirmed with uops.info and Agner
Commit: 2c93beccdf8e026534a737eddaf8f5f26f3a23c3
https://github.com/llvm/llvm-project/commit/2c93beccdf8e026534a737eddaf8f5f26f3a23c3
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/include/clang/InstallAPI/Visitor.h
M clang/lib/InstallAPI/Frontend.cpp
M clang/lib/InstallAPI/Visitor.cpp
A clang/test/InstallAPI/cpp.test
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
Log Message:
-----------
[InstallAPI] Collect C++ Decls (#84403)
This includes capturing symbols for global variables, functions,
classes, and templated defintions. As pre-determing what symbols are
generated from C++ declarations can be non-trivial, InstallAPI only
parses select declarations for symbol generation when parsing c++.
For example, installapi only looks at explicit template instantiations
or full template specializations, instead of general function or class
templates, for symbol emittion.
Commit: 34acdb3ec2113265ea221fb20747ecbffb4f6a2d
https://github.com/llvm/llvm-project/commit/34acdb3ec2113265ea221fb20747ecbffb4f6a2d
Author: annamthomas <anna at azul.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
A llvm/test/Transforms/LoopVectorize/X86/pr81872.ll
Log Message:
-----------
Precommit testcase for pr81872 (#84782)
Testcase shows miscompile when dropping disjoint flag from disjoint or
during vectorization.
Commit: 7dc4d5f6a0012d6a2485640f6c3c9ca388a02433
https://github.com/llvm/llvm-project/commit/7dc4d5f6a0012d6a2485640f6c3c9ca388a02433
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-shl.ll
M llvm/test/CodeGen/X86/combine-sra.ll
M llvm/test/CodeGen/X86/combine-srl.ll
Log Message:
-----------
[X86] Add AVX512 (x86-64-v4) coverage to generic shift combines tests
Commit: 6cd68c2f87832ef39eb502a20d358b4c7fa37b9e
https://github.com/llvm/llvm-project/commit/6cd68c2f87832ef39eb502a20d358b4c7fa37b9e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/test/CodeGen/X86/combine-sra.ll
M llvm/test/CodeGen/X86/combine-srl.ll
Log Message:
-----------
[X86] Add base SSE2 coverage to SRL/SRA combines tests
Commit: 81e20472a0c5a4a8edc5ec38dc345d580681af81
https://github.com/llvm/llvm-project/commit/81e20472a0c5a4a8edc5ec38dc345d580681af81
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
A cmake/Modules/LLVMVersion.cmake
M llvm/CMakeLists.txt
M runtimes/CMakeLists.txt
Log Message:
-----------
[cmake] Exposes LLVM version number in the runtimes. (#84641)
This allows sharing the LLVM version number in libc++.
Commit: 9a9aa41dea83039154601082b1aa2c56e35a5a17
https://github.com/llvm/llvm-project/commit/9a9aa41dea83039154601082b1aa2c56e35a5a17
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M lldb/docs/resources/build.rst
Log Message:
-----------
[LLDB][doc] Updates build instructions. (#84630)
Recently building libc++ requires building libunwind too. This updates
the LLDB instructions.
I noticed this recently and it was separately filed as
https://github.com/llvm/llvm-project/issues/84053
Commit: 501bc101c04675969ab673b247f2a58fa72bd09e
https://github.com/llvm/llvm-project/commit/501bc101c04675969ab673b247f2a58fa72bd09e
Author: karzan <61278770+karzanWang at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M lldb/source/Host/common/Editline.cpp
Log Message:
-----------
[lldb] Save the edited line before clearing it in Editline::PrintAsync (#84154)
If the `m_editor_status` is `EditorStatus::Editing`, PrintAsync clears
the currently edited line. In some situations, the edited line is not
saved. After the stream flushes, PrintAsync tries to display the unsaved
line, causing the loss of the edited line.
The issue arose while I was debugging REPRLRun in
[Fuzzilli](https://github.com/googleprojectzero/fuzzilli). I started
LLDB and attempted to set a breakpoint in libreprl-posix.c. I entered
`breakpoint set -f lib` and used the "tab" key for command completion.
After completion, the edited line was flushed, leaving a blank line.
Commit: 07d7b9c255078edc6f04bd4e68416bdf3e8735ab
https://github.com/llvm/llvm-project/commit/07d7b9c255078edc6f04bd4e68416bdf3e8735ab
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libc/test/src/string/memory_utils/CMakeLists.txt
M libc/test/src/string/memory_utils/op_tests.cpp
Log Message:
-----------
[libc] Fix forward arm32 builtbot (#84794)
Introduced by https://github.com/llvm/llvm-project/pull/83441.
Commit: bdbad0d07bb600301cb324e87a6be37ca4af591a
https://github.com/llvm/llvm-project/commit/bdbad0d07bb600301cb324e87a6be37ca4af591a
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M lldb/source/Core/DumpDataExtractor.cpp
M lldb/source/Expression/IRExecutionUnit.cpp
M lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
Log Message:
-----------
Turn off instruction flow control annotations by default (#84607)
Walter Erquinigo added optional instruction annotations for x86
instructions in 2022 for the `thread trace dump instruction` command,
and code to DisassemblerLLVMC to add annotations for instructions that
change flow control, v. https://reviews.llvm.org/D128477
This was added as an option to `disassemble`, and the trace dump command
enables it by default, but several other instruction dumpers were
changed to display them by default as well. These are only implemented
for Intel instructions, so our disassembly on other targets ends up
looking like
```
(lldb) x/5i 0x1000086e4
0x1000086e4: 0xa9be6ffc unknown stp x28, x27, [sp, #-0x20]!
0x1000086e8: 0xa9017bfd unknown stp x29, x30, [sp, #0x10]
0x1000086ec: 0x910043fd unknown add x29, sp, #0x10
0x1000086f0: 0xd11843ff unknown sub sp, sp, #0x610
0x1000086f4: 0x910c63e8 unknown add x8, sp, #0x318
```
instead of `disassemble`'s output style of
```
lldb`main:
lldb[0x1000086e4] <+0>: stp x28, x27, [sp, #-0x20]!
lldb[0x1000086e8] <+4>: stp x29, x30, [sp, #0x10]
lldb[0x1000086ec] <+8>: add x29, sp, #0x10
lldb[0x1000086f0] <+12>: sub sp, sp, #0x610
lldb[0x1000086f4] <+16>: add x8, sp, #0x318
```
Adding symbolic annotations for assembly instructions is something I'm
interested in too, because we may have users investigating a crash or
apparent-incorrect behavior who must debug optimized assembly and they
may not be familiar with the ISA they're using, so short of flipping
through a many-thousand-page PDF to understand each instruction, they're
lost. They don't write assembly or work at that level, but to understand
a bug, they have to understand what the instructions are actually doing.
But the annotations that exist today don't move us forward much on that
front - I'd argue that the flow control instructions on Intel are not
hard to understand from their names, but that might just be my personal
bias. Much trickier instructions exist in any event.
Displaying this information by default for all targets when we only have
one class of instructions on one target is not a good default.
Also, in 2011 when Greg implemented the `memory read -f i` (aka `x/i`)
command
```
commit 5009f9d5010a7e34ae15f962dac8505ea11a8716
Author: Greg Clayton <gclayton at apple.com>
Date: Thu Oct 27 17:55:14 2011 +0000
[...]
eFormatInstruction will print out disassembly with bytes and it will use the
current target's architecture. The format character for this is "i" (which
used to be being used for the integer format, but the integer format also has
"d", so we gave the "i" format to disassembly), the long format is
"instruction".
```
he had DumpDataExtractor's DumpInstructions print the bytes of the
instruction -- that's the first field we see above for the `x/5i` after
the address -- and this is only useful for people who are debugging the
disassembler itself, I would argue. I don't want this displayed by
default either.
tl;dr this patch removes both fields from `memory read -f -i` and I
think this is the right call today. While I'm really interested in
instruction annotation, I don't think `x/i` is the right place to have
it enabled by default unless it's really compelling on at least some of
our major targets.
Commit: 36a2752923a76f0b747bc35b7cd1bd1d1bf5bf05
https://github.com/llvm/llvm-project/commit/36a2752923a76f0b747bc35b7cd1bd1d1bf5bf05
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M utils/bazel/configure.bzl
Log Message:
-----------
[bazel] Grab correct version info after 81e20472a0c5a4a8edc5ec38dc345d580681af81
This is a bit awkward.
Commit: 866ac9a165d65606910987c119ebee6a85480192
https://github.com/llvm/llvm-project/commit/866ac9a165d65606910987c119ebee6a85480192
Author: annamthomas <anna at azul.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/X86/pr81872.ll
Log Message:
-----------
[LV] Address postcommit review for PR84782 (#84797)
This testcase was added to show miscompile in
https://github.com/llvm/llvm-project/issues/81872
Commit: 8467457afc61d70e881c9817ace26356ef757733
https://github.com/llvm/llvm-project/commit/8467457afc61d70e881c9817ace26356ef757733
Author: Bhuminjay Soni <Soni5Happy at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/test/Misc/warning-wall.c
A clang/test/Sema/return-type-mismatch.c
Log Message:
-----------
Add new flag -Wreturn-mismatch (#82872)
This pull request fixes #72116 where a new flag is introduced for
compatibility with GCC 14, the functionality of -Wreturn-type is
modified to split some of its behaviors into -Wreturn-mismatch
Fixes #72116
Commit: 034cc2f5d0abcf7a465665246f16a1b75fbde93a
https://github.com/llvm/llvm-project/commit/034cc2f5d0abcf7a465665246f16a1b75fbde93a
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/docs/GlobalISel/GenericOpcode.rst
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
A llvm/test/MachineVerifier/test_g_extract_subvector.mir
A llvm/test/MachineVerifier/test_g_insert_subvector.mir
Log Message:
-----------
[GISEL] Add G_INSERT_SUBVECTOR and G_EXTRACT_SUBVECTOR (#84538)
G_INSERT and G_EXTRACT are not sufficient to use to represent both
INSERT/EXTRACT on a subregister and INSERT/EXTRACT on a vector.
We would like to be able to INSERT/EXTRACT on vectors in cases that
INSERT/EXTRACT on vector subregisters are not sufficient, so we add
these opcodes.
I tried to do a patch where we treated G_EXTRACT as both
G_EXTRACT_SUBVECTOR and G_EXTRACT_SUBREG, but ran into an infinite loop
at this
[point](https://github.com/llvm/llvm-project/blob/8b5b294ec2cf876bc5eb5bd5fcb56ef487e36d60/llvm/lib/Target/RISCV/RISCVISelLowering.cpp#L9932)
in the SDAG equivalent code.
Commit: 2a3f27cce8983e5d6871b9ebb8f5e9dd91884f0c
https://github.com/llvm/llvm-project/commit/2a3f27cce8983e5d6871b9ebb8f5e9dd91884f0c
Author: Joe Nash <Sisyph at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/VOP2Instructions.td
M llvm/lib/Target/AMDGPU/VOPCInstructions.td
Log Message:
-----------
[AMDGPU][True16] Make NotHasTrue16BitInsts a True16Predicate (#84771)
NFC.
Test coverage on VOPC shows NotHasTrue16BitInsts on the pre-gfx11
instructions is necessary (we cannot use the default NoTrue16Predicate).
Update the VOP2 instructions in the same manner.
Commit: 725a0523a18ef1a75a6d4a010dc3debe1b08c9d1
https://github.com/llvm/llvm-project/commit/725a0523a18ef1a75a6d4a010dc3debe1b08c9d1
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/lib/Headers/emmintrin.h
M clang/lib/Headers/smmintrin.h
M clang/lib/Headers/xmmintrin.h
Log Message:
-----------
[Headers][X86] Add specific results to comparisons (#83316)
Some comparison intrinsics were described as returning the "result" without
specifying how. The "cmp" intrinsics return zero or all 1's in the
corresponding elements of a returned vector; the "com" intrinsics return
an integer 0 or 1.
Also removed some redundant information.
Commit: 212604698c0f265702ec9c9486fe5b74a6fc2ff7
https://github.com/llvm/llvm-project/commit/212604698c0f265702ec9c9486fe5b74a6fc2ff7
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/test/MC/AMDGPU/gfx10_asm_mubuf.s
M llvm/test/MC/AMDGPU/mtbuf-gfx10.s
M llvm/test/MC/Disassembler/AMDGPU/gfx10_mtbuf.txt
M llvm/test/MC/Disassembler/AMDGPU/gfx10_mubuf.txt
Log Message:
-----------
[AMDGPU] Add missing tests for GFX10 (t)buffer format d16 instructions (#84789)
Commit: 23be73208d63898611b81d4b93a0c254a40c879c
https://github.com/llvm/llvm-project/commit/23be73208d63898611b81d4b93a0c254a40c879c
Author: Changpeng Fang <changpeng.fang at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/DSInstructions.td
Log Message:
-----------
AMDGPU: Add an argument to DS_Real_gfx12 to disable alias, NFC (#84717)
This is for cased that we simply want to rename from ps.Mnemonic, but
ps.Mnemonic itself is not supported as an alias.
Commit: 5b4c35064760816e4c29921df8f7ff4f2621d4f9
https://github.com/llvm/llvm-project/commit/5b4c35064760816e4c29921df8f7ff4f2621d4f9
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M flang/runtime/command.cpp
Log Message:
-----------
[flang][unittests] Fix buffer underrun in LengthWithoutTrailingSpaces (#84382)
Account for the descriptor containing a zero-length string. Also, avoid
iterating backwards too far.
This was detected by address sanitizer.
Commit: 8846b91e15d4c8d280ee727c0f69b958f9b1440b
https://github.com/llvm/llvm-project/commit/8846b91e15d4c8d280ee727c0f69b958f9b1440b
Author: Jeff Niu <jeff at modular.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/CMakeLists.txt
M llvm/cmake/modules/AddLLVM.cmake
M llvm/docs/CMake.rst
Log Message:
-----------
Revert "[CMake][LIT] Add option to run lit testsuites in parallel" (#84813)
Reverts llvm/llvm-project#82899
Per the discussion on the PR, this needs more design and justification.
Commit: b4e0890458043ef486fdecba9aad65799ec0ab35
https://github.com/llvm/llvm-project/commit/b4e0890458043ef486fdecba9aad65799ec0ab35
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/stack_depot.h
Log Message:
-----------
[NFC] [scudo] move static_assert closer to class it relates to (#84257)
delete other static_assert
Commit: a8eb2f0dabacb334cbfc78eaffde9a75b1ba64a4
https://github.com/llvm/llvm-project/commit/a8eb2f0dabacb334cbfc78eaffde9a75b1ba64a4
Author: Egor Zhdan <e_zhdan at apple.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/lib/AST/DeclPrinter.cpp
M clang/test/AST/ast-print-objectivec.m
Log Message:
-----------
[Clang][AST] Print attributes of Obj-C interfaces
When pretty printing an Objective-C interface declaration, Clang
previously didn't print any attributes that are applied to the
declaration.
Commit: 337a20071518d647a0d453f93055817131aa15e9
https://github.com/llvm/llvm-project/commit/337a20071518d647a0d453f93055817131aa15e9
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/combined.h
Log Message:
-----------
[NFC] [scudo] Move static_assert to class it concerns (#84245)
Commit: 08a9207f947b8b022d70f8ee7eeeda7acc6aac76
https://github.com/llvm/llvm-project/commit/08a9207f947b8b022d70f8ee7eeeda7acc6aac76
Author: Usama Hameed <u_hameed at apple.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/InstrumentationRuntimeASanLibsanitizers.cpp
M lldb/source/Plugins/InstrumentationRuntime/Utility/ReportRetriever.cpp
Log Message:
-----------
[LLDB] ASanLibsanitizers Use `sanitizers_address_on_report` breakpoint (#84583)
symbol
This patch puts the default breakpoint on the
sanitizers_address_on_report symbol, and uses the old symbol as a backup
if the default case is not found
rdar://123911522
Commit: eaa71a97f9155ea9df33141ef2fb369dc8fc464f
https://github.com/llvm/llvm-project/commit/eaa71a97f9155ea9df33141ef2fb369dc8fc464f
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/lib/CodeGen/BackendUtil.cpp
A clang/test/CodeGen/remote-traps.c
Log Message:
-----------
[clang] Add optional pass to remove UBSAN traps using PGO (#84214)
With #83471 it reduces UBSAN overhead from 44% to 6%.
Measured as "Geomean difference" on "test-suite/MultiSource/Benchmarks"
with PGO build.
On real large server binary we see 95% of code is still instrumented,
with 10% -> 1.5% UBSAN overhead improvements. We can pass this test only
with subset of UBSAN, so base overhead is smaller.
We have followup patches to improve it even further.
Commit: d1d80cc3197faa4194cddcc79ff704b7d4c5b9e4
https://github.com/llvm/llvm-project/commit/d1d80cc3197faa4194cddcc79ff704b7d4c5b9e4
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/hip-binding.hip
Log Message:
-----------
[HIP] Make the new driver bundle outputs for device-only (#84534)
Summary:
The current behavior of HIP is that when --offload-device-only is set it
still bundles the outputs into a fat binary. Even though this is
different from how all the other targets handle this, it seems to be
dependned on by some tooling so just make it backwards compatible for
the `-fno-gpu-rdc` case.
Commit: 6d4aa9d70e4808498584cc61a295c0b93310196d
https://github.com/llvm/llvm-project/commit/6d4aa9d70e4808498584cc61a295c0b93310196d
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M bolt/lib/Core/DebugNames.cpp
A bolt/test/X86/Inputs/dwarf5-debug-names-ftu-ltu-mix-helper.s
A bolt/test/X86/Inputs/dwarf5-debug-names-ftu-ltu-mix-helper1.s
A bolt/test/X86/Inputs/dwarf5-df-debug-names-ftu-ltu-mix-main.s
A bolt/test/X86/dwarf5-df-main-debug-names-ftu-ltu-mix.test
Log Message:
-----------
[BOLT][DWWARF] Fix foreign TU index with local TUs (#84594)
The foreign TU list immediately follows the local TU list and they both
use the same index, so that if there are N local TU entries, the index
for the first foreign TU is N.
Changed so that the size of local TU is accounted for when setting
foreign TU index.
Commit: 6aef8dfe440c8234ce491dabb111a55b89754b4e
https://github.com/llvm/llvm-project/commit/6aef8dfe440c8234ce491dabb111a55b89754b4e
Author: amilendra <amilendra.kodithuwakku at arm.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libcxx/test/libcxx/atomics/atomics.align/align.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_all.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_one.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait_explicit.pass.cpp
M libcxx/utils/libcxx/test/features.py
Log Message:
-----------
[libcxx] Update 128-bit-atomics feature test (#83841)
The `128-bit-atomics` libcxx feature is incorrectly named because tests
that are Xfailed with it is really using `int[128]`. Additionally,
because toolchain support for that feature is determined based on a much
smaller size (`char[16]`), tests would execute incorrectly without
required toolchain support.
So, rename `128-bit-atomics` as `1024-bit-atomics`, and use an
appropriate type to check for the presence of the feature.
Commit: 18f49cf2e69676497cccc81ad5f5296fedcde338
https://github.com/llvm/llvm-project/commit/18f49cf2e69676497cccc81ad5f5296fedcde338
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libcxx/test/std/experimental/simd/simd.class/simd_ctor_conversion.pass.cpp
Log Message:
-----------
[libc++] Remove XFAIL for SIMD in optimized build (#84767)
It seems that updating the compiler in the CI resolved the issue, which
causes the test to be XPASSing now.
Fixes #74327
Commit: d2e57c5c36d9b084f804cfd96a47472e23d05cac
https://github.com/llvm/llvm-project/commit/d2e57c5c36d9b084f804cfd96a47472e23d05cac
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libcxx/test/libcxx/clang_modules_include.gen.py
Log Message:
-----------
[libc++] Re-enable the clang_modules_include test for Objective-C++ (#66801)
This reverts commit aa60b2687, which was a temporary workaround.
The underlying issue was fixed in Clang via c2c840bd92cf.
This was originally https://reviews.llvm.org/D158694.
Commit: 42ee286e51260286c59fa1186d0e56ad0f446054
https://github.com/llvm/llvm-project/commit/42ee286e51260286c59fa1186d0e56ad0f446054
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
Log Message:
-----------
Fixing test from 8467457afc61d70e881c9817ace26356ef757733
The clangd test was testing the previous diagnostic logic and now it's
testing with the new warning flag.
Commit: a70d7298818aae94ee62cd50c3ba195aaa10acb1
https://github.com/llvm/llvm-project/commit/a70d7298818aae94ee62cd50c3ba195aaa10acb1
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M flang/include/flang/Evaluate/integer.h
Log Message:
-----------
[flang] Avoid left shifts of negative signed values (#84786)
Shifting left a signed, negative value is an undefined behavior in C++.
This was detected by the undefined behavior sanitizer.
Commit: 1def98d9f2eb2ae39e774369693e6f2f74551b7f
https://github.com/llvm/llvm-project/commit/1def98d9f2eb2ae39e774369693e6f2f74551b7f
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M flang/lib/Parser/token-sequence.cpp
Log Message:
-----------
[flang] Avoid forming a reference from null pointer (#84787)
Doing so is an undefined behavior.
This was detected by the undefined behavior sanitizer.
Commit: a25fa92d870a5cbb3eeccdc7458d1bc6834b695a
https://github.com/llvm/llvm-project/commit/a25fa92d870a5cbb3eeccdc7458d1bc6834b695a
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libc/test/include/CMakeLists.txt
A libc/test/include/stdbit_stub.h
A libc/test/include/stdbit_test.c
M libc/test/include/stdbit_test.cpp
Log Message:
-----------
[libc][stdbit] Add C tests for stdbit generic macros. (#84670)
Currently there is no tests for generic macros of generated `stdbit.h`
header in C, and it is easy to make typo mistakes as in
https://github.com/llvm/llvm-project/issues/84658. In this patch, we
add a simple test for them in C.
Commit: 884b051a42896e94dc6032013e10483d84910f27
https://github.com/llvm/llvm-project/commit/884b051a42896e94dc6032013e10483d84910f27
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/TypePromotion.cpp
M llvm/test/CodeGen/AArch64/and-mask-removal.ll
M llvm/test/CodeGen/AArch64/signed-truncation-check.ll
M llvm/test/CodeGen/AArch64/typepromotion-overflow.ll
M llvm/test/CodeGen/RISCV/typepromotion-overflow.ll
M llvm/test/Transforms/TypePromotion/ARM/icmps.ll
M llvm/test/Transforms/TypePromotion/ARM/wrapping.ll
Log Message:
-----------
Recommit "[TypePromotion] Support positive addition amounts in isSafeWrap. (#81690)"
With special case with Add constant is 0.
Original message:
We can support these by changing the sext promotion to -zext(-C) and
replacing a sgt check with ugt. Reframing the logic in terms of how the
unsigned range are affected. More comments in the patch.
The new cases check isLegalAddImmediate to avoid some
regressions in lit tests.
Commit: 5feaef63c08b6fefb6b0eaff2270ccb14740cca2
https://github.com/llvm/llvm-project/commit/5feaef63c08b6fefb6b0eaff2270ccb14740cca2
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenTBAA.cpp
M clang/test/CodeGen/tbaa-struct.cpp
Log Message:
-----------
[TBAA] Generate tbaa.struct single field with char tag for unions. (#84370)
At the moment,distinct fields for each union member are generated. When
copying a union, we don't know which union member is active, so there's
no benefit from recording the different fields. It can result in
converting tbaa.struct fields to incorrect tbaa nodes when extracting
fields.
PR: https://github.com/llvm/llvm-project/pull/84370
Commit: 94c988bcfdea596e5c9078be8ec28688eb0d96a3
https://github.com/llvm/llvm-project/commit/94c988bcfdea596e5c9078be8ec28688eb0d96a3
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/CodeGen/GlobalMerge.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMSubtarget.cpp
M llvm/lib/Target/CSKY/CSKYISelLowering.cpp
M llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/M68k/M68kSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/SystemZ/SystemZSubtarget.cpp
M llvm/lib/Target/TargetMachine.cpp
M llvm/lib/Target/VE/VEISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/X86/X86Subtarget.cpp
Log Message:
-----------
[NFC] Remove unused parameter from shouldAssumeDSOLocal()
Commit: 6462eadbd316aed1b1074ed73bcaf1698886bba1
https://github.com/llvm/llvm-project/commit/6462eadbd316aed1b1074ed73bcaf1698886bba1
Author: Adrian Prantl <adrian-prantl at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
M lldb/source/Core/ValueObjectVariable.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Symbol/CompilerType.cpp
A lldb/test/API/functionalities/valobj_errors/Makefile
A lldb/test/API/functionalities/valobj_errors/TestValueObjectErrors.py
A lldb/test/API/functionalities/valobj_errors/hidden.c
A lldb/test/API/functionalities/valobj_errors/main.c
M lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_declaration-with-children.s
M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-missing-signature.test
Log Message:
-----------
Report back errors in GetNumChildren() (#84265)
This is a proof-of-concept patch that illustrates how to use the
Expected return values to surface rich error messages all the way up
to the ValueObjectPrinter.
This is the final patch in the series that includes
https://github.com/llvm/llvm-project/pull/83501 and
https://github.com/llvm/llvm-project/pull/84219
Commit: 4628e33a7762384180a72cc9074a7ec49fbbdb95
https://github.com/llvm/llvm-project/commit/4628e33a7762384180a72cc9074a7ec49fbbdb95
Author: Bill Wendling <morbo at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[NFC][docs] Rename duplicate label to something unique
Commit: 4d21e75210d936d4f05e8aa9ea33beb552cd19b1
https://github.com/llvm/llvm-project/commit/4d21e75210d936d4f05e8aa9ea33beb552cd19b1
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/windows/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/FPUtil/generic/FMod.h
M libc/src/math/CMakeLists.txt
A libc/src/math/fmodf128.h
A libc/src/math/fmodl.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/fmodf.cpp
A libc/src/math/generic/fmodf128.cpp
A libc/src/math/generic/fmodl.cpp
M libc/test/src/math/exhaustive/fmod_generic_impl_test.cpp
M libc/test/src/math/performance_testing/BinaryOpSingleOutputPerf.h
M libc/test/src/math/performance_testing/CMakeLists.txt
A libc/test/src/math/performance_testing/fmodf128_perf.cpp
A libc/test/src/math/performance_testing/fmodl_perf.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/fmodf128_test.cpp
A libc/test/src/math/smoke/fmodl_test.cpp
Log Message:
-----------
[libc][math][c23] Add fmodl and fmodf128 math functions. (#84600)
- Allow `FMod` template to have different computational types and make
it work for 80-bit long double.
- Switch to use `uint64_t` as the intermediate computational types for
`float`, significantly reduce the latency of `fmodf` when the exponent
difference is large.
Commit: f4c1e8747b33815969e60a53cab3dac4d0f55f6c
https://github.com/llvm/llvm-project/commit/f4c1e8747b33815969e60a53cab3dac4d0f55f6c
Author: David Benjamin <davidben at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libcxx/include/string_view
Log Message:
-----------
[libc++][hardening] Reclassify string_view(ptr, len)'s size assertion (#79297)
The comment makes this error condition sound less problematic than it
is. If the length does not match the pointer's bounds, all
bounds-checking in string_view goes wrong. A length over PTRDIFF_MAX
cannot possibly be a correct bounds and was mostly an underflowed
negative number cast to a size_t.
The documentation for _LIBCPP_ASSERT_VALID_INPUT_RANGE discusses ranges
being valid, including an iterator and a count, which seemed appropriate
here.
Commit: f832beebda6d31fef01a8cb680b82df33c666eef
https://github.com/llvm/llvm-project/commit/f832beebda6d31fef01a8cb680b82df33c666eef
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/CMakeLists.txt
M flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/include/flang/Optimizer/Dialect/FIRDialect.h
M flang/include/flang/Optimizer/Dialect/FIRDialect.td
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Dialect/FIRTypes.td
M flang/lib/Optimizer/Dialect/FIRDialect.cpp
Log Message:
-----------
[flang][NFC] Use the tablegen definition for FIR dialect (#84822)
FIROpsDialect has been declared manually with a class inheriting from
the MLIR Dialect class. Another declaration is done using tablegen here
`flang/include/flang/Optimizer/Dialect/FIRDialect.td`. This patch merge
the two declaration so we can use the tablegen generated class for all
the FIROpsDialect needs.
This is part of a series of patch to bring FIR up to date with the
current MLIR infra.
Commit: f19d9e1617292a95b665171574630b8674d3ae1e
https://github.com/llvm/llvm-project/commit/f19d9e1617292a95b665171574630b8674d3ae1e
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
A llvm/test/Analysis/ValueTracking/knownbits-shift.ll
Log Message:
-----------
[KnownBits] Add test for computing more information for `lshr`/`ashr` with `exact` flag; NFC
Commit: a9d913ebcd567ad14ffdc8c8684c4f0611e1e2da
https://github.com/llvm/llvm-project/commit/a9d913ebcd567ad14ffdc8c8684c4f0611e1e2da
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/include/llvm/Support/KnownBits.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/Support/KnownBits.cpp
Log Message:
-----------
[KnownBits] Add API support for `exact` in `lshr`/`ashr`; NFC
Commit: d81db0e5f5b1404ff4813af3050d671528ad45cc
https://github.com/llvm/llvm-project/commit/d81db0e5f5b1404ff4813af3050d671528ad45cc
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Support/KnownBits.cpp
M llvm/test/Analysis/ValueTracking/knownbits-shift.ll
M llvm/unittests/Support/KnownBitsTest.cpp
Log Message:
-----------
[KnownBits] Implement knownbits `lshr`/`ashr` with exact flag
The exact flag basically allows us to set an upper bound on shift
amount when we have a known 1 in `LHS`.
Typically we deduce exact using knownbits (on non-exact incoming
shifts), so this is particularly impactful, but may be useful in some
circumstances.
Closes #84254
Commit: 65fd664daf4fb283d9a09e01f19709b38b99173a
https://github.com/llvm/llvm-project/commit/65fd664daf4fb283d9a09e01f19709b38b99173a
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M .ci/monolithic-linux.sh
M .ci/monolithic-windows.sh
Log Message:
-----------
Run pre-merge build with -k 0 to ensure all tests runs (#84828)
The -k option allows to continue the build after failures as much as
possible. This is useful here because when we run
> ninja check-llvm check-clang
we would like the clang tests to run even if there is a failure in a
llvm tests.
The downside is that a build failure in one file that would prevent from
running any test does not prevent from building more targets, wasting
build resources potentially.
Fixes #83371
Commit: 31ffdb56b4df9b772d763dccabbfde542545d695
https://github.com/llvm/llvm-project/commit/31ffdb56b4df9b772d763dccabbfde542545d695
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
A llvm/test/Transforms/ArgumentPromotion/aliasing-and-non-aliasing-loads-with-clobber.ll
Log Message:
-----------
[ArgPromotion] Add test case for #84807.
Test case for https://github.com/llvm/llvm-project/issues/84807,
showing a mis-compile in ArgPromotion.
Commit: 0f0f0ffc750b5d1364d20b8ecd3f070e9e816ecf
https://github.com/llvm/llvm-project/commit/0f0f0ffc750b5d1364d20b8ecd3f070e9e816ecf
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Target/VE/VEISelLowering.cpp
Log Message:
-----------
[NFC] Remove unused variable after 94c988bc
Commit: 3707c540d23a5684a1c37b0f7e41c1d8ed7f1f8a
https://github.com/llvm/llvm-project/commit/3707c540d23a5684a1c37b0f7e41c1d8ed7f1f8a
Author: jimingham <jingham at apple.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M lldb/source/Core/ValueObject.cpp
M lldb/test/API/python_api/value/TestValueAPI.py
M lldb/test/API/python_api/value/main.c
Log Message:
-----------
Make ValueObject::Cast work for casts from smaller to larger structs in the cases where this currently can work. (#84588)
The ValueObjectConstResult classes that back expression result variables
play a complicated game with where the data for their values is stored.
They try to make it appear as though they are still tied to the memory
in the target into which their value was written when the expression is
run, but they also keep a copy in the Host which they use after the
value is made (expression results are "history values" so that's how we
make sure they have "the value at the time of the expression".)
However, that means that if you ask them to cast themselves to a value
bigger than their original size, they don't have a way to get more
memory for that purpose. The same thing is true of ValueObjects backed
by DataExtractors, the data extractors don't know how to get more data
than they were made with in general.
The only place where we actually ask ValueObjects to sample outside
their captured bounds is when you do ValueObject::Cast from one
structure type to a bigger structure type. In
https://reviews.llvm.org/D153657 I handled this by just disallowing
casts from one structure value to a larger one. My reasoning at the time
was that the use case for this was to support discriminator based C
inheritance schemes, and you can't directly cast values in C, only
pointers, so this was not a natural way to handle those types. It seemed
logical that since you would have had to start with pointers in the
implementation, that's how you would write your lldb introspection code
as well.
Famous last words...
Turns out there are some heavy users of the SB API's who were relying on
this working, and this is a behavior change, so this patch makes this
work in the cases where it used to work before, while still disallowing
the cases we don't know how to support.
Note that if you had done this Cast operation before with either
expression results or value objects from data extractors, lldb would not
have returned the correct results, so the cases this patch outlaws are
ones that actually produce invalid results. So nobody should be using
Cast in these cases, or if they were, this patch will point out the bug
they hadn't yet noticed.
Commit: 762cbd82da4debf8b026a4eb4ade66720acf3182
https://github.com/llvm/llvm-project/commit/762cbd82da4debf8b026a4eb4ade66720acf3182
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/test/include/CMakeLists.txt
Log Message:
-----------
[libc][NFC] Do not add libc test framework and -fno-rtti to C tests. (#84837)
Commit: c93c76b562784926b22a69d3f82a5032dcb4a274
https://github.com/llvm/llvm-project/commit/c93c76b562784926b22a69d3f82a5032dcb4a274
Author: Martin Storsjö <martin at martin.st>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M lld/COFF/DLL.cpp
M lld/test/COFF/delayimports-armnt.yaml
Log Message:
-----------
[LLD] [COFF] Set the right alignment for DelayDirectoryChunk (#84697)
This makes a difference when linking executables with delay loaded
libraries for arm32; the delay loader implementation can load data from
the registry with instructions that assume alignment.
This issue does not show up when linking in MinGW mode, because a
PseudoRelocTableChunk gets injected, which also sets alignment, even if
the chunk itself is empty.
Commit: 60e562d11aeca8020de8d50ded7f0ba9e10e8843
https://github.com/llvm/llvm-project/commit/60e562d11aeca8020de8d50ded7f0ba9e10e8843
Author: Quinn Dawkins <quinn.dawkins at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp
M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
Log Message:
-----------
[mlir][linalg] Add unit dim folding pattern for tensor.pad (#84684)
Unit extent dims that are not padded by a tensor.pad can be folded away.
When folding unit extent dims of surrounding linalg ops, this increases
the chance that the iteration space of the linalg op will align with
nearby pad ops, improving fusion opportunities.
Commit: 6397f223c456ce5a0cc246cd81673794a4860fd1
https://github.com/llvm/llvm-project/commit/6397f223c456ce5a0cc246cd81673794a4860fd1
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M clang/test/CodeGen/remote-traps.c
Log Message:
-----------
[clang] Fix test after #84214
Commit: a950c06d9864ec34d401702f398dc09fbec87891
https://github.com/llvm/llvm-project/commit/a950c06d9864ec34d401702f398dc09fbec87891
Author: Connor Sughrue <55301806+cpsughrue at users.noreply.github.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M .ci/monolithic-linux.sh
M .ci/monolithic-windows.sh
Log Message:
-----------
[CI] Run pre-merge build with -k 0 placed after "${BUILD_DIR}" (#84846)
#84828 added `-k 0` to pre-merge CI so that if one job fails the others
would continue building. This pull request fixes the location of `-k 0`
in the ninja command line.
Resolves #84842 and #83371
Commit: 83c9244ae4bee8a494a7abe313a6e9f22ac4be55
https://github.com/llvm/llvm-project/commit/83c9244ae4bee8a494a7abe313a6e9f22ac4be55
Author: Yinying Li <yinyingli at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M mlir/test/Integration/Dialect/SparseTensor/CPU/concatenate_dim_0_permute.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/concatenate_dim_1.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/concatenate_dim_1_permute.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/dual_sparse_conv_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/reshape_dot.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_block3d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_cast.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_cmp.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_dim.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_foreach.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_collapse_shape.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_constant_to_sparse_tensor.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_1d_nwc_wcf.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_55.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_nchw_fchw.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_nhwc_hwcf.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d_ndhwc_dhwcf.mlir
Log Message:
-----------
[mlir][sparse] Migrate more tests to use sparse_tensor.print (#84833)
Continuous efforts following #84249.
Commit: ad23127222fe23e28ac3deaa16f3ae64d13b7b6f
https://github.com/llvm/llvm-project/commit/ad23127222fe23e28ac3deaa16f3ae64d13b7b6f
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/lib/Transforms/Utils/Inliner.cpp
A mlir/test/Transforms/inlining-recursive-self.mlir
Log Message:
-----------
[mlir][inline] avoid inline self-recursive function (#83092)
Commit: 8d220d109d28dac352c563ab062fb72132b7eca1
https://github.com/llvm/llvm-project/commit/8d220d109d28dac352c563ab062fb72132b7eca1
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M .github/workflows/release-binaries.yml
Log Message:
-----------
workflows: Fix incorrect input name in release-binaries.yml (#84604)
In aa02002491333c42060373bc84f1ff5d2c76b4ce the input name was changed
from tag to release-version, but the code was never updated.
Commit: d125d5576ec85eb2517ced0fe4b68da7b8209d0c
https://github.com/llvm/llvm-project/commit/d125d5576ec85eb2517ced0fe4b68da7b8209d0c
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/utils/git/github-automation.py
Log Message:
-----------
github-automation.py: Set maintainer_can_modify=True for backport PRs (#84819)
This makes it possible to rebase the branch using the Web UI, which
makes it easier to manually merge the PRs. Manual merge is required when
squash merge won't preserve author information of the backport.
Commit: 75790dd2d0cff5b0c3e543e256f6c8f0fb5d0689
https://github.com/llvm/llvm-project/commit/75790dd2d0cff5b0c3e543e256f6c8f0fb5d0689
Author: Daniel Sanders <daniel_l_sanders at apple.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/IR/BasicBlock.cpp
Log Message:
-----------
[RemoveDIs] Fix nullptr dereference in getFirstNonPHIIt() (#84595)
getFirstNonPHI() returns nullptr for blocks that lack a non-phi
(including a terminator) but getFirstNonPHIIt() may dereference its
result unconditionally. Return end() instead.
This came up for us downstream while correcting our getFirstNonPHI()
calls that intended to return the position after the phi's but before
the debug info to getFirstNonPHIIt(). The pass in question is populating
new BB's and hasn't added terminators yet.
Commit: 9688a6dae4de16e79ba677846df32099ec012627
https://github.com/llvm/llvm-project/commit/9688a6dae4de16e79ba677846df32099ec012627
Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M mlir/lib/Conversion/NVVMToLLVM/CMakeLists.txt
Log Message:
-----------
[MLIR] Add missing MLIRFuncDialect dep to MLIRNVVMToLLVM (#84548)
This fixes the following failure when doing a clean build (in particular
no .ninja* lying around) of lib/libMLIRNVVMToLLVM.a only:
```
In file included from mlir/lib/Conversion/NVVMToLLVM/NVVMToLLVM.cpp:18:
mlir/include/mlir/Dialect/Func/IR/FuncOps.h:29:10: fatal error: mlir/Dialect/Func/IR/FuncOps.h.inc: No such file or directory
```
Commit: 36cf982d6cddaa65da24fcb853295a99a9154a53
https://github.com/llvm/llvm-project/commit/36cf982d6cddaa65da24fcb853295a99a9154a53
Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M mlir/lib/Dialect/AMDGPU/Transforms/CMakeLists.txt
Log Message:
-----------
[MLIR] Add missing MLIRFuncDialect dep to MLIRAMDGPUTransforms (#84550)
This fixes the following failure when doing a clean build (in particular
no .ninja* lying around) of lib/libMLIRAMDGPUTransforms.a only:
```
In file included from mlir/lib/Dialect/AMDGPU/Transforms/OptimizeSharedMemory.cpp:21:
mlir/include/mlir/Dialect/Func/IR/FuncOps.h:29:10: fatal error: mlir/Dialect/Func/IR/FuncOps.h.inc: No such file or directory
```
Commit: b2ea04673b782f95ac9841f87df8bb5f7b561067
https://github.com/llvm/llvm-project/commit/b2ea04673b782f95ac9841f87df8bb5f7b561067
Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M mlir/lib/Dialect/OpenMP/CMakeLists.txt
Log Message:
-----------
[MLIR] Add missing omp_gen dep to MLIROpenMPDialect (#84552)
This fixes the following failure when doing a clean build (in particular
no .ninja* lying around) of lib/libMLIROpenMPDialect.a only:
```
In file included from mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp:29:
llvm/include/llvm/Frontend/OpenMP/OMPConstants.h:20:10: fatal error: llvm/Frontend/OpenMP/OMP.h.inc: No such file or directory
```
Commit: 8d61f82bd3676bc541edfad1014e3ed599cc1390
https://github.com/llvm/llvm-project/commit/8d61f82bd3676bc541edfad1014e3ed599cc1390
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M lld/ELF/Arch/RISCV.cpp
Log Message:
-----------
[lld][RISCV] Avoid second map lookup in mergeArch. NFC (#84687)
Instead of using find and then inserting into the map, we can use
insert and fix up the version using the iterator if the insert fails.
Commit: 67ef4ae2c3cc4e2700e873aa6f251b70a09c3fea
https://github.com/llvm/llvm-project/commit/67ef4ae2c3cc4e2700e873aa6f251b70a09c3fea
Author: James Newling <james.newling at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
M mlir/include/mlir/Dialect/Utils/ReshapeOpsUtils.h
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/test/Dialect/MemRef/canonicalize.mlir
M mlir/test/Dialect/MemRef/invalid.mlir
M mlir/test/Dialect/Tensor/canonicalize.mlir
M mlir/test/Dialect/Tensor/invalid.mlir
Log Message:
-----------
[MLIR][Tensor,MemRef] Fold expand_shape and collapse_shape if identity (#80658)
Before: op verifiers failed if the input and output ranks were the same
(i.e. no expansion or collapse). This behavior requires users of these
shape ops to verify manually that they are not creating identity
versions of these ops every time they build them -- problematic. This PR
removes this strict verification, and introduces folders for the the
identity cases.
The PR also removes the special case handling of rank-0 tensors for
expand_shape and collapse_shape, there doesn't seem to be any reason to
treat them differently.
Commit: 672fc89347b831f2845e7825affc30c865758270
https://github.com/llvm/llvm-project/commit/672fc89347b831f2845e7825affc30c865758270
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Log Message:
-----------
[NFC] [hwasan] factor out selective instrumentation logic (#84408)
sanitizeFunction is long enough already.
Commit: 41658bafb70680d0aafb7e79c7f694b8c2a5217d
https://github.com/llvm/llvm-project/commit/41658bafb70680d0aafb7e79c7f694b8c2a5217d
Author: David Benjamin <davidben at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libcxx/include/__hash_table
A libcxx/test/libcxx/containers/unord/unord.map/assert.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/assert.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/assert.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/assert.local_iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/debug.iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/debug.iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/debug.local_iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/debug.local_iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/assert.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/assert.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/assert.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/assert.local_iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/debug.iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/debug.iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/debug.local_iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/debug.local_iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/assert.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/assert.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/assert.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/assert.local_iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/debug.iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/debug.iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/debug.local_iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/debug.local_iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/assert.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/assert.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/assert.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/assert.local_iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/debug.iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/debug.iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/debug.local_iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/debug.local_iterator.increment.pass.cpp
Log Message:
-----------
[libc++][hardening] Add iterator validity checks on unordered containers (#80230)
These are simply null checks, so use `_LIBCPP_ASSERT_NON_NULL`. This
allows us to restore a bunch of the old debug tests. I've extended them
to also cover the const iterators, as those run through different
codepaths than the const ones.
This does the easier (and less important) half of #80212.
Commit: 2a3068455716a1a37da9155d4d96107901bba4a8
https://github.com/llvm/llvm-project/commit/2a3068455716a1a37da9155d4d96107901bba4a8
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms] Use correct listener in dialect conversion (#84861)
There was a typo in the dialect conversion: `RewriterBase::Listener`
should be used instead of `ForwardingListener`.
Commit: 26722f5b61575fb0e58ff2933e7bea03353ff441
https://github.com/llvm/llvm-project/commit/26722f5b61575fb0e58ff2933e7bea03353ff441
Author: Sayan Saha <sayan.jubiee at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/test/Dialect/MemRef/canonicalize.mlir
M mlir/test/Dialect/Tensor/canonicalize.mlir
Log Message:
-----------
[MLIR] Fix incorrect memref::DimOp canonicalization, add tensor::DimOp canonicalization (#84225)
The current canonicalization of `memref.dim` operating on the result of
`memref.reshape` into `memref.load` is incorrect as it doesn't check
whether the `index` operand of `memref.dim` dominates the source
`memref.reshape` op. It always introduces `memref.load` right after
`memref.reshape` to ensure the `memref` is not mutated before the
`memref.load` call. As a result, the following error is observed:
```
$> mlir-opt --canonicalize input.mlir
func.func @reshape_dim(%arg0: memref<*xf32>, %arg1: memref<?xindex>, %arg2: index) -> index {
%c4 = arith.constant 4 : index
%reshape = memref.reshape %arg0(%arg1) : (memref<*xf32>, memref<?xindex>) -> memref<*xf32>
%0 = arith.muli %arg2, %c4 : index
%dim = memref.dim %reshape, %0 : memref<*xf32>
return %dim : index
}
```
results in:
```
dominator.mlir:22:12: error: operand #1 does not dominate this use
%dim = memref.dim %reshape, %0 : memref<*xf32>
^
dominator.mlir:22:12: note: see current operation: %1 = "memref.load"(%arg1, %2) <{nontemporal = false}> : (memref<?xindex>, index) -> index
dominator.mlir:21:10: note: operand defined here (op in the same block)
%0 = arith.muli %arg2, %c4 : index
```
Properly fixing this issue requires a dominator analysis which is
expensive to run within a canonicalization pattern. So, this patch fixes
the canonicalization pattern by being more strict/conservative about the
legality condition in which we perform this canonicalization.
The more general pattern is also added to `tensor.dim`. Since tensors are
immutable we don't need to worry about where to introduce the
`tensor.extract` call after canonicalization.
Commit: e40cabfea48c617fe6efaace588e80474bc80fe8
https://github.com/llvm/llvm-project/commit/e40cabfea48c617fe6efaace588e80474bc80fe8
Author: lifengxiang1025 <lifengxiang.1025 at bytedance.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
A llvm/test/ThinLTO/X86/summary-matching.ll
Log Message:
-----------
[MemProf] Match function's summary and definition strictly (#83665)
Problem description:
https://github.com/llvm/llvm-project/pull/81008#issuecomment-1933468520
Solution:
https://github.com/llvm/llvm-project/pull/81008#issuecomment-1934192548
(choose plan2)
Commit: e4a546756c15a609be2f65d99c8b2be13ca9ddbf
https://github.com/llvm/llvm-project/commit/e4a546756c15a609be2f65d99c8b2be13ca9ddbf
Author: Walter Erquinigo <a20012251 at gmail.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M mlir/include/mlir/Tools/lsp-server-support/SourceMgrUtils.h
Log Message:
-----------
[MLIR][LSP][NFC] Fix a header guard (#84862)
This header guard is wrong and conflicts with the one from Transport.h
Commit: a83f8e0314fcdda162e54cbba1c9dcf230dff093
https://github.com/llvm/llvm-project/commit/a83f8e0314fcdda162e54cbba1c9dcf230dff093
Author: David Benjamin <davidben at google.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M libcxx/include/__iterator/bounded_iter.h
A libcxx/test/libcxx/containers/views/views.span/assert.iterator-indexing.pass.cpp
R libcxx/test/libcxx/containers/views/views.span/debug.iterator-indexing.pass.cpp
M libcxx/test/libcxx/iterators/bounded_iter/dereference.pass.cpp
A libcxx/test/libcxx/strings/string.view/string.view.iterators/assert.iterator-indexing.pass.cpp
R libcxx/test/libcxx/strings/string.view/string.view.iterators/debug.iterator-indexing.pass.cpp
Log Message:
-----------
[libc++][hardening] Check bounds on arithmetic in __bounded_iter (#78876)
Previously, `__bounded_iter` only checked `operator*`. It allowed the
pointer to go out of bounds with `operator++`, etc., and relied on
`operator*` (which checked `begin <= current < end`) to handle
everything. This has several unfortunate consequences:
First, pointer arithmetic is UB if it goes out of bounds. So by the time
`operator*` checks, it may be too late and the optimizer may have done
something bad. Checking both operations is safer.
Second, `std::copy` and friends currently bypass bounded iterator
checks. I think the only hope we have to fix this is to key on `iter +
n` doing a check. See #78771 for further discussion. Note this PR is not
sufficient to fix this. It adds the output bounds check, but ends up
doing it after the `memmove`, which is too late.
Finally, doing these checks is actually *more* optimizable. See #78829,
which is fixed by this PR. Keeping the iterator always in bounds means
`operator*` can rely on some invariants and only needs to check `current
!= end`. This aligns better with common iterator patterns, which use
`!=` instead of `<`, so it's easier to delete checks with local
reasoning.
See https://godbolt.org/z/vEWrWEf8h for how this new `__bounded_iter`
impacts compiler output. The old `__bounded_iter` injected checks inside
the loops for all the `sum()` functions, which not only added a check
inside a loop, but also impeded Clang's vectorization. The new
`__bounded_iter` allows all the checks to be optimized out and we emit
the same code as if it wasn't here.
Not everything is ideal however. `add_and_deref` ends up emitting two
comparisons now instead of one. This is because a missed optimization in
Clang. I've filed #78875 for that. I suspect (with no data) that this PR
is still a net performance win because impeding ranged-for loops is
particularly egregious. But ideally we'd fix the optimizer and make
`add_and_deref` fine too.
There's also something funny going on with `std::ranges::find` which I
have not yet figured out yet, but I suspect there are some further
missed optimization opportunities.
Fixes #78829.
(CC @danakj)
Commit: d02d8df0cd797342f7042440e07133e99ad5e0a2
https://github.com/llvm/llvm-project/commit/d02d8df0cd797342f7042440e07133e99ad5e0a2
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
Log Message:
-----------
[clang][Interp] Implement _Complex negation
Factor complex unary operations into their own function.
Commit: 71590e7d1ec29c3ba9f6f5b4cfe36345a7ccd25b
https://github.com/llvm/llvm-project/commit/71590e7d1ec29c3ba9f6f5b4cfe36345a7ccd25b
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
A llvm/test/MC/Disassembler/X86/apx/ctest.txt
A llvm/test/MC/X86/apx/ctest-att.s
A llvm/test/MC/X86/apx/ctest-intel.s
Log Message:
-----------
[X86][test] Add missing enc/dec tests for CTEST
These tests were accidentally missed in #83863
Commit: e89b4bcf32b8f6ddce9d7e95659e9f092a55c021
https://github.com/llvm/llvm-project/commit/e89b4bcf32b8f6ddce9d7e95659e9f092a55c021
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86.td
M llvm/test/CodeGen/X86/bypass-slow-division-tune.ll
Log Message:
-----------
[X86] Remove SlowDivide tuning from GRTTuning (#84676)
The DIV32/64 throughput was improved since Goldmont in the Atom
architecture. The Alder Lake-E shows similar number too. So we shouldn't
add such tunings to Gracemont and later products.
Checked from Agner Fog's table and uops.info.
Commit: f95710c76519c611868c16f92586b6d0baedad54
https://github.com/llvm/llvm-project/commit/f95710c76519c611868c16f92586b6d0baedad54
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-11 (Mon, 11 Mar 2024)
Changed paths:
M flang/include/flang/Evaluate/integer.h
M flang/include/flang/Evaluate/real.h
M flang/lib/Evaluate/fold-implementation.h
Log Message:
-----------
[flang] Fixed compiler build on glibc 2.17 systems after 3149c93. (#84873)
Commit: 1d900e298449d43547312364751f730b7a0d07d1
https://github.com/llvm/llvm-project/commit/1d900e298449d43547312364751f730b7a0d07d1
Author: Dhruv Chawla (work) <dhruvc at nvidia.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/select-build-vector.mir
M llvm/test/CodeGen/AArch64/GlobalISel/select-shufflevec-undef-mask-elt.mir
M llvm/test/CodeGen/AArch64/aarch64-bif-gen.ll
M llvm/test/CodeGen/AArch64/aarch64-bit-gen.ll
M llvm/test/CodeGen/AArch64/abs.ll
M llvm/test/CodeGen/AArch64/arm64-dup.ll
M llvm/test/CodeGen/AArch64/arm64-neon-copy.ll
M llvm/test/CodeGen/AArch64/bitcast.ll
M llvm/test/CodeGen/AArch64/bswap.ll
M llvm/test/CodeGen/AArch64/fabs.ll
M llvm/test/CodeGen/AArch64/faddsub.ll
M llvm/test/CodeGen/AArch64/fcmp.ll
M llvm/test/CodeGen/AArch64/fcopysign.ll
M llvm/test/CodeGen/AArch64/fcvt.ll
M llvm/test/CodeGen/AArch64/fdiv.ll
M llvm/test/CodeGen/AArch64/fexplog.ll
M llvm/test/CodeGen/AArch64/fminimummaximum.ll
M llvm/test/CodeGen/AArch64/fminmax.ll
M llvm/test/CodeGen/AArch64/fmla.ll
M llvm/test/CodeGen/AArch64/fmul.ll
M llvm/test/CodeGen/AArch64/fneg.ll
M llvm/test/CodeGen/AArch64/fpext.ll
M llvm/test/CodeGen/AArch64/fpow.ll
M llvm/test/CodeGen/AArch64/fpowi.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/fptrunc.ll
M llvm/test/CodeGen/AArch64/frem.ll
M llvm/test/CodeGen/AArch64/fsincos.ll
M llvm/test/CodeGen/AArch64/fsqrt.ll
M llvm/test/CodeGen/AArch64/icmp.ll
M llvm/test/CodeGen/AArch64/insertextract.ll
M llvm/test/CodeGen/AArch64/itofp.ll
M llvm/test/CodeGen/AArch64/llvm.exp10.ll
M llvm/test/CodeGen/AArch64/load.ll
M llvm/test/CodeGen/AArch64/sext.ll
M llvm/test/CodeGen/AArch64/shift.ll
M llvm/test/CodeGen/AArch64/shufflevector.ll
M llvm/test/CodeGen/AArch64/xtn.ll
M llvm/test/CodeGen/AArch64/zext.ll
Log Message:
-----------
[AArch64][GlobalISel] Avoid generating inserts for undefs when selecting G_BUILD_VECTOR (#84452)
It is safe to ignore undef values when selecting G_BUILD_VECTOR as undef
values choose random registers for copying values from.
Commit: 1dd104db59d145d516a5e9cbb081ed01262961ef
https://github.com/llvm/llvm-project/commit/1dd104db59d145d516a5e9cbb081ed01262961ef
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/complex.c
Log Message:
-----------
[clang][Interp] Implement _Complex Not unary operators
This only happens in C as far as I can tell. The complex varialbe
will have undergone a conversion to bool in C++ before reaching
the unary operator.
Commit: 103469b5f7467d5df15799c2d8ad150729bc33bd
https://github.com/llvm/llvm-project/commit/103469b5f7467d5df15799c2d8ad150729bc33bd
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp] Implement more easy _Complex unary operators
Commit: 85f6669de59b2bb75c6848afa79de63be988721c
https://github.com/llvm/llvm-project/commit/85f6669de59b2bb75c6848afa79de63be988721c
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
A flang/test/Lower/Intrinsics/sizeof.f90
Log Message:
-----------
[flang] implement sizeof lowering for polymorphic entities (#84498)
For non polymorphic entities, semantics knows the type size and rewrite
sizeof to `"cst element size" * size(x)`.
Lowering has to deal with the polymorphic case where the type size must
be retrieved from the descriptor (note that the lowering implementation
would work with any entity, polymorphic on not, it is just not used for
the non polymorphic cases).
Commit: 8e0f4b943fee13afc970ca8277a8e76b9da63b96
https://github.com/llvm/llvm-project/commit/8e0f4b943fee13afc970ca8277a8e76b9da63b96
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
A llvm/test/CodeGen/NVPTX/atomics-sm70.ll
M llvm/test/CodeGen/NVPTX/atomics.ll
Log Message:
-----------
[NVPTX] Add support for atomic add for f16 type (#84295)
atom.add.noftz.f16 is supported since SM 7.0
Commit: 36dece001325bbf00129c48ddb3c83668b0ac36e
https://github.com/llvm/llvm-project/commit/36dece001325bbf00129c48ddb3c83668b0ac36e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/test/MC/AMDGPU/gfx10_asm_mubuf.s
M llvm/test/MC/Disassembler/AMDGPU/gfx10_mubuf.txt
Log Message:
-----------
[AMDGPU] Add missing GFX10 buffer format d16 hi instructions (#84809)
Commit: 6bbe8a296ee91754d423c59c35727eaa624f7140
https://github.com/llvm/llvm-project/commit/6bbe8a296ee91754d423c59c35727eaa624f7140
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.h
M llvm/unittests/tools/llvm-exegesis/X86/SubprocessMemoryTest.cpp
Log Message:
-----------
[llvm-exegesis] Add thread IDs to subprocess memory names (#84451)
This patch adds the thread ID to the subprocess memory shared memory
names. This avoids conflicts for downstream consumers that might want to
consume llvm-exegesis across multiple threads, which would otherwise run
into conflicts due to the same PID running multiple instances.
Commit: aefad27096bba513f06162fac2763089578f3de4
https://github.com/llvm/llvm-project/commit/aefad27096bba513f06162fac2763089578f3de4
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.h
M llvm/unittests/tools/llvm-exegesis/X86/SubprocessMemoryTest.cpp
Log Message:
-----------
Revert "[llvm-exegesis] Add thread IDs to subprocess memory names (#84451)"
This reverts commit 6bbe8a296ee91754d423c59c35727eaa624f7140.
This breaks building LLVM on macOS, failing with
llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp:146:33: error: out-of-line definition of 'setupAuxiliaryMemoryInSubprocess' does not match any declaration in 'llvm::exegesis::SubprocessMemory'
Expected<int> SubprocessMemory::setupAuxiliaryMemoryInSubprocess(
Commit: b274b23665dec30f3ae4fb83ccca8b77e6d3ada3
https://github.com/llvm/llvm-project/commit/b274b23665dec30f3ae4fb83ccca8b77e6d3ada3
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Analysis/LoopAccessAnalysis/underlying-object-loop-varying-phi.ll
Log Message:
-----------
[ValueTracking] Treat phi as underlying obj when not decomposing further (#84339)
At the moment, getUnderlyingObjects simply continues for phis that do
not refer to the same underlying object in loops, without adding them to
the list of underlying objects, effectively ignoring those phis.
Instead of ignoring those phis, add them to the list of underlying
objects. This fixes a miscompile where LoopAccessAnalysis fails to
identify a memory dependence, because no underlying objects can be found
for a set of memory accesses.
Fixes https://github.com/llvm/llvm-project/issues/82665.
PR: https://github.com/llvm/llvm-project/pull/84339
Commit: 939f038296e601abd9143955f1b347aee1e99c06
https://github.com/llvm/llvm-project/commit/939f038296e601abd9143955f1b347aee1e99c06
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/test/HLFIR/element-addr.fir
M flang/test/Lower/HLFIR/vector-subscript-as-value.f90
Log Message:
-----------
[flang] lower vector subscripted polymorphic designators (#84778)
A mold argument need to be added to the hlfir.element_addr and set in
lowering so that when the hlfir.element_addr need to be turned into an
hlfir.elemental operation because the designator must be turned into a
value, the mold can be set on the hlfir.elemental to later allocate the
temporary according the the dynamic type.
This situation happens whenever the vector subscripted polymorphic
designator does not appear as an assignment left-hand side, or as an
IO-input item.
I initially thought retrieving the mold would be tricky if the dynamic
type of the designator was set by a part-ref of the right of the vector
subscripts ("array(vector)%polymorphic_comp"), but this turned out to be
impossible because:
1. A derived type component can be polymorphic only if it has the
POINTER or ALLOCATABLE attribute (F2023 C708).
2. Vector-subscripted part are ranked and F2023 C919 prohibits any
part-ref on the right of the rank part to have the POINTER or
ALLOCATABLE attribute.
=> If a vector subscripted designator is polymorphic, the vector
subscripted part is the rightmost part, and the mold is the base of the
vector subscripted part. This makes the retrieval of the mold easy in
lowering. The mold argument is always set to be the base of the vector
subscripted part when lowering the vector subscripted part, and it is
removed at the end of the designator lowering if the designator is not
polymorphic. This way there is no need to find back the mold from the
inside of the hlfir.element_addr body.
Commit: 9d16e79aac09e68c46b89cbbad9fe7edd915b8c3
https://github.com/llvm/llvm-project/commit/9d16e79aac09e68c46b89cbbad9fe7edd915b8c3
Author: Dani <daniel.kiss at arm.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M compiler-rt/cmake/builtin-config-ix.cmake
Log Message:
-----------
[AArch64] Fix COMPILER_RT_HAS_AUXV for builtins. (#84816)
COMPILER_RT_HAS_AUXV is used now in builtins so the test need to be in
the builtin-config-ix.cmake too.
Commit: 368db5683bb9f8c619a8a6d3d15522429ef615c6
https://github.com/llvm/llvm-project/commit/368db5683bb9f8c619a8a6d3d15522429ef615c6
Author: Luke Weiler <163067703+lwmaia at users.noreply.github.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M lldb/source/Symbol/Symtab.cpp
Log Message:
-----------
[lldb] Fix build break on windows (#84863)
This is a one line fix for a Windows specific (I believe) build break.
The build failure looks like this:
`D:\a\_work\1\s\lldb\source\Symbol\Symtab.cpp(128): error C2440:
'<function-style-cast>': cannot convert from 'lldb_private::ConstString'
to 'llvm::StringRef'
D:\a\_work\1\s\lldb\source\Symbol\Symtab.cpp(128): note:
'llvm::StringRef::StringRef': ambiguous call to overloaded function
D:\a\_work\1\s\llvm\include\llvm/ADT/StringRef.h(840): note: could be
'llvm::StringRef::StringRef(llvm::StringRef &&)'
D:\a\_work\1\s\llvm\include\llvm/ADT/StringRef.h(104): note: or
'llvm::StringRef::StringRef(std::string_view)'
D:\a\_work\1\s\lldb\source\Symbol\Symtab.cpp(128): note: while trying to
match the argument list '(lldb_private::ConstString)'
D:\a\_work\1\s\lldb\source\Symbol\Symtab.cpp(128): error C2672:
'std::multimap<llvm::StringRef,const lldb_private::Symbol
*,std::less<llvm::StringRef>,std::allocator<std::pair<const
llvm::StringRef,const lldb_private::Symbol *>>>::emplace': no matching
overloaded function found
C:\Program Files\Microsoft Visual
Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\map(557): note:
could be
'std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const
llvm::StringRef,const lldb_private::Symbol *>>>>
std::multimap<llvm::StringRef,const lldb_private::Symbol
*,std::less<llvm::StringRef>,std::allocator<std::pair<const
llvm::StringRef,const lldb_private::Symbol *>>>::emplace(_Valty &&...)'
`
The StringRef constructor here is intended to take a ConstString object,
which I assume is implicitly converted to a std::string_view by
compilers other than Visual Studio's. To fix the VS build I made the
StringRef initialization more explicit, as you can see in the diff.
Commit: a3b52509d522442915a51d8aabcec1df49e95b23
https://github.com/llvm/llvm-project/commit/a3b52509d522442915a51d8aabcec1df49e95b23
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/Attributes.h
M llvm/include/llvm/IR/Function.h
M llvm/include/llvm/IR/InstrTypes.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/Function.cpp
M llvm/test/Transforms/InstCombine/icmp-range.ll
Log Message:
-----------
[InstSimpliy] Use range attribute to simplify comparisons (#84627)
Use the new range attribute from https://github.com/llvm/llvm-project/pull/84617
to simplify comparisons where both sides have range information.
Commit: bba4a1daff6ee09941f1369a4e56b4af95efdc5c
https://github.com/llvm/llvm-project/commit/bba4a1daff6ee09941f1369a4e56b4af95efdc5c
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
M llvm/test/Transforms/ArgumentPromotion/aliasing-and-non-aliasing-loads-with-clobber.ll
Log Message:
-----------
[ArgPromotion] Remove incorrect TranspBlocks set for loads. (#84835)
The TranspBlocks set was used to cache aliasing decision for all
processed loads in the parent loop. This is incorrect, because each load
can access a different location, which means one load not being modified
in a block doesn't translate to another load not being modified in the
same block.
All loads access the same underlying object, so we could perhaps use a
location without size for all loads and retain the cache, but that would
mean we loose precision.
For now, just drop the cache.
Fixes https://github.com/llvm/llvm-project/issues/84807
PR: https://github.com/llvm/llvm-project/pull/84835
Commit: 9228859c2a5aed307dc61edb4cfd6bee7b4c5949
https://github.com/llvm/llvm-project/commit/9228859c2a5aed307dc61edb4cfd6bee7b4c5949
Author: David Stuttard <david.stuttard at amd.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/cmake/modules/TableGen.cmake
M llvm/docs/CMake.rst
M llvm/docs/GettingStarted.rst
Log Message:
-----------
[CMake] Add tablegen job pool support (#84762)
Add the ability to set the number of tablegen jobs that can run in
parallel
similar to the LLVM_PARALLEL_[COMPILE|LINK]_JOBS options that already
exist.
Commit: ce1fd9281707c2163728085d126ff83041e1db51
https://github.com/llvm/llvm-project/commit/ce1fd9281707c2163728085d126ff83041e1db51
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py
Log Message:
-----------
Update test past bdbad0d07bb600301cb324e87a6be37ca4af591a (#84889)
Commit: 9997e0397156ff7e01aecbd17bdeb7bfe5fb15b0
https://github.com/llvm/llvm-project/commit/9997e0397156ff7e01aecbd17bdeb7bfe5fb15b0
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/DIBuilder.h
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/DIBuilder.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
Log Message:
-----------
[RemoveDIs] Update DIBuilder to conditionally insert DbgRecords (#84739)
Have DIBuilder conditionally insert either debug intrinsics or DbgRecord
depending on the module's IsNewDbgInfoFormat flag. The insertion methods
now return a `DbgInstPtr` (a `PointerUnion<Instruction *, DbgRecord
*>`).
Add a unittest for both modes (I couldn't find an existing test testing
insertion behaviours specifically).
This patch changes the existing assumption that DbgRecords are only ever
inserted if there's an instruction to insert-before because clang
currently inserts debug intrinsics while CodeGening (like any other
instruction) meaning it'll try inserting to the end of a block without a
terminator. We already have machinery in place to maintain the
DbgRecords when a terminator is removed - these become "trailing
DbgRecords" which are re-attached when a new instruction is inserted.
All I've done is allow this state to occur while inserting DbgRecords
too, i.e., it's not only removing terminators that causes this valid
transient state, but inserting DbgRecords into incomplete blocks too.
The C API will be updated in follow up patches.
---
Note: this doesn't mean clang is emitting DbgRecords yet, because the
modules it creates are still always in the old debug mode. That will
come in a future patch.
Commit: 19266ca389e3fc3bce9d24c074b836d6e69873ce
https://github.com/llvm/llvm-project/commit/19266ca389e3fc3bce9d24c074b836d6e69873ce
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
M mlir/test/Dialect/EmitC/ops.mlir
A mlir/test/Target/Cpp/conditional.mlir
Log Message:
-----------
[mlir][EmitC] Add an `emitc.conditional` operator (#84883)
This adds an `emitc.conditional` operation for the ternary conditional
operator. Furthermore, this adds a converion from `arith.select` to the
new op.
Commit: 23ffb2bdb96cf5a8eebce86b1ab21acf88979661
https://github.com/llvm/llvm-project/commit/23ffb2bdb96cf5a8eebce86b1ab21acf88979661
Author: Dave Abrahams <dabrahams at adobe.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M cmake/Modules/CMakePolicy.cmake
Log Message:
-----------
[CMake] Enable new policy for CMAKE_MSVC_DEBUG_INFORMATION_FORMAT (#82371)
Commit: 5a100551d5652da586800c67edd4ccb3b18b10dc
https://github.com/llvm/llvm-project/commit/5a100551d5652da586800c67edd4ccb3b18b10dc
Author: Martin Storsjö <martin at martin.st>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Analysis/TargetLibraryInfo.cpp
M llvm/test/Transforms/InstCombine/exp2-1.ll
Log Message:
-----------
[Analysis] Treat ldexpf() as missing on MinGW (#84748)
The function does exist, but it is a plain wrapper over regular ldexp(),
so there's no benefit in calling it over regular ldexp(). Therefore,
treat it as missing.
This fixes builds of Wine for aarch64 with Clang in mingw mode, which
regressed recently in 8d976c7f20fe8d92fe6f54af411594e15fac25ae. That
commit unlocked transforming calls to ldexp into ldexpf, for some
codepaths within Wine. Wine can use compilers in mingw mode without
the regular mingw runtime libraries, which caused this to fail.
(However, if the transformation to use ldexpf() would have made sense,
the right fix would have been for Wine to provide a similar
ldexpf->ldexp wrapper just like mingw does.)
Commit: 1b945e35a6a59fda436585f8fca12c82a27fc6a9
https://github.com/llvm/llvm-project/commit/1b945e35a6a59fda436585f8fca12c82a27fc6a9
Author: Martin Storsjö <martin at martin.st>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M cmake/Modules/CMakePolicy.cmake
Log Message:
-----------
[CMake] Fix a typo in 23ffb2bdb96cf5a8eebce86b1ab21acf88979661
Commit: 3358838446428976a41390fde98fe5b04b08a132
https://github.com/llvm/llvm-project/commit/3358838446428976a41390fde98fe5b04b08a132
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/include/llvm/ADT/APInt.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/unittests/ADT/APIntTest.cpp
M llvm/unittests/Support/KnownBitsTest.cpp
Log Message:
-----------
[ADT] Add APIntOps::abds signed absolute difference and rename absdiff -> abdu (#84791)
When I created APIntOps::absdiff, I totally missed that we already have ISD::ABDS/ABDU nodes, and we use this term in other places/targets as well.
I've added the APIntOps::abds implementation and renamed APIntOps::absdiff to APIntOps::abdu.
Given that APIntOps::absdiff is so young I don't think we need to create a deprecation wrapper, but I can if anyone thinks it important.
I'll do a KnownBits rename patch after this.
Commit: a7ef83f005beeb3b1c7f34d44167b5abc5b6c4e5
https://github.com/llvm/llvm-project/commit/a7ef83f005beeb3b1c7f34d44167b5abc5b6c4e5
Author: Dani <daniel.kiss at arm.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M compiler-rt/lib/builtins/aarch64/sme-abi.S
Log Message:
-----------
[AArch64][SME] Add BTI and No Exec Stack markers to sme-abi.S (#84895)
Adding BTI landing pads compiler-rt is built with -mbranch-protectoin.
Tabulators are changed to 2 spaces for consistency.
Commit: eb319708dc5371bc560c301742abcf94cc5b3de5
https://github.com/llvm/llvm-project/commit/eb319708dc5371bc560c301742abcf94cc5b3de5
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaOverload.cpp
A clang/test/SemaCXX/overload-bitint.cpp
Log Message:
-----------
Add bit-precise overloads for builtin operators (#84755)
We previously were not adding them to the candidate set and so use of a
bit-precise integer as a class member could lead to ambiguous overload
sets.
Fixes https://github.com/llvm/llvm-project/issues/82998
Commit: 4e3310a81391fbc283d263715a68d8732e73d01d
https://github.com/llvm/llvm-project/commit/4e3310a81391fbc283d263715a68d8732e73d01d
Author: mikaoP <raul.penacoba at bsc.es>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/test/OpenMP/amdgcn_target_device_vla.cpp
M clang/test/OpenMP/amdgpu_target_with_aligned_attribute.c
M clang/test/OpenMP/bug60602.cpp
M clang/test/OpenMP/distribute_parallel_for_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_if_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_reduction_task_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_if_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp
M clang/test/OpenMP/metadirective_device_arch_codegen.cpp
M clang/test/OpenMP/nvptx_SPMD_codegen.cpp
M clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
M clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
M clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp
M clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/nvptx_target_teams_generic_loop_codegen.cpp
M clang/test/OpenMP/nvptx_target_teams_generic_loop_generic_mode_codegen.cpp
M clang/test/OpenMP/reduction_implicit_map.cpp
M clang/test/OpenMP/target_ompx_dyn_cgroup_mem_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_collapse_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_reduction_task_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_codegen-1.cpp
M clang/test/OpenMP/target_teams_generic_loop_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_collapse_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_if_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_order_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_reduction_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_uses_allocators_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_collapse_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_dist_schedule_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_if_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_reduction_task_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
M clang/test/OpenMP/teams_generic_loop_codegen-1.cpp
M clang/test/OpenMP/teams_generic_loop_codegen.cpp
M clang/test/OpenMP/teams_generic_loop_collapse_codegen.cpp
M clang/test/OpenMP/teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/teams_generic_loop_reduction_codegen.cpp
Log Message:
-----------
[clang] Fix OMPT ident flag in combined distribute parallel for pragma (#80987)
Authored-by: Raúl Peñacoba Veigas <rpenacob at bsc.es>
Commit: ffe41819e58365dfbe85a22556c0d9d284e746b9
https://github.com/llvm/llvm-project/commit/ffe41819e58365dfbe85a22556c0d9d284e746b9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/include/llvm/Support/KnownBits.h
M llvm/lib/Support/KnownBits.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/unittests/Support/KnownBitsTest.cpp
Log Message:
-----------
[Support] Add KnownBits::abds signed absolute difference and rename absdiff -> abdu (#84897)
When I created KnownBits::absdiff, I totally missed that we already have ISD::ABDS/ABDU nodes, and we use this term in other places/targets as well.
I've added the KnownBits::abds implementation and renamed KnownBits::absdiff to KnownBits::abdu.
Followup to #84791
Commit: b5a16b6d8ad51df7c14cd696f3dc1f98b6984905
https://github.com/llvm/llvm-project/commit/b5a16b6d8ad51df7c14cd696f3dc1f98b6984905
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/lib/Basic/Attributes.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
A clang/test/OpenMP/attr-assume.cpp
Log Message:
-----------
[Clang] [Parser] Support [[omp::assume]] (#84582)
This pr implements the `[[omp::assume]]` spelling for the `__attribute__((assume))` attribute. It does not change anything about how that attribute is handled by the rest of Clang.
Commit: 80ab8234ac309418637488b97e0a62d8377b2ecf
https://github.com/llvm/llvm-project/commit/80ab8234ac309418637488b97e0a62d8377b2ecf
Author: NagyDonat <donat.nagy at ericsson.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
M clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
M clang/unittests/StaticAnalyzer/CMakeLists.txt
A clang/unittests/StaticAnalyzer/IsCLibraryFunctionTest.cpp
M llvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Log Message:
-----------
[analyzer] Accept C library functions from the `std` namespace (#84469)
Previously, the function `isCLibraryFunction()` and logic relying on it
only accepted functions that are declared directly within a TU (i.e. not
in a namespace or a class). However C++ headers like <cstdlib> declare
many C standard library functions within the namespace `std`, so this
commit ensures that functions within the namespace `std` are also
accepted.
After this commit it will be possible to match functions like `malloc`
or `free` with `CallDescription::Mode::CLibrary`.
---------
Co-authored-by: Balazs Benics <benicsbalazs at gmail.com>
Commit: 0b2c24e0b33236c1dec39fe8b007b4c6aeb170b3
https://github.com/llvm/llvm-project/commit/0b2c24e0b33236c1dec39fe8b007b4c6aeb170b3
Author: Zahira Ammarguellat <zahira.ammarguellat at intel.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/range.c
Log Message:
-----------
Fix warning message when using negative complex range options. (#84567)
When `-fcx-no-limited-range` or` -fno-cx-fortran-rules` follows another
complex range option on the command line, it will trigger a warning with
empty message.
`warning: overriding '-fcx-fortran-rules' option with ''
[-Woverriding-option]`
or
`warning: overriding '-fcx-limited-range' option with ''
[-Woverriding-option]`
This patch fixes that.
Commit: 629afd4dea1860755b4b7c05bb48538b8710c9d1
https://github.com/llvm/llvm-project/commit/629afd4dea1860755b4b7c05bb48538b8710c9d1
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M flang/lib/Lower/IO.cpp
Log Message:
-----------
[flang][Lower] Fix use-after-free with TypeRange (#84369)
TypeRange is an iterator range, it does not own storage spanned by the
iterators. When using TypeRange, make sure that the actual contents
don't "expire" while the range is in use.
This was detected by address sanitizer.
Commit: c7f1a987a66a1ba0865ecc18adbe4dc8dbc0c788
https://github.com/llvm/llvm-project/commit/c7f1a987a66a1ba0865ecc18adbe4dc8dbc0c788
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
Log Message:
-----------
[OpenCL] Elaborate about BIenqueue_kernel expansion; NFC
Commit: 871086bf7fad42d610bfe02224662bdc71494a70
https://github.com/llvm/llvm-project/commit/871086bf7fad42d610bfe02224662bdc71494a70
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M flang/include/flang/Parser/char-block.h
M flang/runtime/buffer.h
M flang/runtime/temporary-stack.cpp
Log Message:
-----------
[flang] Avoid passing null pointers to nonnull parameters (#84785)
Certain functions in glibc have "nonnull" attributes on pointer
parameters (even in cases where passing a null pointer should be handled
correctly). There are a few cases of such calls in flang: memcmp and
memcpy with the length parameter set to 0.
Avoid passing a null pointer to these functions, since the conflict with
the nonnull attribute could cause an undefined behavior.
This was detected by the undefined behavior sanitizer.
Commit: bde7a6b791872b63456cb4e50e63046728a65196
https://github.com/llvm/llvm-project/commit/bde7a6b791872b63456cb4e50e63046728a65196
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/include/clang/Interpreter/Interpreter.h
M clang/lib/Interpreter/Interpreter.cpp
M clang/unittests/Interpreter/CMakeLists.txt
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
Log Message:
-----------
[clang-repl] Expose CreateExecutor() and ResetExecutor() in extended Interpreter interface (#84460)
IncrementalExecutor is an implementation detail of the Interpreter. In
order to test extended features properly, we must be able to setup and
tear down the executor manually.
Commit: ee137e234cb70e24dbfd8903904c5d5eceda3fb0
https://github.com/llvm/llvm-project/commit/ee137e234cb70e24dbfd8903904c5d5eceda3fb0
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang/unittests/BUILD.bazel
Log Message:
-----------
Update BUILD.bazel for 80ab8234ac309418637488b97e0a62d8377b2ecf (#84908)
Commit: f03aaa3c0cca77c15adfbb4544f296bc0441f6fc
https://github.com/llvm/llvm-project/commit/f03aaa3c0cca77c15adfbb4544f296bc0441f6fc
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
Log Message:
-----------
[clang] Silence -Wlogical-op-parentheses in Clang.cpp (NFC)
llvm-project/clang/lib/Driver/ToolChains/Clang.cpp:2721:49:
error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
!Option.empty() && !NegateFortranOption && !NegateLimitedOption)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
llvm-project/clang/lib/Driver/ToolChains/Clang.cpp:2721:49:
note: place parentheses around the '&&' expression to silence this warning
!Option.empty() && !NegateFortranOption && !NegateLimitedOption)
^
( )
1 error generated.
Commit: d96d917f38ab111adf7b1d24616a939e75141a89
https://github.com/llvm/llvm-project/commit/d96d917f38ab111adf7b1d24616a939e75141a89
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
A llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-lifetime-ends.ll
Log Message:
-----------
[Matrix] Add tests showing mis-compile with lifetime.end and fusion.
Add a set of tests showing miscompiles due to multiply fusion
introducing loads to dead objects after lifetime.end.
Commit: ffd31c5e92da9da37cf57ca653e22db38b5af9a3
https://github.com/llvm/llvm-project/commit/ffd31c5e92da9da37cf57ca653e22db38b5af9a3
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/unittests/Interpreter/CMakeLists.txt
Log Message:
-----------
Fix build after #84460: link LLVMTestingSupport explicitly in clang unittest
This is supposed to fix the DYLIB-enabled build, i.e. https://lab.llvm.org/buildbot/#/builders/196
Commit: 9f7ed36f92c304050d401f00b013186de15130e8
https://github.com/llvm/llvm-project/commit/9f7ed36f92c304050d401f00b013186de15130e8
Author: Jonas Paulsson <paulson1 at linux.ibm.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGAtomic.cpp
A clang/test/CodeGen/SystemZ/atomic_fp_load_store.c
M clang/test/CodeGen/atomic.c
M clang/test/CodeGen/c11atomics-ios.c
M clang/test/OpenMP/atomic_read_codegen.c
M clang/test/OpenMP/atomic_write_codegen.c
Log Message:
-----------
Don't do casting of atomic FP loads/stores in FE. (#83446)
The casting of FP atomic loads and stores were always done by the
front-end, even though the AtomicExpandPass will do it if the target
requests it (which is the default).
This patch removes this casting in the front-end entirely.
Commit: afd47587039e5a93919eb962cfe3a230cc91c504
https://github.com/llvm/llvm-project/commit/afd47587039e5a93919eb962cfe3a230cc91c504
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
R llvm/test/CodeGen/NVPTX/atomics-sm70.ll
M llvm/test/CodeGen/NVPTX/atomics.ll
Log Message:
-----------
Revert "[NVPTX] Add support for atomic add for f16 type" (#84918)
Reverts llvm/llvm-project#84295 due to breakages.
Commit: f8fab2126ffab713f4ab4619360b6941be6d4e35
https://github.com/llvm/llvm-project/commit/f8fab2126ffab713f4ab4619360b6941be6d4e35
Author: Kupa-Martin <84517188+Kupa-Martin at users.noreply.github.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/lib/AST/Expr.cpp
A clang/test/Sema/enum-constant-type.cpp
M clang/test/Sema/warn-compare-enum-types-mismatch.c
Log Message:
-----------
[Clang][Sema] Fix type of enumerators in incomplete enumerations (#84068)
Enumerators dont have the type of their enumeration before the closing
brace. In these cases Expr::getEnumCoercedType() incorrectly returned
the enumeration type.
Introduced in PR #81418
Fixes #84712
Commit: a4aac22683a44264bb3883242b1c6b711f534e8b
https://github.com/llvm/llvm-project/commit/a4aac22683a44264bb3883242b1c6b711f534e8b
Author: harishch4 <harishcse44 at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M flang/lib/Lower/HostAssociations.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
A flang/test/Lower/OpenMP/threadprivate-host-association-2.f90
A flang/test/Lower/OpenMP/threadprivate-host-association.f90
Log Message:
-----------
[Flang][OpenMp] Fix to threadprivate not working with host-association. (#74966)
This patch considers host-associated variables to generate threadprivate
Ops.
Fixes: #60763 #84561
Commit: a3ad5faa321848376b277db369313c80d3df2152
https://github.com/llvm/llvm-project/commit/a3ad5faa321848376b277db369313c80d3df2152
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/test/Analysis/LoopAccessAnalysis/loops-with-indirect-reads-and-writes.ll
M llvm/test/Analysis/LoopAccessAnalysis/underlying-object-loop-varying-phi.ll
Log Message:
-----------
[LAA] Fix typo IndidrectUnsafe -> IndirectUnsafe.
Fix type in textual analysis output.
Commit: 2cae13d60590c999c37828d709ff4ba58e5f261b
https://github.com/llvm/llvm-project/commit/2cae13d60590c999c37828d709ff4ba58e5f261b
Author: bvlgah <octopus.busts_0w at icloud.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/include/llvm/Analysis/DominanceFrontier.h
Log Message:
-----------
[DominanceFrontierBase] Fix doc of compare()'s return value. (#81352)
This is a trivial fix ( I guess it has not been noticed because of no
use). Currently, the doc says the function returns `true` if two
instances of `DominanceFrontierBase` matches, otherwise `false` is
returned. I have checked the implementation
https://github.com/llvm/llvm-project/blob/9308d6688c673606fee1625d777a52539ae72015/llvm/include/llvm/Analysis/DominanceFrontierImpl.h#L71-L94
which examines whether two dominance frontier mappings are equal, and
the actual value it returns contradicts the description in the doc.
Commit: 0aefd702f6c5346f216d29c704c4d0e4ec7397ac
https://github.com/llvm/llvm-project/commit/0aefd702f6c5346f216d29c704c4d0e4ec7397ac
Author: Nico Weber <thakis at chromium.org>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn
Log Message:
-----------
[gn] port bde7a6b791872b
Commit: 15f3f446c504d1bb85282fb3bd98db6eab69829d
https://github.com/llvm/llvm-project/commit/15f3f446c504d1bb85282fb3bd98db6eab69829d
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/include/llvm/IR/BasicBlock.h
M llvm/include/llvm/IR/DebugProgramInstruction.h
M llvm/include/llvm/IR/Instruction.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/SelectOptimize.cpp
M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/DIBuilder.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/lib/Transforms/IPO/IROutliner.cpp
M llvm/lib/Transforms/IPO/MergeFunctions.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Scalar/ADCE.cpp
M llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
M llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
M llvm/lib/Transforms/Utils/CloneFunction.cpp
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/ValueMapper.cpp
M llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/IR/ValueTest.cpp
M llvm/unittests/Transforms/Utils/DebugifyTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
[RemoveDIs][NFC] Rename common interface functions for DPValues->DbgRecords (#84793)
As part of the effort to rename the DbgRecord classes, this patch
renames the widely-used functions that operate on DbgRecords but refer
to DbgValues or DPValues in their names to refer to DbgRecords instead;
all such functions are defined in one of `BasicBlock.h`,
`Instruction.h`, and `DebugProgramInstruction.h`.
This patch explicitly does not change the names of any comments or
variables, except for where they use the exact name of one of the
renamed functions. The reason for this is reviewability; this patch can
be trivially examined to determine that the only changes are direct
string substitutions and any results from clang-format responding to the
changed line lengths. Future patches will cover renaming variables and
comments, and then renaming the classes themselves.
Commit: 0fe271c35368a9190661bcca87101fc0916d6a8b
https://github.com/llvm/llvm-project/commit/0fe271c35368a9190661bcca87101fc0916d6a8b
Author: Fanbo Meng <fanbo.meng at ibm.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Support/AutoConvert.cpp
Log Message:
-----------
[SystemZ][z/OS] Add missing include header to AutoConvert.cpp to fix build (#84909)
ba13fa2a5d57581bff1a7e9322234af30f4882f6
added usages of `errnoAsErrorCode()` to AutoConvert.cpp, need to include
Error.h header to fix build failure.
Commit: f32b04d4ea91ad1018c25a1d4178cc4392d34968
https://github.com/llvm/llvm-project/commit/f32b04d4ea91ad1018c25a1d4178cc4392d34968
Author: NagyDonat <donat.nagy at ericsson.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
M clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
M clang/unittests/StaticAnalyzer/CMakeLists.txt
R clang/unittests/StaticAnalyzer/IsCLibraryFunctionTest.cpp
M llvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Log Message:
-----------
Revert "[analyzer] Accept C library functions from the `std` namespace" (#84926)
Reverts llvm/llvm-project#84469 because it causes buildbot failures.
I'll examine them and re-submit the change.
Commit: 083da46ff07170471f8bb9ed2947f6ebc725670b
https://github.com/llvm/llvm-project/commit/083da46ff07170471f8bb9ed2947f6ebc725670b
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
A clang/test/ClangScanDeps/working-directory-option.c
Log Message:
-----------
[clang][deps] Fix dependency scanning with -working-directory (#84525)
Stop overriding -working-directory to CWD during argument parsing, which
should no longer necessary after we set the VFS working directory, and
set FSOpts correctly after parsing arguments so that working-directory
behaves correctly.
Commit: 3238b92142c8fb70a1b2c72ee06bb47d57229dc9
https://github.com/llvm/llvm-project/commit/3238b92142c8fb70a1b2c72ee06bb47d57229dc9
Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
Log Message:
-----------
[LoopSimplifyCFG] Drop no longer needed DependenceAnalysis.h include
Commit: 4d0f79e346ceb0ddb25a94053c612a5b34a72100
https://github.com/llvm/llvm-project/commit/4d0f79e346ceb0ddb25a94053c612a5b34a72100
Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/test/CodeGen/X86/freeze-binary.ll
Log Message:
-----------
Pre commit test cases SRL/SRA support in canCreateUndefOrPoison. NFC
Add test cases to show that we can't push freeze through SRA/SRL with
'exact' flag when there are multiple uses.
Commit: beba307c5bc206168bdea3b893e02ea31579fe62
https://github.com/llvm/llvm-project/commit/beba307c5bc206168bdea3b893e02ea31579fe62
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
A llvm/test/Transforms/LoopStrengthReduce/pr84709.ll
Log Message:
-----------
[LSR] Clear SCEVExpander before deleting phi nodes
Fixes https://github.com/llvm/llvm-project/issues/84709.
Commit: 08dd645c15a091a53313e278d8f3c090e7c385d1
https://github.com/llvm/llvm-project/commit/08dd645c15a091a53313e278d8f3c090e7c385d1
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
A llvm/test/CodeGen/RISCV/zcmp-additional-stack.ll
Log Message:
-----------
[RISC-V] Bad immediate value for Zcmp instructions with E extension (#84925)
When we are using the Zcmp extension together with the E extension in
32-bit mode and we need to spill both callee-saved registers as well as
needing a couple of 32-bit stack slots, we emit a meaningless stack
adjustment with cm.push/cm.popret. Furthermore this leads to the stack
slot for the ra being clobbered so control returns to a random location.
This is just a pre-commit test so that the PR for the fix shows the
difference in code generation.
Commit: bae47d48b632a4fa1dce5591bc0783360cf69e28
https://github.com/llvm/llvm-project/commit/bae47d48b632a4fa1dce5591bc0783360cf69e28
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/integer_to_string_test.cpp
Log Message:
-----------
[libc] fix another build failure from using limits.h (#84827)
My GCC build is failing with issues similar why we added our own. Looks
like
we missed one spot. See also:
commit 72ce62941579 ("[libc] Add C23 limits.h header. (#78887)")
Commit: f0c0ddae45ec929d023232d2ff0b75b7f09853c2
https://github.com/llvm/llvm-project/commit/f0c0ddae45ec929d023232d2ff0b75b7f09853c2
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/docs/c23.rst
M libc/docs/stdbit.rst
M libc/include/llvm-libc-macros/stdbit-macros.h
M libc/spec/stdc.td
M libc/test/include/stdbit_test.cpp
Log Message:
-----------
[libc] implement the final macros for stdbit.h support (#84798)
Relevant sections of n3096:
- 7.18.1p1
- 7.18.2
Commit: 9f69d3cf88905df5006f93dce536b7e73c0b1735
https://github.com/llvm/llvm-project/commit/9f69d3cf88905df5006f93dce536b7e73c0b1735
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M openmp/libomptarget/DeviceRTL/src/Mapping.cpp
Log Message:
-----------
[Libomptarget] Use NVPTX lane id intrinsic in DeviceRTL (#84928)
Summary:
We are currently taking the lower 5 bites of the thread ID as the warp
ID. This doesn't work in non-1D grids and is also slower than just using
the dedicated hardware register.
Commit: 392436383a52bc5e188bd28bec5bc71b3cb5384a
https://github.com/llvm/llvm-project/commit/392436383a52bc5e188bd28bec5bc71b3cb5384a
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/spec/stdc.td
Log Message:
-----------
[libc] fix typo in stdbit.h macro spec files (#84780)
Commit: c167a2588737613558bd7be4c9280603e89281ac
https://github.com/llvm/llvm-project/commit/c167a2588737613558bd7be4c9280603e89281ac
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/src/__support/GPU/nvptx/utils.h
Log Message:
-----------
[libc] Fix lane-id utility function not using built-in (#84902)
Summary:
Previously we got the lane-id from taking the global thread ID and
taking off the bottom 5 bits. This works but is inefficient compared to
the NVPTX intrinsic simply dedicated to get this value.
Commit: 261e5648e70b363aecf86acfcd7fb416eb48fb7b
https://github.com/llvm/llvm-project/commit/261e5648e70b363aecf86acfcd7fb416eb48fb7b
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/src/__support/GPU/amdgpu/utils.h
M libc/src/__support/GPU/generic/utils.h
M libc/src/__support/GPU/nvptx/utils.h
M libc/src/__support/GPU/utils.h
M libc/test/integration/src/__support/CMakeLists.txt
A libc/test/integration/src/__support/GPU/CMakeLists.txt
A libc/test/integration/src/__support/GPU/scan_reduce.cpp
Log Message:
-----------
[libc] Add utility functions for warp-level scan and reduction (#84866)
Summary:
The GPU uses a SIMT execution model. That means that each value actually
belongs to a group of 32 or 64 other lanes executing next to it. These
platforms offer some intrinsic fuctions to actually take elements from
neighboring lanes. With these we can do parallel scans or reductions.
These functions do not have an immediate user, but will be used in the
allocator interface that is in-progress and are generally good to have.
This patch is a precommit for these new utilitly functions.
Commit: 0ebf511ad011a83022edb171e044c98d9d16b1fa
https://github.com/llvm/llvm-project/commit/0ebf511ad011a83022edb171e044c98d9d16b1fa
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/src/__support/CMakeLists.txt
M libc/src/__support/CPP/bit.h
M libc/src/__support/math_extras.h
M libc/src/stdbit/CMakeLists.txt
M libc/src/stdbit/stdc_count_zeros_uc.cpp
M libc/src/stdbit/stdc_count_zeros_ui.cpp
M libc/src/stdbit/stdc_count_zeros_ul.cpp
M libc/src/stdbit/stdc_count_zeros_ull.cpp
M libc/src/stdbit/stdc_count_zeros_us.cpp
M libc/src/stdbit/stdc_first_leading_one_uc.cpp
M libc/src/stdbit/stdc_first_leading_one_ui.cpp
M libc/src/stdbit/stdc_first_leading_one_ul.cpp
M libc/src/stdbit/stdc_first_leading_one_ull.cpp
M libc/src/stdbit/stdc_first_leading_one_us.cpp
M libc/src/stdbit/stdc_first_leading_zero_uc.cpp
M libc/src/stdbit/stdc_first_leading_zero_ui.cpp
M libc/src/stdbit/stdc_first_leading_zero_ul.cpp
M libc/src/stdbit/stdc_first_leading_zero_ull.cpp
M libc/src/stdbit/stdc_first_leading_zero_us.cpp
M libc/src/stdbit/stdc_first_trailing_one_uc.cpp
M libc/src/stdbit/stdc_first_trailing_one_ui.cpp
M libc/src/stdbit/stdc_first_trailing_one_ul.cpp
M libc/src/stdbit/stdc_first_trailing_one_ull.cpp
M libc/src/stdbit/stdc_first_trailing_one_us.cpp
M libc/src/stdbit/stdc_first_trailing_zero_uc.cpp
M libc/src/stdbit/stdc_first_trailing_zero_ui.cpp
M libc/src/stdbit/stdc_first_trailing_zero_ul.cpp
M libc/src/stdbit/stdc_first_trailing_zero_ull.cpp
M libc/src/stdbit/stdc_first_trailing_zero_us.cpp
M libc/test/src/__support/CPP/bit_test.cpp
M libc/test/src/__support/math_extras_test.cpp
Log Message:
-----------
[libc] move non <bit> functions to math_extras (#84818)
As per TODOs added in
https://github.com/llvm/llvm-project/pull/84035/commits/48b0bc837085a38ff1de33010d9222363f70238f.
Commit: 87dc068280aaddc98acb7865ae3df1d248f4a170
https://github.com/llvm/llvm-project/commit/87dc068280aaddc98acb7865ae3df1d248f4a170
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M lldb/tools/debugserver/source/RNBSocket.cpp
Log Message:
-----------
[lldb] [debugserver] Handle interrupted reads correctly (#84872)
The first half of this patch is a long-standing annoyance, if I attach
to debugserver with lldb while it is waiting for an lldb connection, the
syscall is interrupted and it doesn't retry, debugserver exits
immediately.
The second half is a request from another tool that is communicating
with debugserver, that we retry reads on our sockets in the same way. I
haven't dug in to the details of how they're communicating that this is
necessary, but the best I've been able to find reading the POSIX API
docs, this is fine.
rdar://117113298
Commit: fa1d13590cfd0be77c452cca929bc32efb456627
https://github.com/llvm/llvm-project/commit/fa1d13590cfd0be77c452cca929bc32efb456627
Author: Jake Egan <jake.egan at ibm.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/lds-run-twice-absolute-md.ll
M llvm/test/CodeGen/AMDGPU/lds-run-twice.ll
Log Message:
-----------
[AIX][tests] Disable failing tests on AIX
These new tests are failing on the AIX bot because the -I option isn't supported.
Disable these tests for now until they can be fixed.
Commit: 65eea3e5dc907c3059c57ab4d16770522c5b9fb0
https://github.com/llvm/llvm-project/commit/65eea3e5dc907c3059c57ab4d16770522c5b9fb0
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libcxx/src/tzdb.cpp
M libcxx/test/libcxx/time/time.zone/time.zone.db/rules.pass.cpp
Log Message:
-----------
[libc++][TZDB] Fixes parsing interleaved rules. (#84808)
Typically the rules in the database are contiguous, but that is not a
requirement. This fixes the case when they are not.
---------
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
Commit: af21659c8c5c1d16b9bc5e745aaaf49b322f64d7
https://github.com/llvm/llvm-project/commit/af21659c8c5c1d16b9bc5e745aaaf49b322f64d7
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libcxx/utils/ci/Dockerfile
Log Message:
-----------
[libc++][CI] Installs tzdata package in Docker. (#84643)
This allows testing the time zone information in the CI. This is needed
to let https://github.com/llvm/llvm-project/pull/82108 pass the CI.
Commit: fe8cf2fc9090d3d56fa1a6bb4b70bd38277874eb
https://github.com/llvm/llvm-project/commit/fe8cf2fc9090d3d56fa1a6bb4b70bd38277874eb
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/unittests/ASTMatchers/ASTMatchersTest.h
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Log Message:
-----------
[clang][ASTMatchers] Fix forEachArgumentWithParam* for deducing "this" operator calls (#84887)
This is a follow-up commit of #84446.
In this patch, I demonstrate that `forEachArgumentWithParam` and
`forEachArgumentWithParamType` did not correctly handle the presence of
the explicit object parameter for operator calls.
Prior to this patch, the matcher would skip the first (and only)
argument of the operator call if the explicit object param was used.
Note that I had to move the definition of
`isExplicitObjectMemberFunction`, to be declared before the matcher I
fix to be visible.
I also had to do some gymnastics for passing the language standard
version command-line flags to the invocation as
`matchAndVerifyResultTrue` wasn't really considered for non-c++11 code.
See the that it always prepends `-std=gnu++11` to the command-line
arguments. I workarounded it by accepting extra args, which get
appended, thus possibly overriding the hardcoded arguments.
I'm not sure if this qualifies for backporting to clang-18 (probably not
because its not a crash, but a semantic problem), but I figure it might
be useful for some vendors (like us).
But we are also happy to cherry-pick this fix to downstream. Let me know
if you want this to be backported or not.
CPP-5074
Commit: c8cc7903b373589cc85271987980ae277145df7c
https://github.com/llvm/llvm-project/commit/c8cc7903b373589cc85271987980ae277145df7c
Author: XChy <xxs_chy at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[SelectionDAG] Replace some basic patterns in visitADDLike with SDPatternMatch (#84759)
Resolves #84745.
Based on SDPatternMatch introduced by #78654, this patch replaces some
of basic patterns in `visitADDLike` with corresponding patterns in
SDPatternMatch.
This patch only replaces original folds, instead of introducing new ones.
Commit: bd72ebd8d1ec3e97ca666623aa628d653a1d54a5
https://github.com/llvm/llvm-project/commit/bd72ebd8d1ec3e97ca666623aa628d653a1d54a5
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/mai-hazards-gfx940.mir
Log Message:
-----------
AMDGPU: Add some more mfma hazard recognizer tests (#84727)
Commit: e09761944cea4aeafadd055b9510ef9f0e9a7338
https://github.com/llvm/llvm-project/commit/e09761944cea4aeafadd055b9510ef9f0e9a7338
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libcxx/include/ios
M libcxx/src/ios.cpp
A libcxx/test/libcxx/input.output/iostreams.base/ios.base/ios.base.cons/dtor.uninitialized.pass.cpp
Log Message:
-----------
[libc++] Improves UB handling in ios_base destructor. (#76525)
Destroying an ios_base object before it is properly initialized is
undefined behavior. Unlike typical C++ classes the initialization is not
done in the constructor, but in a dedicated init function. Due to
virtual inheritance of the basic_ios object in ostream and friends this
undefined behaviour can be triggered when inheriting from classes that
can throw in their constructor and inheriting from ostream.
Use the __loc_ member of ios_base as sentinel to detect whether the
object has or has not been initialized.
Addresses https://github.com/llvm/llvm-project/issues/57964
Commit: 683a9ac803a56f6dda9b783a6e2d6d92a5d0626c
https://github.com/llvm/llvm-project/commit/683a9ac803a56f6dda9b783a6e2d6d92a5d0626c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] combineVectorPack - use APInt::truncSSat for PACKSS constant folding. NFC.
Unfortunately PACKUS can't use APInt::truncUSat
Commit: 7bee91fadf8db90f71b458aaff4de0efa7dc23a0
https://github.com/llvm/llvm-project/commit/7bee91fadf8db90f71b458aaff4de0efa7dc23a0
Author: Diego A. Estrada Rivera <diego.estrada1 at proton.me>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/CheckerManager.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
M clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
Log Message:
-----------
[analyzer][NFC] Turn NodeBuilderContext into a class (#84638)
>From issue #73088. I changed `NodeBuilderContext` into a class.
Additionally, there were some other mentions of the former being a
struct which I also changed into a class. This is my first time working
with an issue so I will be open to hearing any advice or changes that
need to be done.
Commit: 93503aafcdc66837ecf220243aaa530c05c35895
https://github.com/llvm/llvm-project/commit/93503aafcdc66837ecf220243aaa530c05c35895
Author: Hiroshi Yamauchi <56735936+hjyamauchi at users.noreply.github.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M lldb/include/lldb/Utility/ConstString.h
M lldb/source/Core/Mangled.cpp
M lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Log Message:
-----------
Fix MSVC build issues (#84362)
MSVC fails when there is ambiguity (multiple options) around implicit
type conversion operators.
Make ConstString's conversion operator to string_view explicit to avoid
ambiguity with one to StringRef and remove an unused local variable that
MSVC also fails on.
Commit: c4e517f59c086eafe2eb61d23197820f05be799c
https://github.com/llvm/llvm-project/commit/c4e517f59c086eafe2eb61d23197820f05be799c
Author: Jun Wang <jwang86 at yahoo.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Sema/Sema.h
M clang/lib/CodeGen/Targets/AMDGPU.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/test/CodeGenCUDA/amdgpu-kernel-attrs.cu
M clang/test/CodeGenOpenCL/amdgpu-attrs.cl
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
M clang/test/SemaCUDA/amdgpu-attrs.cu
M llvm/docs/AMDGPUUsage.rst
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
A llvm/test/CodeGen/AMDGPU/attr-amdgpu-num-workgroups.ll
A llvm/test/CodeGen/AMDGPU/attr-amdgpu-num-workgroups_error_check.ll
Log Message:
-----------
[AMDGPU] Adding the amdgpu_num_work_groups function attribute (#79035)
A new function attribute named amdgpu_num_work_groups is added. This
attribute, which consists of three integers, allows programmers to let
the compiler know the number of workgroups to be launched in each of the
three dimensions and do optimizations based on that information.
---------
Co-authored-by: Jun Wang <jun.wang7 at amd.com>
Commit: c1af6ab505a83bfb4fc8752591ad333190bc9389
https://github.com/llvm/llvm-project/commit/c1af6ab505a83bfb4fc8752591ad333190bc9389
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-7.ll
M llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-8.ll
M llvm/test/CodeGen/X86/vector-interleaved-store-i32-stride-7.ll
M llvm/test/CodeGen/X86/vector-interleaved-store-i32-stride-8.ll
M llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-4.ll
Log Message:
-----------
[X86] getFauxShuffleMask - recognise CONCAT(SUB0, SUB1) style patterns
Handles the INSERT_SUBVECTOR(INSERT_SUBVECTOR(UNDEF,SUB0,0),SUB1,N) pattern
Currently limited to v8i64/v8f64 cases as only AVX512 has decent cross lane 2-input shuffles, the plan is to relax this as I deal with some regressions
Commit: f1ca2a09671e4d4acc2bea362b39268ed7883b6d
https://github.com/llvm/llvm-project/commit/f1ca2a09671e4d4acc2bea362b39268ed7883b6d
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M lld/ELF/Config.h
M lld/ELF/Driver.cpp
M lld/ELF/Options.td
M lld/ELF/OutputSections.cpp
M lld/ELF/OutputSections.h
M lld/docs/ReleaseNotes.rst
M lld/docs/ld.lld.1
M lld/test/ELF/compress-sections-err.s
A lld/test/ELF/compress-sections-special.s
A lld/test/ELF/compress-sections.s
A lld/test/ELF/linkerscript/compress-sections.s
Log Message:
-----------
[ELF] Add --compress-section to compress matched non-SHF_ALLOC sections
--compress-sections <section-glib>=[none|zlib|zstd] is similar to
--compress-debug-sections but applies to broader sections without the
SHF_ALLOC flag. lld will report an error if a SHF_ALLOC section is
matched. An interesting use case is to compress `.strtab`/`.symtab`,
which consume a significant portion of the file size (15.1% for a
release build of Clang).
An older revision is available at https://reviews.llvm.org/D154641 .
This patch focuses on non-allocated sections for safety. Moving
`maybeCompress` as D154641 does not handle STT_SECTION symbols for
`-r --compress-debug-sections=zlib` (see `relocatable-section-symbol.s`
from #66804).
Since different output sections may use different compression
algorithms, we need CompressedData::type to generalize
config->compressDebugSections.
GNU ld feature request: https://sourceware.org/bugzilla/show_bug.cgi?id=27452
Link: https://discourse.llvm.org/t/rfc-compress-arbitrary-sections-with-ld-lld-compress-sections/71674
Pull Request: https://github.com/llvm/llvm-project/pull/84855
Commit: 536e0ebaaa842471ae91bbda4f8cc1821690861e
https://github.com/llvm/llvm-project/commit/536e0ebaaa842471ae91bbda4f8cc1821690861e
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/llgdb-tests/static-member-2.cpp
M cross-project-tests/debuginfo-tests/llgdb-tests/static-member.cpp
Log Message:
-----------
Remove XFAIL from tests passing on green dragon
Commit: 42ecccfe346daf342b6c46a6a471ba5ed99b1139
https://github.com/llvm/llvm-project/commit/42ecccfe346daf342b6c46a6a471ba5ed99b1139
Author: amilendra <amilendra.kodithuwakku at arm.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libcxx/utils/libcxx/test/features.py
Log Message:
-----------
[libcxx] Fix incorrect type in the has-1024-bit-atomics feature test (#84904)
Commit: a843f26a77dee7900891b6748d43cf8d4e423bfe
https://github.com/llvm/llvm-project/commit/a843f26a77dee7900891b6748d43cf8d4e423bfe
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[NFC] SLVectorizer comparator refactoring that preserves behavior (#84966)
Spinning off from #79321 / 35f4592 - looked like the comparator could be
simplified & made more clear/less risk of leaving hidden bugs.
Commit: 377da51546b2f514c3e90fca351004a2cf3f1eed
https://github.com/llvm/llvm-project/commit/377da51546b2f514c3e90fca351004a2cf3f1eed
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
Log Message:
-----------
[InstCombine] Add test for detecting `(x ^ -x)` as a ~Mask; NFC
Commit: 5ca325e49cedee2aa5e80581ba95dcab56292c32
https://github.com/llvm/llvm-project/commit/5ca325e49cedee2aa5e80581ba95dcab56292c32
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
Log Message:
-----------
[InstCombine] Detect `(x ^ -x)` as a ~Mask
Proof: https://alive2.llvm.org/ce/z/TAFmPw
This is a lemma for clearing up some of the regressions that #84688
causes.
Closes #84868
Commit: 9ac03158987802706110ef465c4b6a7553cc4b86
https://github.com/llvm/llvm-project/commit/9ac03158987802706110ef465c4b6a7553cc4b86
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
Add comment to assert from a843f26
Commit: f5334f5da5166ac26fb24ca44669b3d425f0d131
https://github.com/llvm/llvm-project/commit/f5334f5da5166ac26fb24ca44669b3d425f0d131
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_sched.cpp
Log Message:
-----------
[OpenMP] Add debug checks for divide by zero (#83300)
Commit: 3303be63fc2ac196568b03f58c146655e19183f6
https://github.com/llvm/llvm-project/commit/3303be63fc2ac196568b03f58c146655e19183f6
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp.h
Log Message:
-----------
[OpenMP] Make sure mask is set to nullptr (#83299)
Commit: 6272500e0b1456a87256f0c8659fdc86cfe3ef9a
https://github.com/llvm/llvm-project/commit/6272500e0b1456a87256f0c8659fdc86cfe3ef9a
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_utility.cpp
Log Message:
-----------
[OpenMP] Remove unused logical/physical CPUID information (#83298)
Commit: 7c83d1bd612783634aae33baf8765ecfdcc5cd0d
https://github.com/llvm/llvm-project/commit/7c83d1bd612783634aae33baf8765ecfdcc5cd0d
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
Log Message:
-----------
[mlir][vector] Use inferRankReducedResultType for subview type inference. (#84395)
Fixes https://github.com/openxla/iree/issues/16475
Commit: 45219702e77f6f834ea2dfe2a68b140e59f7e0e2
https://github.com/llvm/llvm-project/commit/45219702e77f6f834ea2dfe2a68b140e59f7e0e2
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/test/CodeGen/X86/code-model-elf.ll
Log Message:
-----------
[test][X86] Precommit test for large data threshold and i1 global
Commit: a38b7a432d3cbb093af9310eba5b4982dc0a0243
https://github.com/llvm/llvm-project/commit/a38b7a432d3cbb093af9310eba5b4982dc0a0243
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/include/clang/InstallAPI/Context.h
M clang/include/clang/InstallAPI/Frontend.h
A clang/include/clang/InstallAPI/FrontendRecords.h
A clang/include/clang/InstallAPI/MachO.h
M clang/lib/InstallAPI/Frontend.cpp
M clang/lib/InstallAPI/Visitor.cpp
M clang/tools/clang-installapi/ClangInstallAPI.cpp
M clang/tools/clang-installapi/Options.h
Log Message:
-----------
[InstallAPI] Break up headers and add common header for TextAPI types (#84960)
Before it gets too unwieldy, add a common header for all MachO types
that are used across InstallAPI. Also, break up the types in
`InstallAPI/Frontend`. This both avoids circular dependencies and is
logically easier to maintain as more functionality gets added.
Commit: 6bbb73b4cbc89b7291a8088aaa635814a216fbf6
https://github.com/llvm/llvm-project/commit/6bbb73b4cbc89b7291a8088aaa635814a216fbf6
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Target/TargetMachine.cpp
M llvm/test/CodeGen/X86/code-model-elf.ll
Log Message:
-----------
[X86] Fix determining if globals with size <8 bits are large (#84975)
Previously any global under 8 bits would accidentally be considered 0
sized, which is considered a large global.
Commit: 6095f8bbc410d2f8b926a32ba969d507f7343949
https://github.com/llvm/llvm-project/commit/6095f8bbc410d2f8b926a32ba969d507f7343949
Author: Justin Lebar <justin.lebar at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/lib/IR/AsmPrinter.cpp
Log Message:
-----------
Get rid of noisy debug log in verifyOpAndAdjustFlags. (#84677)
This debug log adds noise to a large fraction of *other* debug logs when
you run with -debug, because it prints "Verifying operation: blah blah\n"
whenever those other debug logs dump an op.
You can use -debug-only to get around this, but sometimes -debug really
is what's called for!
Commit: 97fb91ee665660036f8beffd064b44c6fbbf1b73
https://github.com/llvm/llvm-project/commit/97fb91ee665660036f8beffd064b44c6fbbf1b73
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/alternate-non-profitable.ll
Log Message:
-----------
[SLP][NFC]Add a test with non-profitable alternate vectorized
instructions.
Commit: 2377beba8d10ce1092db7f8ddd5b10a2c0d3bfd1
https://github.com/llvm/llvm-project/commit/2377beba8d10ce1092db7f8ddd5b10a2c0d3bfd1
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/cmake/caches/Fuchsia.cmake
Log Message:
-----------
[Fuchsia] Add LLDB_TEST_USE_VENDOR_PACKAGES to boostrap passthrough
Commit: 54f631d11640732af0dc9c2aa53af4e118d9fe36
https://github.com/llvm/llvm-project/commit/54f631d11640732af0dc9c2aa53af4e118d9fe36
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
A llvm/test/CodeGen/DirectX/exp2_error.ll
M llvm/test/CodeGen/DirectX/frac.ll
A llvm/test/CodeGen/DirectX/frac_error.ll
A llvm/test/CodeGen/DirectX/round_error.ll
M llvm/test/CodeGen/DirectX/sin.ll
A llvm/test/CodeGen/DirectX/sin_error.ll
M llvm/utils/TableGen/DXILEmitter.cpp
Log Message:
-----------
[DirectX][NFC] Model precise overload type specification of DXIL Ops (#83917)
Implement an abstraction to specify precise overload types supported by
DXIL ops. These overload types are typically a subset of LLVM
intrinsics.
Implement the corresponding changes in DXILEmitter backend.
Add tests to verify expected errors for unsupported overload types at
code generation time.
Add tests to check for correct overload error output.
Commit: e9492ccae085b5feb850ff17a96fe8211f7f6d7d
https://github.com/llvm/llvm-project/commit/e9492ccae085b5feb850ff17a96fe8211f7f6d7d
Author: Jason Eckhardt <jeckhardt at nvidia.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/utils/TableGen/DecoderEmitter.cpp
Log Message:
-----------
[TableGen] DecoderEmitter clean-ups and modernization. (#84832)
The decoder emitter is showing some signs of age. This patch makes a few
kinds of clean-ups:
- Use ranged-for more widely, including using enumerate() for those
loops maintaining a loop index along with the items.
- Reduce the number of arguments to fieldFromInsn (removes an out
reference parameter: CodingStandards). The insn_t argument to insnWithID
can/should probably be removed soon too since modern C++ allows us to
return a local container without a copy.
- Use raw strings for the large emitted code segments. This enhances
both readability and modifiability.
Commit: 498b7d2f86b4bceb381e66b093670c7ec4bc6cc4
https://github.com/llvm/llvm-project/commit/498b7d2f86b4bceb381e66b093670c7ec4bc6cc4
Author: Changpeng Fang <changpeng.fang at amd.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/DSInstructions.td
Log Message:
-----------
AMDGPU: Copy TSFlags from Pseudo to DS_Real (#84977)
We need TSFalgs from pseudo to real.
Commit: 1a6ec906fb3781c2fc98979ec37a2a76479b0b08
https://github.com/llvm/llvm-project/commit/1a6ec906fb3781c2fc98979ec37a2a76479b0b08
Author: Daniel Paoliello <danpao at microsoft.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/include/llvm/Object/COFFImportFile.h
M llvm/lib/Object/ArchiveWriter.cpp
M llvm/lib/Object/COFFImportFile.cpp
M llvm/test/tools/llvm-dlltool/arm64ec.test
M llvm/test/tools/llvm-lib/arm64ec-implib.test
Log Message:
-----------
[Arm64EC] Copy import descriptors to the EC Map (#84834)
As noted in <https://github.com/llvm/llvm-project/pull/78537>, MSVC
places import descriptors in both the EC and regular map - that PR moved
the descriptors to ONLY the regular map, however this causes linking
errors when linking as Arm64EC:
```
bcryptprimitives.lib(bcryptprimitives.dll) : error LNK2001: unresolved external symbol __IMPORT_DESCRIPTOR_bcryptprimitives (EC Symbol)
```
This change copies import descriptors from the regular map to the EC
map, which fixes this linking error.
Commit: d73c2d5df21735805a1f46a85790db64c0615e1c
https://github.com/llvm/llvm-project/commit/d73c2d5df21735805a1f46a85790db64c0615e1c
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
Log Message:
-----------
Fix unittest after #84460: only applicable if the platform supports JIT
Commit: 76f3a084e77991cffbb8108959457ffd75f8e9c8
https://github.com/llvm/llvm-project/commit/76f3a084e77991cffbb8108959457ffd75f8e9c8
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/docs/GettingStarted.rst
Log Message:
-----------
Update GettingStarted.rst doc with negative refspec to filter user branches (#75015)
This allows to keep fetching release branches as well.
Commit: beb47e78be6a819b6501f99302c1c4c1ae84b90e
https://github.com/llvm/llvm-project/commit/beb47e78be6a819b6501f99302c1c4c1ae84b90e
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/lib/Sema/SemaCodeComplete.cpp
M clang/test/CodeCompletion/ordinary-name.c
Log Message:
-----------
[clang][CodeCompletion] Allow debuggers to code-complete reserved identifiers (#84891)
Commit: 88bf64097e453deca73c91ec7de1af7eebe296a9
https://github.com/llvm/llvm-project/commit/88bf64097e453deca73c91ec7de1af7eebe296a9
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M lldb/test/API/commands/expression/completion/Makefile
M lldb/test/API/commands/expression/completion/TestExprCompletion.py
M lldb/test/API/commands/expression/completion/main.cpp
A lldb/test/API/commands/expression/completion/sys/reserved.h
Log Message:
-----------
[lldb][test] TestExprCompletion.py: add tests for completion of reserved identifiers (#84890)
Commit: 47625e47db1d8fef6936ef48103e9aeb1fa3d328
https://github.com/llvm/llvm-project/commit/47625e47db1d8fef6936ef48103e9aeb1fa3d328
Author: Dave Clausen <daveclausen at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
A compiler-rt/test/tsan/compare_exchange_acquire_fence.cpp
Log Message:
-----------
Fix race in the implementation of __tsan_acquire() (#84923)
`__tsan::Acquire()`, which is called by `__tsan_acquire()`, has a
performance optimization which attempts to avoid acquiring the atomic
variable's mutex if the variable has no associated memory model state.
However, if the atomic variable was recently written to by a
`compare_exchange_weak/strong` on another thread, the memory model state
may be created *after* the atomic variable is updated. This is a data
race, and can cause the thread calling `Acquire()` to not realize that
the atomic variable was previously written to by another thread.
Specifically, if you have code that writes to an atomic variable using
`compare_exchange_weak/strong`, and then in another thread you read the
value using a relaxed load, followed by an
`atomic_thread_fence(memory_order_acquire)`, followed by a call to
`__tsan_acquire()`, TSAN may not realize that the store happened before
the fence, and so it will complain about any other variables you access
from both threads if the thread-safety of those accesses depended on the
happens-before relationship between the store and the fence.
This change eliminates the unsafe optimization in `Acquire()`. Now,
`Acquire()` acquires the mutex before checking for the existence of the
memory model state.
Commit: fd32e744a58fe61b4bd6acfa1d501bc1d6c1d96f
https://github.com/llvm/llvm-project/commit/fd32e744a58fe61b4bd6acfa1d501bc1d6c1d96f
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
A bolt/test/X86/linux-pci-fixup.s
Log Message:
-----------
[BOLT] Add support for Linux kernel PCI fixup section (#84982)
.pci_fixup section contains a table with entries allowing to invoke a
fixup hook whenever a problem is encountered with a PCI device. The
hookup code typically points to the start of a function. As we are not
relocating functions in the kernel (at least not yet), verify this
assumption while reading the table and ignore any functions with a fixup
code in the middle.
Commit: 422d240dc9b4b36f505c43e6fe650af4f4cf4f98
https://github.com/llvm/llvm-project/commit/422d240dc9b4b36f505c43e6fe650af4f4cf4f98
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/llgdb-tests/static-member-2.cpp
M cross-project-tests/debuginfo-tests/llgdb-tests/static-member.cpp
Log Message:
-----------
Relax tests to also work with newer versions of lldb.
- result variables are optional
- static members may print their values
- public/protected shows up in ptype output
Commit: 418f0066ebfcde8cd72d33cc103fc1c3e36a1205
https://github.com/llvm/llvm-project/commit/418f0066ebfcde8cd72d33cc103fc1c3e36a1205
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl
Log Message:
-----------
Modernize llgdb script and make it easier to debug.
Commit: 65f07b804c2c05cf49bd043f2a6e9a0020198165
https://github.com/llvm/llvm-project/commit/65f07b804c2c05cf49bd043f2a6e9a0020198165
Author: anbbna <117081688+anbbna at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/Mips/Mips32r6InstrFormats.td
M llvm/lib/Target/Mips/Mips32r6InstrInfo.td
M llvm/lib/Target/Mips/MipsInstrInfo.td
M llvm/lib/Target/Mips/MipsScheduleGeneric.td
A llvm/test/MC/Mips/mips32/nal.s
A llvm/test/MC/Mips/mips32r6/nal.s
Log Message:
-----------
[MIPS] Introduce NAL instruction support for Mipsr6 and prer6 (#84429)
NAL is an assembly idiom on Pre-R6 instruction sets (which is
implemented in binutils), or an actual instruction on Release 6
instruction set, and is used to read the PC, due to the nature of the
MIPS architecture.
Since we can't read the PC directly, on pre-R6 we use a always-not-taken
Branch and Link operation to the address of the next instruction, which
effectively writes the address to $31, thus PC is read with offset +8.
MIPS Release 6 removed the conventional Branch and Link instructions,
but kept NAL as an actual instruction for compatibility on the assembly
level. The instruction has the same encoding of the pre-R6 ones, and
with the same behavior: PC + 8 -> $31.
Commit: 8003f553a01a9a2a7eb09fe07e88f1ba9ee7d3a7
https://github.com/llvm/llvm-project/commit/8003f553a01a9a2a7eb09fe07e88f1ba9ee7d3a7
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.h
M llvm/unittests/tools/llvm-exegesis/X86/SubprocessMemoryTest.cpp
Log Message:
-----------
Reland "[llvm-exegesis] Add thread IDs to subprocess memory names (#84451)"
This reverts commit aefad27096bba513f06162fac2763089578f3de4.
This relands commit 6bbe8a296ee91754d423c59c35727eaa624f7140.
This patch was casuing build failures on non-Linux platforms due to the
default implementations for the functions not being updated. This ended
up causing out-of-line definition errors. Fixed for the relanding.
Commit: 1c3b15e9f5bc671e40bcf5d3475f5425466754ce
https://github.com/llvm/llvm-project/commit/1c3b15e9f5bc671e40bcf5d3475f5425466754ce
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.h
Log Message:
-----------
[llvm-exegesis] Use LLVM Support to get thread ID
This patch switches from manually using the Linux syscall to get the
current thread ID to using the relevant LLVM Support libraries that
abstract over the low level system details.
Commit: 94e27c265a9aeb3659175ecee81a68d1763e0180
https://github.com/llvm/llvm-project/commit/94e27c265a9aeb3659175ecee81a68d1763e0180
Author: Peiming Liu <peiming at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseReinterpretMap.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
M mlir/test/Dialect/SparseTensor/codegen.mlir
M mlir/test/Dialect/SparseTensor/constant_index_map.mlir
M mlir/test/Dialect/SparseTensor/conversion.mlir
M mlir/test/Dialect/SparseTensor/invalid.mlir
M mlir/test/Dialect/SparseTensor/roundtrip.mlir
M mlir/test/Dialect/SparseTensor/sparse_2d.mlir
M mlir/test/Dialect/SparseTensor/sparse_broadcast.mlir
M mlir/test/Dialect/SparseTensor/sparse_conv_2d_slice_based.mlir
M mlir/test/Dialect/SparseTensor/sparse_fp_ops.mlir
M mlir/test/Dialect/SparseTensor/sparse_index.mlir
M mlir/test/Dialect/SparseTensor/sparse_out.mlir
M mlir/test/Dialect/SparseTensor/sparse_reinterpret_map.mlir
M mlir/test/Dialect/SparseTensor/sparse_reshape.mlir
M mlir/test/Dialect/SparseTensor/sparse_tensor_reshape.mlir
M mlir/test/Dialect/SparseTensor/sparse_transpose.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_1d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_3d.mlir
Log Message:
-----------
[mlir][sparse] reuse tensor.insert operation to insert elements into … (#84987)
…a sparse tensor.
Commit: 64111831ed46b9e82b8626356c087ce2202f029b
https://github.com/llvm/llvm-project/commit/64111831ed46b9e82b8626356c087ce2202f029b
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/llgdb-tests/forward-declare-class.cpp
Log Message:
-----------
Relax test to work with newer versions of lldb
Commit: bb5921e2a2da4a87016e623deb8c2eaed7f1f5a8
https://github.com/llvm/llvm-project/commit/bb5921e2a2da4a87016e623deb8c2eaed7f1f5a8
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/include/llvm-libc-macros/math-macros.h
Log Message:
-----------
[libc] Include FP_* macros in math.h (#84996)
These are used unconditionally by libc++ math.h.
This is related to issue #84879.
Commit: accfbf4e4959957db0993a15bab7316001131df3
https://github.com/llvm/llvm-project/commit/accfbf4e4959957db0993a15bab7316001131df3
Author: Zahi Moudallal <128723247+zahimoud at users.noreply.github.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
M mlir/test/Target/LLVMIR/rocdl.mlir
Log Message:
-----------
[MLIR][ROCDL] Add BallotOp and lit test (#84856)
Commit: e2468bf16a0c1f63a39aa417c15c03ebd77fab9e
https://github.com/llvm/llvm-project/commit/e2468bf16a0c1f63a39aa417c15c03ebd77fab9e
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M lldb/tools/debugserver/source/MacOSX/MachProcess.mm
Log Message:
-----------
[lldb][debugserver] Update flags past to app launch request
rdar://117421999
Commit: 2f400a2fd77b44d34281792aca84c42e149095e7
https://github.com/llvm/llvm-project/commit/2f400a2fd77b44d34281792aca84c42e149095e7
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/docs/GlobalISel/GenericOpcode.rst
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
A llvm/test/MachineVerifier/test_g_vscale.mir
Log Message:
-----------
[GISEL] Add G_VSCALE instruction (#84542)
Commit: f467cc9caf37fcf6b3523271f977585c39372d55
https://github.com/llvm/llvm-project/commit/f467cc9caf37fcf6b3523271f977585c39372d55
Author: Dave Clausen <daveclausen at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M compiler-rt/test/tsan/compare_exchange_acquire_fence.cpp
Log Message:
-----------
[tsan] Add missing link option to tsan test after #84923
Pull Request: https://github.com/llvm/llvm-project/pull/85003
Commit: 2aacb56e8361213c1bd69c2ceafdea3aa0ca9125
https://github.com/llvm/llvm-project/commit/2aacb56e8361213c1bd69c2ceafdea3aa0ca9125
Author: 4ast <alexei.starovoitov at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/lib/Basic/Targets/BPF.cpp
M clang/test/Preprocessor/bpf-predefined-macros.c
M llvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp
M llvm/lib/Target/BPF/BPF.h
A llvm/lib/Target/BPF/BPFASpaceCastSimplifyPass.cpp
M llvm/lib/Target/BPF/BPFCheckAndAdjustIR.cpp
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/lib/Target/BPF/BPFTargetMachine.cpp
M llvm/lib/Target/BPF/CMakeLists.txt
A llvm/test/CodeGen/BPF/addr-space-auto-casts.ll
A llvm/test/CodeGen/BPF/addr-space-cast.ll
A llvm/test/CodeGen/BPF/addr-space-gep-chain.ll
A llvm/test/CodeGen/BPF/addr-space-globals.ll
A llvm/test/CodeGen/BPF/addr-space-globals2.ll
A llvm/test/CodeGen/BPF/addr-space-phi.ll
A llvm/test/CodeGen/BPF/addr-space-simplify-1.ll
A llvm/test/CodeGen/BPF/addr-space-simplify-2.ll
A llvm/test/CodeGen/BPF/addr-space-simplify-3.ll
A llvm/test/CodeGen/BPF/addr-space-simplify-4.ll
A llvm/test/CodeGen/BPF/addr-space-simplify-5.ll
M llvm/test/CodeGen/BPF/assembler-disassembler.s
Log Message:
-----------
BPF address space insn (#84410)
This commit aims to support BPF arena kernel side
[feature](https://lore.kernel.org/bpf/20240209040608.98927-1-alexei.starovoitov@gmail.com/):
- arena is a memory region accessible from both BPF program and
userspace;
- base pointers for this memory region differ between kernel and user
spaces;
- `dst_reg = addr_space_cast(src_reg, dst_addr_space, src_addr_space)`
translates src_reg, a pointer in src_addr_space to dst_reg, equivalent
pointer in dst_addr_space, {src,dst}_addr_space are immediate constants;
- number 0 is assigned to kernel address space;
- number 1 is assigned to user address space.
On the LLVM side, the goal is to make load and store operations on arena
pointers "transparent" for BPF programs:
- assume that pointers with non-zero address space are pointers to
arena memory;
- assume that arena is identified by address space number;
- assume that address space zero corresponds to kernel address space;
- assume that every BPF-side load or store from arena is done via
pointer in user address space, thus convert base pointers using
`addr_space_cast(src_reg, 0, 1)`;
Only load, store, cmpxchg and atomicrmw IR instructions are handled by
this transformation.
For example, the following C code:
```c
#define __as __attribute__((address_space(1)))
void copy(int __as *from, int __as *to) { *to = *from; }
```
Compiled to the following IR:
```llvm
define void @copy(ptr addrspace(1) %from, ptr addrspace(1) %to) {
entry:
%0 = load i32, ptr addrspace(1) %from, align 4
store i32 %0, ptr addrspace(1) %to, align 4
ret void
}
```
Is transformed to:
```llvm
%to2 = addrspacecast ptr addrspace(1) %to to ptr ;; !
%from1 = addrspacecast ptr addrspace(1) %from to ptr ;; !
%0 = load i32, ptr %from1, align 4, !tbaa !3
store i32 %0, ptr %to2, align 4, !tbaa !3
ret void
```
And compiled as:
```asm
r2 = addr_space_cast(r2, 0, 1)
r1 = addr_space_cast(r1, 0, 1)
r1 = *(u32 *)(r1 + 0)
*(u32 *)(r2 + 0) = r1
exit
```
Co-authored-by: Eduard Zingerman <eddyz87 at gmail.com>
Commit: d014708a217beaef04f9533d311c68bda71a52f7
https://github.com/llvm/llvm-project/commit/d014708a217beaef04f9533d311c68bda71a52f7
Author: Roger Ferrer Ibáñez <roger.ferrer at bsc.es>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/Mips/MipsISelLowering.cpp
M llvm/lib/Target/Mips/MipsISelLowering.h
M llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
Log Message:
-----------
[llvm][Mips] Use a Target ISD opcode for PseudoD_SELECT (#84294)
The Mips target uses two TargetOpcode enumerators called
`PseudoD_SELECT_I` and `PseudoD_SELECT_I64`. A SDAG node is created
using these enumerators which is manually selected in
`MipsSEISelDAGToDAG.cpp` and ultimately expanded in
`EmitInstrWithCustomInserter` in `MipsISelLowering.cpp`.
This is not causing any upstream build to fail at the moment but it is
not guaranteed that these enumerators do not clash with Target ISD nodes
(i.e. those in the `MipsISD` namespace). We have seen this happening in
our downstream builds in which `Mips::PseudoD_SELECT_I` ends having the
same integer value as `MipsISD::VEXTRACT_ZEXT_ELT`. This confuses the
function `trySelect` in `MipsSEISelDAGToDAG.cpp` and causes a crash in 3
tests.
This change adds a new Target ISD opcode for these two cases and uses
them for the SDAG nodes. No test is included because this is a potential
error in the future not one that can be demonstrated in the current
codebase.
Commit: 97c0cad388e5d3f5089a05001149ea7eeabbd777
https://github.com/llvm/llvm-project/commit/97c0cad388e5d3f5089a05001149ea7eeabbd777
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/BPF/BUILD.gn
Log Message:
-----------
[gn build] Port 2aacb56e8361
Commit: 8bda5657332c7a94900d3eb2891d2b86e60b0e68
https://github.com/llvm/llvm-project/commit/8bda5657332c7a94900d3eb2891d2b86e60b0e68
Author: Qizhi Hu <836744285 at qq.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplate.cpp
A clang/test/SemaTemplate/PR25708.cpp
Log Message:
-----------
[Clang][Sema] Allow access to a public template alias declaration that refers to friend's private nested type (#83847)
This patch attempts to fix
https://github.com/llvm/llvm-project/issues/25708
Current access check missed qualifier(`NestedNameSpecifier`) in friend
class checking. Add it to `Records` of `EffectiveContext` by changing
the `DeclContext` makes `MatchesFriend` work.
Co-authored-by: huqizhi <836744285 at qq.com>
Commit: 0fae4530e8476328f9a19b3ea4338b3a1e2187a8
https://github.com/llvm/llvm-project/commit/0fae4530e8476328f9a19b3ea4338b3a1e2187a8
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Fix mistake in example (#84849)
Commit: dcd9f49c2214891e3e0faffa70cf1a082434592a
https://github.com/llvm/llvm-project/commit/dcd9f49c2214891e3e0faffa70cf1a082434592a
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
Log Message:
-----------
[sanitizer][windows] report symbols in clang_rt. or \compiler-rt\lib\ as internal. (#84971)
This is the windows equivalent to the existing filters.
Work from https://github.com/llvm/llvm-project/pull/81677 that can be
applied separately (and is actually not critical for that PR)
Commit: c1ac9a09d04e9be8f8f4860416528baf3691848d
https://github.com/llvm/llvm-project/commit/c1ac9a09d04e9be8f8f4860416528baf3691848d
Author: Yinying Li <yinyingli at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_block.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_dyn.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_element.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_ptr.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2dense.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2sparse.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_coo_test.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dilated_conv_2d_nhwc_hwcf.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dot.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_expand.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_expand_shape.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_filter_conv2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_flatten.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_foreach_slices.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_generate.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_index.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_index_dense.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_3d.mlir
Log Message:
-----------
[mlir][sparse] Finish migrating integration tests to use sparse_tensor.print (#84997)
Commit: 16ae493f56c1857ec0f6f2777e9b8a2e5151b4ef
https://github.com/llvm/llvm-project/commit/16ae493f56c1857ec0f6f2777e9b8a2e5151b4ef
Author: Peter Rong <peterrong96 at gmail.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/lib/FuzzMutate/OpDescriptor.cpp
Log Message:
-----------
[FuzzMutate] Only use undef when explictly asked to (#84959)
Per discussion in https://github.com/SecurityLab-UCD/IRFuzzer/issues/49,
generating undef during fuzzing seems to be less fruitful. Let's
eliminate undef in favor of poison unless the user explicitly asked for
it.
Signed-off-by: Peter Rong <PeterRong96 at gmail.com>
Commit: c6a93fe80b3cf30ff82d06e959c1177798c858ae
https://github.com/llvm/llvm-project/commit/c6a93fe80b3cf30ff82d06e959c1177798c858ae
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/src/__support/GPU/utils.h
Log Message:
-----------
[libc] Use __builtin_ffsll for RPC lane mask (#85000)
src/__support/GPU/utils.h doesn't compile on a 32-bit platforms because
__builtin_ffsl uses long which is a 32-bit number. Use __builtin_ffsll
which uses long long which is guaranteed to be at least 64-bits.
Commit: 9d6c43b4aed117f53167e72749b31a943941345d
https://github.com/llvm/llvm-project/commit/9d6c43b4aed117f53167e72749b31a943941345d
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
Log Message:
-----------
[NFC] [C++20] [Modules] [P1689] [Scanner] Don't use thread pool in P1689 per file mode (#84285)
I suddenly found that the clang scan deps may use all concurrent threads
to scan the files. It makes sense in the batch mode. But in P1689 per
file mode, it simply wastes times and resources.
This patch itself should be a NFC patch. It simply moves codes.
Commit: 88986d65e4ed1b2ddd6693ff3e70b84436af767a
https://github.com/llvm/llvm-project/commit/88986d65e4ed1b2ddd6693ff3e70b84436af767a
Author: Yinying Li <yinyingli at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_generate.mlir
Log Message:
-----------
[mlir][sparse] Fix sparse_generate test (#85009)
std::uniform_int_distribution may behave differently in different
systems.
Commit: 096d061c1c2f91edef7186bd8b61067020f49898
https://github.com/llvm/llvm-project/commit/096d061c1c2f91edef7186bd8b61067020f49898
Author: Sterling Augustine <saugustine at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
Log Message:
-----------
Add missing dependency after 80ab8234ac309418637488b97e0a62d8377b2ecf
Commit: 34cf6847752a3aad68eaa889ab6e0073a38fc2db
https://github.com/llvm/llvm-project/commit/34cf6847752a3aad68eaa889ab6e0073a38fc2db
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/spec/posix.td
M libc/spec/spec.td
M libc/spec/stdc.td
Log Message:
-----------
[libc] Move `struct timespec` from POSIX to StdC (#85010)
`struct timespec` is actually defined in the C standard, not POSIX.
Commit: a62222f5f0bf30a5437255521df62750060a4bf4
https://github.com/llvm/llvm-project/commit/a62222f5f0bf30a5437255521df62750060a4bf4
Author: Sterling Augustine <saugustine at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
Update BUILD.bazel for 0ebf511ad011a83022edb171e044c98d9d16b1fa
Commit: 5d7796e674224be54c48a8db981f4134845bcc7c
https://github.com/llvm/llvm-project/commit/5d7796e674224be54c48a8db981f4134845bcc7c
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/Serialization/ASTWriter.h
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Serialization/GeneratePCH.cpp
Log Message:
-----------
[NFC] [C++20] [Modules] Refactor ReducedBMIGenerator
Changes:
- Don't lookup the emitting module from HeaderSearch. We will use the
module from the ASTContext directly.
- Remove some useless arguments. Let's addback in the future if
required.
Commit: 15a55486a54183d4fc597ed86c0d49fe9482f2bd
https://github.com/llvm/llvm-project/commit/15a55486a54183d4fc597ed86c0d49fe9482f2bd
Author: Michael Flanders <mkf727 at cs.washington.edu>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/nextafterf128.cpp
A libc/src/math/nextafterf128.h
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/nextafterf128_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/nextafterf128_test.cpp
Log Message:
-----------
[libc][math] Adds entrypoint and test for `nextafterf128` (#84882)
Commit: e4edbae0aa6a9739954ee3b494b18f8c599d9d79
https://github.com/llvm/llvm-project/commit/e4edbae0aa6a9739954ee3b494b18f8c599d9d79
Author: Lu Weining <luweining at loongson.cn>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/test/CodeGen/LoongArch/lasx/intrinsic-permi.ll
Log Message:
-----------
Revert "[llvm][LoongArch] Improve loongarch_lasx_xvpermi_q instrinsic" (#84708)
Reverts llvm/llvm-project#82984
See the discussion in https://github.com/llvm/llvm-project/pull/83540.
Commit: 2dbaf265255a5fa9643a8092ec2dffa881d2cf93
https://github.com/llvm/llvm-project/commit/2dbaf265255a5fa9643a8092ec2dffa881d2cf93
Author: Jeff Niu <jeff at modular.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/test/IR/custom-print-parse.mlir
M mlir/test/IR/invalid-custom-print-parse.mlir
M mlir/test/lib/Dialect/Test/TestDialect.cpp
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/mlir-tblgen/attr-or-type-format.td
M mlir/test/mlir-tblgen/op-format.td
M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
M mlir/tools/mlir-tblgen/OpFormatGen.cpp
Log Message:
-----------
[mlir][ods] Fix generation of optional custom parsers (#84821)
We need to generate `.has_value` for `OptionalParseResult`, also ensure
that `auto result` doesn't conflict with `result` which is the variable
name for `OperationState`.
Commit: e25bf70d50cbf8bdebeacdaf3313486c1b1d0395
https://github.com/llvm/llvm-project/commit/e25bf70d50cbf8bdebeacdaf3313486c1b1d0395
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
M libc/config/baremetal/arm/headers.txt
M libc/config/baremetal/riscv/headers.txt
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-types/CMakeLists.txt
A libc/include/llvm-libc-types/mbstate_t.h
A libc/include/uchar.h.def
M libc/spec/spec.td
M libc/spec/stdc.td
Log Message:
-----------
[libc] Add an empty definition of mbstate_t (#84993)
We expect to eventually provide a complete implementation, but having an
empty definition is necessary to unblock the use of libc++ in embedded
environments.
See #84884 for more details.
Commit: a0283987d07c2d4ce2cc5a4adaee0512f9553797
https://github.com/llvm/llvm-project/commit/a0283987d07c2d4ce2cc5a4adaee0512f9553797
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
Log Message:
-----------
[libc] Include additional baremetal entrypoints (#85020)
These functions are usable on embedded platforms and are sometimes used
in various baremetal projects.
Commit: deebf6b312227e028dd3258b162306b9cdb21cf7
https://github.com/llvm/llvm-project/commit/deebf6b312227e028dd3258b162306b9cdb21cf7
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M compiler-rt/test/lit.common.cfg.py
M compiler-rt/test/tsan/getline_nohang.cpp
Log Message:
-----------
[tsan] Disabled test dead locking on glibc-2.38
https://github.com/google/sanitizers/issues/1733
Commit: 53613044ddf1bab186cde8d687f7f41bc0b1f9b1
https://github.com/llvm/llvm-project/commit/53613044ddf1bab186cde8d687f7f41bc0b1f9b1
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/include/llvm/ObjCopy/CommonConfig.h
M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
Log Message:
-----------
[llvm-objcopy] Use SmallVector to make some structs smaller. NFC
Commit: 0d98582c8b86644e77f8ddd68fc251e41127b7f4
https://github.com/llvm/llvm-project/commit/0d98582c8b86644e77f8ddd68fc251e41127b7f4
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M llvm/include/llvm/ObjCopy/CommonConfig.h
M llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
Log Message:
-----------
[llvm-objcopy] Remove unneeded #include. NFC
Commit: 4d62929852849f768d7397f634cfdebc85de96a4
https://github.com/llvm/llvm-project/commit/4d62929852849f768d7397f634cfdebc85de96a4
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Frontend/FrontendActions.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/Parser.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaModule.cpp
M clang/test/CXX/module/dcl.dcl/dcl.module/dcl.module.interface/p1.cppm
R clang/test/Modules/missing-module-declaration.cppm
M clang/test/Modules/pr72828.cppm
Log Message:
-----------
[C++20] [Modules] Disambuguous Clang module and C++20 Named module further
This patch tries to make the boundary of clang module and C++20 named
module more clear.
The changes included:
- Rename `TranslationUnitKind::TU_Module` to
`TranslationUnitKind::TU_ClangModule`.
- Rename `Sema::ActOnModuleInclude` to `Sema::ActOnAnnotModuleInclude`.
- Rename `ActOnModuleBegin` to `Sema::ActOnAnnotModuleBegin`.
- Rename `Sema::ActOnModuleEnd` to `Sema::ActOnAnnotModuleEnd`.
- Removes a warning if we're trying to compile a non-module unit as
C++20 module unit. This is not actually useful and makes (the future)
implementation unnecessarily complex.
This patch meant to be a NFC fix. But it shows that it fixed a bug
suprisingly that previously we would surppress the unused-value warning
in named modules. Because it shares the same logic with clang modules,
which has headers semantics. This shows the change is meaningful.
Commit: fe1d02b08ce2ca74de5b18d9f141d503b7985ec5
https://github.com/llvm/llvm-project/commit/fe1d02b08ce2ca74de5b18d9f141d503b7985ec5
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_interceptors.cpp
M compiler-rt/lib/lsan/lsan_interceptors.cpp
M compiler-rt/lib/msan/msan_interceptors.cpp
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
A compiler-rt/test/sanitizer_common/TestCases/Linux/static-link.c
Log Message:
-----------
[sanitizer] Reject unsupported -static at link time (#83524)
Most sanitizers don't support static linking. One primary reason is the
incompatibility with interceptors. `GetTlsSize` is another reason.
asan/memprof use `__interception::DoesNotSupportStaticLinking`
(`_DYNAMIC` reference) to reject -static at link time. Port this
detector to other sanitizers. dfsan actually supports -static for
certain cases. Don't touch dfsan.
Commit: cd2f6163137dce45d909aa445cfd57b7188f8ed1
https://github.com/llvm/llvm-project/commit/cd2f6163137dce45d909aa445cfd57b7188f8ed1
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
Log Message:
-----------
AMDGPU: Use list-table for metadata table (#85024)
The table syntax for sphinx is really insufferably whitespace dependent.
I've been meaning to convert the existing attribute and intrinsic tables
to use list-table, which is less painful to merge.
Commit: 0a443f13b49b3f392461a0bb60b0146cfc4607c7
https://github.com/llvm/llvm-project/commit/0a443f13b49b3f392461a0bb60b0146cfc4607c7
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
M llvm/lib/Target/SPIRV/SPIRVUtils.h
M llvm/test/CodeGen/SPIRV/ComparePointers.ll
M llvm/test/CodeGen/SPIRV/capability-kernel.ll
M llvm/test/CodeGen/SPIRV/pointers/getelementptr-addressspace.ll
M llvm/test/CodeGen/SPIRV/pointers/getelementptr-base-type.ll
M llvm/test/CodeGen/SPIRV/pointers/kernel-argument-pointer-addressspace.ll
M llvm/test/CodeGen/SPIRV/pointers/kernel-argument-pointer-type-deduction-no-bitcast-to-generic.ll
M llvm/test/CodeGen/SPIRV/pointers/kernel-argument-pointer-type.ll
M llvm/test/CodeGen/SPIRV/pointers/load-addressspace.ll
M llvm/test/CodeGen/SPIRV/pointers/store-operand-ptr-to-struct.ll
M llvm/test/CodeGen/SPIRV/pointers/struct-opaque-pointers.ll
M llvm/test/CodeGen/SPIRV/pointers/two-bitcast-or-param-users.ll
M llvm/test/CodeGen/SPIRV/pointers/two-subsequent-bitcasts.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-by-call-rev.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-by-call.ll
A llvm/test/CodeGen/SPIRV/pointers/typeof-ptr-int.ll
M llvm/test/CodeGen/SPIRV/relationals.ll
M llvm/test/CodeGen/SPIRV/simple.ll
M llvm/test/CodeGen/SPIRV/transcoding/AtomicCompareExchangeExplicit_cl20.ll
M llvm/test/CodeGen/SPIRV/transcoding/BitReversePref.ll
M llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange.ll
M llvm/test/CodeGen/SPIRV/transcoding/BuildNDRange_2.ll
M llvm/test/CodeGen/SPIRV/transcoding/ConvertPtr.ll
M llvm/test/CodeGen/SPIRV/transcoding/DecorationAlignment.ll
M llvm/test/CodeGen/SPIRV/transcoding/DecorationMaxByteOffset.ll
M llvm/test/CodeGen/SPIRV/transcoding/DivRem.ll
M llvm/test/CodeGen/SPIRV/transcoding/ExecutionMode_SPIR_to_SPIRV.ll
M llvm/test/CodeGen/SPIRV/transcoding/GlobalFunAnnotate.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/atomic_cmpxchg.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/atomic_legacy.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/atomic_work_item_fence.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/barrier.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/sub_group_mask.ll
M llvm/test/CodeGen/SPIRV/transcoding/OpenCL/work_group_barrier.ll
M llvm/test/CodeGen/SPIRV/transcoding/atomic_flag.ll
M llvm/test/CodeGen/SPIRV/transcoding/atomic_load_store.ll
M llvm/test/CodeGen/SPIRV/transcoding/bitcast.ll
M llvm/test/CodeGen/SPIRV/transcoding/block_w_struct_return.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_calls.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_arithmetics.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_opt.ll
M llvm/test/CodeGen/SPIRV/transcoding/check_ro_qualifier.ll
M llvm/test/CodeGen/SPIRV/transcoding/cl-types.ll
M llvm/test/CodeGen/SPIRV/transcoding/clk_event_t.ll
M llvm/test/CodeGen/SPIRV/transcoding/enqueue_kernel.ll
M llvm/test/CodeGen/SPIRV/transcoding/explicit-conversions.ll
M llvm/test/CodeGen/SPIRV/transcoding/extract_insert_value.ll
M llvm/test/CodeGen/SPIRV/transcoding/fadd.ll
M llvm/test/CodeGen/SPIRV/transcoding/fclamp.ll
M llvm/test/CodeGen/SPIRV/transcoding/fcmp.ll
M llvm/test/CodeGen/SPIRV/transcoding/fdiv.ll
M llvm/test/CodeGen/SPIRV/transcoding/fmod.ll
M llvm/test/CodeGen/SPIRV/transcoding/fmul.ll
M llvm/test/CodeGen/SPIRV/transcoding/fneg.ll
M llvm/test/CodeGen/SPIRV/transcoding/fp_contract_reassoc_fast_mode.ll
M llvm/test/CodeGen/SPIRV/transcoding/frem.ll
M llvm/test/CodeGen/SPIRV/transcoding/fsub.ll
M llvm/test/CodeGen/SPIRV/transcoding/get_image_num_mip_levels.ll
M llvm/test/CodeGen/SPIRV/transcoding/global_block.ll
M llvm/test/CodeGen/SPIRV/transcoding/group_ops.ll
M llvm/test/CodeGen/SPIRV/transcoding/isequal.ll
M llvm/test/CodeGen/SPIRV/transcoding/relationals_double.ll
M llvm/test/CodeGen/SPIRV/transcoding/relationals_float.ll
M llvm/test/CodeGen/SPIRV/transcoding/relationals_half.ll
Log Message:
-----------
[SPIR-V] Add implementation of G_SPLAT_VECTOR opcode and fix invalid types processing (#84766)
This PR:
* adds support for G_SPLAT_VECTOR generic opcode that may be legally
generated instead of G_BUILD_VECTOR by previous passes of the translator
(see https://github.com/llvm/llvm-project/pull/80378 for the source of
breaking changes);
* improves deduction of types for opaque pointers.
This PR also fixes the following issues:
* if a function has ptr argument(s), two functions that have different
SPIR-V type definitions may get identical LLVM function types and break
agreements of global register and duplicate checker;
* checks for pointer types do not account for TypedPointerType.
Update of tests:
* A test case is added to cover the issue with function ptr parameters.
* The first case, that is support for G_SPLAT_VECTOR generic opcode, is
covered by existing test cases.
* Multiple additional checks by `spirv-val` is added to cover more
possibilities of generation of invalid code.
Commit: 5a4e2210bd60fec854822d3fb2a2aaa1e20ad2e1
https://github.com/llvm/llvm-project/commit/5a4e2210bd60fec854822d3fb2a2aaa1e20ad2e1
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.h
Log Message:
-----------
Revert "[llvm-exegesis] Use LLVM Support to get thread ID"
This reverts commit 1c3b15e9f5bc671e40bcf5d3475f5425466754ce.
This (and/or) a related patch was causing build failures on one of the
buildbots. More information is available at
https://lab.llvm.org/buildbot/#/builders/178/builds/7015.
Commit: 1fe9c417a0bf143f9bb9f9e1fbf7b20f44196883
https://github.com/llvm/llvm-project/commit/1fe9c417a0bf143f9bb9f9e1fbf7b20f44196883
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.h
M llvm/unittests/tools/llvm-exegesis/X86/SubprocessMemoryTest.cpp
Log Message:
-----------
Revert "Reland "[llvm-exegesis] Add thread IDs to subprocess memory names (#84451)""
This reverts commit 8003f553a01a9a2a7eb09fe07e88f1ba9ee7d3a7.
This (and/or a related commit) was causing build failures on one of the
buildbots that needs more investigation. More information is available
at https://lab.llvm.org/buildbot/#/builders/178/builds/7015.
Commit: 46682f445adfa06cb74239b17b588e36fcd4fdaa
https://github.com/llvm/llvm-project/commit/46682f445adfa06cb74239b17b588e36fcd4fdaa
Author: Danial Klimkin <dklimkin at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/InstallAPI/FrontendRecords.h
Log Message:
-----------
Fix missing include past a38b7a432d3cbb093af9310eba5b4982dc0a0243 (#85041)
Commit: 1c792d24e0a228ad49cc004a1c26bbd7cd87f030
https://github.com/llvm/llvm-project/commit/1c792d24e0a228ad49cc004a1c26bbd7cd87f030
Author: Marco Elver <elver at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/interception/interception.h
M compiler-rt/lib/sanitizer_common/sanitizer_asm.h
Log Message:
-----------
[compiler-rt] Fix interceptors with AArch64 BTI (#84061)
On AArch64 with BTI, we have to start functions with the appropriate
BTI hint to indicate that the function is a valid call target.
To support interceptors with AArch64 BTI, add "BTI c".
Commit: 0be9592b0077dc63596ce46379cf7b3bd4a405c8
https://github.com/llvm/llvm-project/commit/0be9592b0077dc63596ce46379cf7b3bd4a405c8
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
Log Message:
-----------
[clang] CTAD: Respect requires-clause of the original function template for the synthesized deduction guide (#84913)
We ignored the require-clause of the original template when building the deduction guide for type-alias CTAD, this resulted in accepting code which should be rejected (see the test case). This patch fixes it, part of #84492.
Commit: e42e97a4ada141ca1320a49e7fe03245d6765bce
https://github.com/llvm/llvm-project/commit/e42e97a4ada141ca1320a49e7fe03245d6765bce
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/SMEInstrFormats.td
A llvm/test/CodeGen/AArch64/sme-write-vg.ll
Log Message:
-----------
[AArch64][SME] Don't mark 'smstart za' as using/defining VG. (#84775)
VG is only used/defined when changing the streaming mode, using 'smstart
sm' or plainly 'smstart' (same for smstop).
Commit: 06c06e15f45acd3ea24756978629f1d78724870e
https://github.com/llvm/llvm-project/commit/06c06e15f45acd3ea24756978629f1d78724870e
Author: AtariDreams <83477269+AtariDreams at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/Transforms/Scalar/Float2Int.h
M llvm/lib/Transforms/Scalar/Float2Int.cpp
M llvm/test/Transforms/Float2Int/basic.ll
Log Message:
-----------
[Float2Int] Resolve FIXME: Pick the smallest legal type that fits (#79158)
Pick the type based on the smallest bit-width possible, using
DataLayout.
Commit: 676c495195748e8ab2755b62153a718a53f7dae9
https://github.com/llvm/llvm-project/commit/676c495195748e8ab2755b62153a718a53f7dae9
Author: lcvon007 <141613945+lcvon007 at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
Log Message:
-----------
[Attributor][FIX] Register right new created BB. (#84929)
CBBB will keep same after the first iteration so
registerManifestAddedBasicBlock would always register the same basic
block later.
Co-authored-by: laichunfeng <laichunfeng at tencent.com>
Commit: 2d62ce4bebe484f7c6855b9ef479e9b398595df9
https://github.com/llvm/llvm-project/commit/2d62ce4bebe484f7c6855b9ef479e9b398595df9
Author: mikaelholmen <mikael.holmen at ericsson.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
A llvm/test/Analysis/Lint/crash_empty_iterator.ll
Log Message:
-----------
[ValueTracking] Remove faulty dereference of "InsertBefore" (#85034)
In 2fe81edef6f
[NFC][RemoveDIs] Insert instruction using iterators in Transforms/
we changed
if (*req_idx != *i)
return FindInsertedValue(I->getAggregateOperand(), idx_range,
- InsertBefore);
+ *InsertBefore);
}
but there is no guarantee that is InsertBefore is non-empty at that
point,
which we e.g can see in the added testcase.
Instead just pass on the optional InsertBefore in the recursive call to
FindInsertedValue, as we do at several other places already.
Commit: e371ada409b225ea990b5ac0d5cafea26a6046e1
https://github.com/llvm/llvm-project/commit/e371ada409b225ea990b5ac0d5cafea26a6046e1
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_common.cpp
Log Message:
-----------
[compiler-rt] reimplements GetMemoryProfile for netbsd. (#84841)
The actual solution relies on the premise /proc/self/smaps existence.
instead relying on native api like freebsd.
fixing fuzzer build too.
Commit: 995d1d114e4e4ff708a03cdb0a975209c6197f9f
https://github.com/llvm/llvm-project/commit/995d1d114e4e4ff708a03cdb0a975209c6197f9f
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
Log Message:
-----------
[SjLjEHPrepare] Use inverse_depth_first() instead of _ext variant (NFC). (#84920)
inverse_depth_first df_iterator_default_set as default set, so there's
no need to explicitly use inverse_depth_first_ext.
PR: https://github.com/llvm/llvm-project/pull/84920
Commit: 20b15e645cdbde07ae46aefe46ede5ff4d1e8ba3
https://github.com/llvm/llvm-project/commit/20b15e645cdbde07ae46aefe46ede5ff4d1e8ba3
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/fold-global-offsets.ll
M llvm/test/CodeGen/Hexagon/addrmode-immop.mir
M llvm/test/CodeGen/NVPTX/b52037.ll
M llvm/test/CodeGen/WinCFGuard/cfguard-mingw.ll
M llvm/test/CodeGen/X86/tls-align.ll
M llvm/test/DebugInfo/X86/tu-to-non-tu.ll
M llvm/unittests/Transforms/Utils/CallPromotionUtilsTest.cpp
Log Message:
-----------
[Tests] Drop inrange attribute from some tests (NFC)
These don't actually test anything related to inrange, so drop the
attribute.
Commit: e4b27359fde552f65fd3434398a6b80104e1a20d
https://github.com/llvm/llvm-project/commit/e4b27359fde552f65fd3434398a6b80104e1a20d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/ThinLTO/X86/Inputs/devirt_single_hybrid_bar.ll
M llvm/test/ThinLTO/X86/devirt_after_filtering_unreachable.ll
M llvm/test/ThinLTO/X86/devirt_external_comdat_same_guid.ll
M llvm/test/ThinLTO/X86/devirt_local_same_guid.ll
M llvm/test/ThinLTO/X86/lower_type_test_phi.ll
M llvm/test/ThinLTO/X86/nodevirt-nonpromoted-typeid.ll
M llvm/test/ThinLTO/X86/type_test_noindircall.ll
Log Message:
-----------
[ThinLTO] Drop inrange attribute from tests (NFC)
The inrange attribute is not relevant to the optimizations being
tested here. Additionally, all the inrange attributes in these
files don't actually carry any additional information, as the
"range" covers the whole object.
Commit: 5a744776bb6192dae04360609457c9f49dce43a2
https://github.com/llvm/llvm-project/commit/5a744776bb6192dae04360609457c9f49dce43a2
Author: dyung <douglas.yung at sony.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/llgdb-tests/forward-declare-class.cpp
Log Message:
-----------
Mark test as XFAIL that started failing after 418f0066eb. (#85027)
Similar failures were previously seen and XFAILed in
https://reviews.llvm.org/D118468.
See the phabricator review for a description of the problem, and the
linked discourse thread for what the failing output looks like.
This change should fix the issue on two buildbots that are running older
versions of GDB:
- https://lab.llvm.org/buildbot/#/builders/217/builds/37559
- https://lab.llvm.org/buildbot/#/builders/247/builds/15173
Commit: 560d7c51fdee4cc15766aa9b62c0cd8f0f18a353
https://github.com/llvm/llvm-project/commit/560d7c51fdee4cc15766aa9b62c0cd8f0f18a353
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[DAG] Add SDPatternMatch m_And/m_Or/m_Xor matchers for logic ops
Commit: 99be3875fb161a5786aaad5dab0b92fa052e47d1
https://github.com/llvm/llvm-project/commit/99be3875fb161a5786aaad5dab0b92fa052e47d1
Author: Jonathan Thackray <jonathan.thackray at arm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/TargetParser/Host.cpp
Log Message:
-----------
[ARM][AArch64] Add missing Arm CPU part-ids to enable -mcpu=native (#84899)
Update Host.cpp with some missing Arm CPU part identifiers,
to enable `-mcpu=native` on these processors. These are found in
the Technical Reference Manuals listed under "part num" or "part no"
Commit: a7af53e99bb1fc92f45c14df2acf2da8f849af2f
https://github.com/llvm/llvm-project/commit/a7af53e99bb1fc92f45c14df2acf2da8f849af2f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/xor.ll
Log Message:
-----------
[DAG] visitSUB - convert some folds to use SDPatternMatch
General cleanup and allows us to handle several commutable matches with a single pattern
Commit: 7cd61f888c479da51215071336b34f6918cad3d8
https://github.com/llvm/llvm-project/commit/7cd61f888c479da51215071336b34f6918cad3d8
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
Log Message:
-----------
[AMDGPU] Remove unneeded MnemonicAlias. NFC.
This is unneeded because MUBUF_Real_Atomic_gfx11_gfx12 on the line above
generates it automatically.
Commit: ceb744eb2fa0895db1526110462745962fdf43c0
https://github.com/llvm/llvm-project/commit/ceb744eb2fa0895db1526110462745962fdf43c0
Author: Harald van Dijk <harald at gigawatt.nl>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/test/CodeGen/AMDGPU/bf16.ll
M llvm/test/CodeGen/AMDGPU/clamp.ll
M llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
M llvm/test/CodeGen/AMDGPU/fcanonicalize.f16.ll
M llvm/test/CodeGen/AMDGPU/fcanonicalize.ll
M llvm/test/CodeGen/AMDGPU/fneg-combines.f16.ll
M llvm/test/CodeGen/AMDGPU/fneg-combines.new.ll
M llvm/test/CodeGen/AMDGPU/llvm.maxnum.f16.ll
M llvm/test/CodeGen/AMDGPU/llvm.minnum.f16.ll
M llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll
Log Message:
-----------
[AMDGPU] Fix canonicalization of truncated values. (#83054)
We were relying on roundings to implicitly canonicalize, which is
generally safe, except with roundings that may be optimized away.
Fixes #82937.
Commit: c18e1215c4f387058961651148be730144d3537b
https://github.com/llvm/llvm-project/commit/c18e1215c4f387058961651148be730144d3537b
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/test/Transforms/InstCombine/zext.ll
Log Message:
-----------
[InstCombine] Simplify `zext nneg i1 X` to zero (#85043)
Alive2: https://alive2.llvm.org/ce/z/Wm6kCk
Commit: 203757776826cfd164c537048ec90f5ada50cae2
https://github.com/llvm/llvm-project/commit/203757776826cfd164c537048ec90f5ada50cae2
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-ar.rst
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/Object/Archive.h
M llvm/lib/Object/Archive.cpp
M llvm/lib/Object/ArchiveWriter.cpp
A llvm/test/tools/llvm-ar/coff-symtab.test
A llvm/test/tools/llvm-ar/no-symtab.yaml
M llvm/tools/llvm-ar/llvm-ar.cpp
Log Message:
-----------
[llvm-ar] Use COFF archive format for COFF targets. (#82898)
Detect COFF files by default and allow specifying it with --format
argument.
This is important for ARM64EC, which uses a separated symbol map for EC
symbols. Since K_COFF is mostly compatible with K_GNU, this shouldn't
really make a difference for other targets.
This originally landed as #82642, but was reverted due to test failures
in tests using no symbol table. Since COFF symbol can't express it,
fallback to GNU format in that case.
Commit: 9e406ef4f4b089f88e74b2713f0fbee51b9537d6
https://github.com/llvm/llvm-project/commit/9e406ef4f4b089f88e74b2713f0fbee51b9537d6
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/include/variant
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/conv.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/conv.pass.cpp
M libcxx/test/support/variant_test_helpers.h
Log Message:
-----------
[libc++] Remove _LIBCPP_ENABLE_NARROWING_CONVERSIONS_IN_VARIANT (#83928)
This was slated for removal in LLVM 19.
Commit: 5c3d001668ec6117045a9750a1f9d7e3995adfee
https://github.com/llvm/llvm-project/commit/5c3d001668ec6117045a9750a1f9d7e3995adfee
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
Log Message:
-----------
AMDGPU: Don't use table for metadata docs, and fix section headers (#85046)
Commit: 9fa866020395b215ece6140c2fedc7c31950272c
https://github.com/llvm/llvm-project/commit/9fa866020395b215ece6140c2fedc7c31950272c
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/MC/AMDGPU/gfx12_asm_vbuffer_mubuf.s
Log Message:
-----------
[AMDGPU] Test new GFX12 opcode name buffer_atomic_min_num_f32
The old name buffer_atomic_min_f32 is still tested as part of the alias
tests.
Commit: e48d5a838f69e0a8e0ae95a8aed1a8809f45465a
https://github.com/llvm/llvm-project/commit/e48d5a838f69e0a8e0ae95a8aed1a8809f45465a
Author: NagyDonat <donat.nagy at ericsson.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
M clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
M clang/unittests/StaticAnalyzer/CMakeLists.txt
A clang/unittests/StaticAnalyzer/IsCLibraryFunctionTest.cpp
M llvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Log Message:
-----------
Reapply "[analyzer] Accept C library functions from the `std` namespace"
This reapplies f32b04d4ea91ad1018c25a1d4178cc4392d34968i, after fixing
the use-after-free of ASTUnit in the unittest.
https://github.com/llvm/llvm-project/pull/84469#issuecomment-1992163439
Co-authored-by: Balazs Benics <benicsbalazs at gmail.com>
Commit: 83d178843f4322159b6469f430a8a241b8672d6d
https://github.com/llvm/llvm-project/commit/83d178843f4322159b6469f430a8a241b8672d6d
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
A llvm/test/Transforms/InstCombine/shift-cttz-ctlz.ll
Log Message:
-----------
[InstCombine] Set zero_is_poison for ctlz/cttz if they are only used as shift amounts (#85035)
Alive2: https://alive2.llvm.org/ce/z/r-67t9
It would improve the codegen if the target doesn't provide a defined
value for ctlz/cttz with zero.
Commit: 960b4aa6dab69125778f230c4c94f2d19c96cc87
https://github.com/llvm/llvm-project/commit/960b4aa6dab69125778f230c4c94f2d19c96cc87
Author: Jake Egan <Jake.egan at ibm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
Log Message:
-----------
[AIX][ClangRepl] Disable new test on AIX
This new test fails on the AIX bot with error `LLVM ERROR: Incompatible object format!`. Disable for now to investigate.
Same as 86337beca2e6f939127cd3e088ec80c0cf4a0a64.
Commit: 424e0a825fe4d9e3bf98b63ef86edbc4fa5e3799
https://github.com/llvm/llvm-project/commit/424e0a825fe4d9e3bf98b63ef86edbc4fa5e3799
Author: Jake Egan <Jake.egan at ibm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
Log Message:
-----------
[ClangRepl] Add missing hashtag
Hashtag missing from commit 960b4aa6dab69125778f230c4c94f2d19c96cc87
Commit: 2cf2bc472da87bb4bf971b1448e05b9e3bd983dc
https://github.com/llvm/llvm-project/commit/2cf2bc472da87bb4bf971b1448e05b9e3bd983dc
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/lib/AST/Decl.cpp
M clang/test/CodeGen/const-init.c
A clang/test/Sema/const-init.c
Log Message:
-----------
[Clang] [CodeGen] Fix codegen bug in constant initialisation in C23 mode (#84981)
Consider the following code:
```c
bool const inf = (1.0/0.0);
```
When trying to emit the initialiser of this variable in C23, we end up
hitting a code path in codegen in `VarDecl::evaluateValueImpl()` where
we check for `IsConstantInitialization && (Ctx.getLangOpts().CPlusPlus
|| Ctx.getLangOpts().C23)`, and if that is the case and we emitted any
notes, constant evaluation fails, and as a result, codegen issues this
error:
```
<source>:1:12: error: cannot compile this static initializer yet
1 | bool const inf = (1.0/0.0);
|
```
As a fix, only fail in C23 mode if we’re initialising a `constexpr`
variable.
This fixes #84784.
Commit: 390f28702fad7b704d026b5c3e9a6030cecab01b
https://github.com/llvm/llvm-project/commit/390f28702fad7b704d026b5c3e9a6030cecab01b
Author: mahesh-attarde <145317060+mahesh-attarde at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
M llvm/utils/TableGen/DecoderEmitter.cpp
Log Message:
-----------
[CodeGen][Tablegen] Fix uninitialized var and shift overflow. (#84896)
Fix uninitialized var and shift overflow.
Commit: eb21ee49cff081911d99d29ba887c1715fc2b8fc
https://github.com/llvm/llvm-project/commit/eb21ee49cff081911d99d29ba887c1715fc2b8fc
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/test/API/python_api/run_locker/TestRunLocker.py
Log Message:
-----------
[lldb][test] Disable other runlocker test on AArch64 Linux
Flaky on the bot: https://lab.llvm.org/buildbot/#/builders/96/builds/54435
Commit: e77324decf74e8203fdee53e53c1866319ebf47c
https://github.com/llvm/llvm-project/commit/e77324decf74e8203fdee53e53c1866319ebf47c
Author: Zepp <luzepu678 at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
Log Message:
-----------
[Clang] [Docs] Add reference to documentation of `SysVABIAttr` (#85022)
We for some reason already had documentation for this attribute, but just weren’t linking to it.
Commit: 37b5eb0a0a75bdf69b96b902417906da31c88dc3
https://github.com/llvm/llvm-project/commit/37b5eb0a0a75bdf69b96b902417906da31c88dc3
Author: Zaara Syeda <95926691+syzaara at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/UsersManual.rst
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
M clang/lib/Driver/ToolChains/AIX.cpp
M clang/lib/Frontend/CompilerInstance.cpp
A clang/test/CodeGen/PowerPC/toc-data-attribute.c
A clang/test/CodeGen/PowerPC/toc-data-attribute.cpp
A clang/test/CodeGen/PowerPC/toc-data-diagnostics.c
A clang/test/CodeGen/PowerPC/toc-data-structs-arrays.cpp
A clang/test/Driver/toc-conf.c
A clang/test/Driver/tocdata-cc1.c
M llvm/include/llvm/ADT/STLExtras.h
M llvm/lib/MC/MCSectionXCOFF.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.h
A llvm/test/CodeGen/PowerPC/toc-data-large-array.ll
A llvm/test/CodeGen/PowerPC/toc-data-large-array2.ll
A llvm/test/CodeGen/PowerPC/toc-data-struct-array.ll
Log Message:
-----------
[AIX][TOC] Add -mtocdata/-mno-tocdata options on AIX (#67999)
This patch enables support that the XL compiler had for AIX under
-qdatalocal/-qdataimported.
Commit: 1402c016ffe860446552a959e9fc4696c39392f9
https://github.com/llvm/llvm-project/commit/1402c016ffe860446552a959e9fc4696c39392f9
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
M llvm/test/Transforms/LoopVectorize/dbg-outer-loop-vect.ll
Log Message:
-----------
[VPlan] Use VPBuilder to create BranchOnCond in VPHCFGBuilder.
This simplifies the code to create the recipe slightly as well as
properly retaining the debug location of the input IR.
Commit: 4e49ee55c587637e17dec7a72b9ce86d85f8f241
https://github.com/llvm/llvm-project/commit/4e49ee55c587637e17dec7a72b9ce86d85f8f241
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/test/API/functionalities/fork/concurrent_vfork/TestConcurrentVFork.py
Log Message:
-----------
[lldb][Test] Disable ConcurrentVFork tests on Arm/AArch64 Linux
They are either flaky, or not cleaning up after themselves.
See https://github.com/llvm/llvm-project/issues/85084.
Commit: 63180ba444dc09fb9e85fdb98af56b2fc86f6027
https://github.com/llvm/llvm-project/commit/63180ba444dc09fb9e85fdb98af56b2fc86f6027
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] Use SelectionDAG::getNOT helper where possible. NFC.
Commit: f18d78b477c76bc09dc580cdaedd55e121f5ebf5
https://github.com/llvm/llvm-project/commit/f18d78b477c76bc09dc580cdaedd55e121f5ebf5
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[DAG] isKnownToBeAPowerOfTwo - use sd_match to match both commutations of `x & -x` pattern`. NFC.
Allows us to remove some tricky commutation matching
Commit: f46f5a01f4d5a7dcaf4a8fde5fc44eafdd9dbf27
https://github.com/llvm/llvm-project/commit/f46f5a01f4d5a7dcaf4a8fde5fc44eafdd9dbf27
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.h
A flang/test/Lower/OpenMP/FIR/parallel-reduction-add-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-add-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-iand-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-ieor-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-ior-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-eqv-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-neqv-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-max-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-min-byref.f90
A flang/test/Lower/OpenMP/default-clause-byref.f90
A flang/test/Lower/OpenMP/delayed-privatization-reduction-byref.f90
A flang/test/Lower/OpenMP/parallel-reduction-add-byref.f90
A flang/test/Lower/OpenMP/parallel-reduction-byref.f90
A flang/test/Lower/OpenMP/parallel-wsloop-reduction-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-add-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-iand-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-ieor-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-ior-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-and-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-or-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-2-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-min2.f90
A flang/test/Lower/OpenMP/wsloop-reduction-mul-byref.f90
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A mlir/test/Target/LLVMIR/openmp-reduction-byref.mlir
Log Message:
-----------
[flang][OpenMP][OMPIRBuilder][mlir] Optionally pass reduction vars by ref (#84304)
Previously reduction variables were always passed by value into and out
of the initialization and combiner regions of the OpenMP reduction
declare operation.
This worked well for reductions of primitive types (and might perform
better than passing by reference). But passing by reference will be
useful for array and derived type reductions (e.g. to move allocation
inside of the init region).
Passing reductions by reference requires different LLVM-IR generation
when lowering from MLIR because some of the loads/stores/allocations
will now be moved inside of the init and combiner regions. This
alternate code generation is requested using a new attribute to
omp.wsloop and omp.parallel.
Existing lowerings from mlir are unaffected (these will continue to use
the by-value argument passing.
Flang will continue to pass by-value argument passing for trivial types
unless a (hidden) command line argument is supplied. Non-trivial types
will always use the by-ref lowering.
Array reductions are not ready yet (but are coming very soon). In the
meantime, this is tested by forcing existing reductions to use by-ref.
Commit series for by-ref OpenMP reductions 3/3
---------
Co-authored-by: Mats Petersson <mats.petersson at arm.com>
Commit: 3c227a31dd1046db02323868b9690a6152cfb3b8
https://github.com/llvm/llvm-project/commit/3c227a31dd1046db02323868b9690a6152cfb3b8
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/cmake/modules/AddLLVM.cmake
Log Message:
-----------
[cmake] Silence a duplicate libraries warning from Apple's linker (#85012)
ld: warning: ignoring duplicate libraries:
This triggers quite frequently in llvm's build because CMake's library
depends mechanism doesn't de-duplicate libraries on the link line.
Duplication is necessary for ELF platforms, but means something subtly
different on Darwin platforms, hence the warning. Since we don't have
much control over that from CMake, just disable the warning wholesale
whenever the linker is detected to support it.
Commit: 628a79dad30befed82ee1c115b00fa9aca5305ed
https://github.com/llvm/llvm-project/commit/628a79dad30befed82ee1c115b00fa9aca5305ed
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Log Message:
-----------
[InstCombine] Don't generate crash dialog for fixpoint verification failure (NFC)
Fixpoint verification failures outside our tests are usually not
indicative of a bug -- don't be pushy about having people report them.
Commit: 59ff907fc14aa2d02e57b4af4140949d4f8caca1
https://github.com/llvm/llvm-project/commit/59ff907fc14aa2d02e57b4af4140949d4f8caca1
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
Log Message:
-----------
[SLP]Fix PR85082: PHI node has multiple entries.
Need to record casted extractelement for the externally used scalar, not
original extract instruction.
Commit: 096ee4e16fd62cd578d20ec4e8ad4756f4e369ee
https://github.com/llvm/llvm-project/commit/096ee4e16fd62cd578d20ec4e8ad4756f4e369ee
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Semantics/check-omp-structure.cpp
A flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90
M flang/test/Semantics/OpenMP/use_device_ptr1.f90
Log Message:
-----------
[Flang][OpenMP] Implement "promotion" of use_device_ptr non-cptr arguments to use_device_addr (#82834)
This effectively implements some now deprecated OpenMP functionality
that some applications (most notably at the moment GenASiS)
unfortunately depend on (deprecated in specification version 5.2):
"If a list item in a use_device_ptr clause is not of type C_PTR, the
behavior is as if the list item appeared in a use_device_addr clause.
Support for such list items in a use_device_ptr clause is deprecated."
This PR downgrades the hard-error to a deprecated warning and "promotes"
the above cases by simply moving the offending operands from the
use_device_ptr value list to the back of the use_device_addr list (and
moves the related symbols, locs and types that form the BlockArgs
correspondingly) and then the generation of the target data construct
proceeds as normal.
Commit: 732f5368cdc297e83f8720fb13a8c848ff116ccf
https://github.com/llvm/llvm-project/commit/732f5368cdc297e83f8720fb13a8c848ff116ccf
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/include/mlir/Transforms/Inliner.h
M mlir/include/mlir/Transforms/Passes.td
M mlir/lib/Transforms/InlinerPass.cpp
M mlir/lib/Transforms/Utils/Inliner.cpp
M mlir/test/Transforms/inlining-dump-default-pipeline.mlir
A mlir/test/Transforms/inlining-threshold.mlir
Log Message:
-----------
[RFC][mlir] Add profitability callback to the Inliner. (#84258)
Discussion at https://discourse.llvm.org/t/inliner-cost-model/2992
This change adds a callback that reports whether inlining
of the particular call site (communicated via ResolvedCall argument)
is profitable or not. The default MLIR inliner pass behavior
is unchanged, i.e. the callback always returns true.
This callback may be used to customize the inliner behavior
based on the target specifics (like target instructions costs),
profitability of the inlining for further optimizations
(e.g. if inlining may enable loop optimizations or scalar optimizations
due to object shape propagation), optimization levels (e.g. -Os inlining
may be quite different from -Ofast inlining), etc.
One of the questions is whether the ResolvedCall entity represents
enough of the context for the custom inlining models to come up with
the profitability decision. I think we can start with this and
extend it as necessary.
---------
Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
Commit: e0738cc65865c31975b5bdbbf89c5a4dbbe06dc5
https://github.com/llvm/llvm-project/commit/e0738cc65865c31975b5bdbbf89c5a4dbbe06dc5
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Optimizer/Builder/Runtime/Intrinsics.cpp
M flang/runtime/Float128Math/CMakeLists.txt
A flang/runtime/Float128Math/random.cpp
A flang/runtime/random-templates.h
M flang/runtime/random.cpp
A flang/test/Lower/Intrinsics/random_number_real16.f90
Log Message:
-----------
[flang] Moved REAL(16) RANDOM_NUMBER to Float128Math library. (#85002)
Commit: 286c3b500dc36b2451683bde5d681bf6efea3e63
https://github.com/llvm/llvm-project/commit/286c3b500dc36b2451683bde5d681bf6efea3e63
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/test/Lower/Intrinsics/modulo.f90
Log Message:
-----------
[flang] Enable REAL(16) MODULO lowering. (#85005)
The lowering currently relies on the trivial operations,
so we should just lower it for REAL(16) the same way we do this
for other trivial operations.
Commit: d24ff9aec4f2741804268a66d711d6d31cd06138
https://github.com/llvm/llvm-project/commit/d24ff9aec4f2741804268a66d711d6d31cd06138
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/runtime/Float128Math/CMakeLists.txt
A flang/runtime/Float128Math/fma.cpp
M flang/runtime/Float128Math/math-entries.h
A flang/test/Lower/Intrinsics/fma_real16.f90
Log Message:
-----------
[flang][runtime] Added lowering and runtime for REAL(16) IEEE_FMA. (#85017)
Commit: 9a3000cf6700a711f3d81d071e0b6933cef46c36
https://github.com/llvm/llvm-project/commit/9a3000cf6700a711f3d81d071e0b6933cef46c36
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
Log Message:
-----------
[libc] roll out rest of stdbit.h entrypoints to gpu,linux,baremetal (#84938)
Commit: bb82092de71466728630050691fa9c20796b3cbc
https://github.com/llvm/llvm-project/commit/bb82092de71466728630050691fa9c20796b3cbc
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
M mlir/test/Conversion/TensorToLinalg/tensor-ops-to-linalg.mlir
M mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir
M mlir/test/Dialect/Linalg/generalize-pad-tensor.mlir
Log Message:
-----------
[mlir][tensor] Make getMixedPadImpl return static values when possible. (#85016)
If low and high are constants (i.e., not attributes), users still prefer
attributes. Otherwise, there could be failures in type inference. A
failure is introduced by
https://github.com/llvm/llvm-project/commit/60e562d11aeca8020de8d50ded7f0ba9e10e8843,
see the drop_known_unit_constant_low_high test for more details.
Commit: c3eccf03b365a705bc8dc043217478a82bc37a4d
https://github.com/llvm/llvm-project/commit/c3eccf03b365a705bc8dc043217478a82bc37a4d
Author: Adrian Prantl <adrian-prantl at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/source/Expression/IRExecutionUnit.cpp
Log Message:
-----------
Avoid a potential exit(1) in LLVMContext::diagnose() (#84992)
by handling *all* errors in IRExecDiagnosticHandler. The function that
call this handles all unhandled errors with an `exit(1)`.
rdar://124459751
I don't really have a testcase for this, since the crash report I got
for this involved the Swift language plugin.
Commit: cc761a7c356178009d186e70740ccb53bf0c6deb
https://github.com/llvm/llvm-project/commit/cc761a7c356178009d186e70740ccb53bf0c6deb
Author: Zaara Syeda <syzaara at ca.ibm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
M llvm/lib/Target/PowerPC/P10InstrResources.td
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCBack2BackFusion.def
M llvm/lib/Target/PowerPC/PPCFastISel.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCInstr64Bit.td
M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
M llvm/lib/Target/PowerPC/PPCMacroFusion.def
M llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp
M llvm/test/CodeGen/PowerPC/remove-copy-crunsetcrbit.mir
Log Message:
-----------
[PowerPC][NFC] Rename ADDItocL to match the 64-bit naming convention (#85099)
In preparation of adding a similar instruction for large code model on
AIX for 32-bit, rename the exisitng ADDItocL 64-instruction to ADDItocL8
to match the naming convention of other instructions with 32-bit and
64-bit variants.
Commit: f15a790fd383665ec4defa0711e975476fd8b18b
https://github.com/llvm/llvm-project/commit/f15a790fd383665ec4defa0711e975476fd8b18b
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
Log Message:
-----------
Remove use of reference lifetime extension introduced in cdde0d9
Rather than dealing with which is more readable, the named variable
doesn't seem to add value here - so omit it.
Commit: 57b991ab39348d91d8552787958ba7db1e7ceb8a
https://github.com/llvm/llvm-project/commit/57b991ab39348d91d8552787958ba7db1e7ceb8a
Author: Usman Nadeem <mnadeem at quicinc.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/arm64-convert-v4f64.ll
M llvm/test/CodeGen/AArch64/extbinopload.ll
M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/neon-truncstore.ll
M llvm/test/CodeGen/AArch64/sadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
M llvm/test/CodeGen/AArch64/ssub_sat_vec.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
M llvm/test/CodeGen/AArch64/uadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/usub_sat_vec.ll
M llvm/test/CodeGen/AArch64/vcvt-oversize.ll
M llvm/test/CodeGen/AArch64/vec-combine-compare-truncate-store.ll
M llvm/test/CodeGen/AArch64/vec3-loads-ext-trunc-stores.ll
Log Message:
-----------
[AArch64] Improve lowering of truncating uzp1 (#82457)
There were two existing patterns:
`concat_vectors(trunc(x), trunc(y)) -> uzp1(x, y)`
`concat_vectors(assertzext(trunc(x)), assertzext(trunc(y))) -> uzp1(x,
y)`
Move them into a class and add the following `assertsext` pattern to it:
`concat_vectors(assertsext(trunc(x)), assertsext(trunc(y))) -> uzp1(x,
y)`
Add the following transform for v8i8 and v4i16 result types to help with
pattern matching:
`truncating uzp1(x, y) -> trunc(concat(x, y))`
And a pattern to go with it:
`trunc(concat_vectors(x, y)) -> uzp1 (x, y)`
Add another isel pattern for v8i8 and v4i16 result vector types, similar
to
the existing concat pattern, but with a trunc node in the begining:
`trunc(concat_vectors(assertext_trunc(x), assertext_trunc(y))) ->
xtn(uzp1(x, y))`
Commit: f1015d1701d86c4e640cdbfd1928a958aea921d6
https://github.com/llvm/llvm-project/commit/f1015d1701d86c4e640cdbfd1928a958aea921d6
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Log Message:
-----------
[VPlan] Use VPBuilder to create ActiveLaneMask (NFC).
Commit: 8a8ef1cacfcd7745d2b6ad00431e6fa9ab9a2fb4
https://github.com/llvm/llvm-project/commit/8a8ef1cacfcd7745d2b6ad00431e6fa9ab9a2fb4
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendAction.cpp
A flang/test/Driver/cuda-option.f90
Log Message:
-----------
[flang][cuda] Enable cuda with -x cuda option (#84944)
Flang driver was already able to enable the CUDA language feature base
on the file extension but there was no command line option. This PR adds
one.
Commit: 5facb406e6417987ac5dfabd8f04510d7bc3fbc6
https://github.com/llvm/llvm-project/commit/5facb406e6417987ac5dfabd8f04510d7bc3fbc6
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libc/docs/gpu/support.rst
Log Message:
-----------
[libc][docs] document gpu support for stdbit.h (#85103)
Via:
https://github.com/llvm/llvm-project/pull/84938#issuecomment-1992120095
---------
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Commit: bb893fa23f6c851d957d82e14bc1aa6fbbffcaaa
https://github.com/llvm/llvm-project/commit/bb893fa23f6c851d957d82e14bc1aa6fbbffcaaa
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/test/Transforms/inlining-threshold.mlir
Log Message:
-----------
[mlir] Fix inlining-threshold.mlir test for NDEBUG builds.
Commit: ccd16085f70105d457f052543d731dd51089945b
https://github.com/llvm/llvm-project/commit/ccd16085f70105d457f052543d731dd51089945b
Author: Bhuminjay Soni <Soni5Happy at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/test/Sema/attr-cleanup.c
Log Message:
-----------
Diagnose misuse of the cleanup attribute (#80040)
This pull request fixes #79443 when the cleanup attribute is intended to
be applied to a variable declaration, passing its address to a specified
function. The problem arises when standard functions like free,
closedir, fclose, etc., are used incorrectly with this attribute,
leading to incorrect behavior.
Fixes #79443
Commit: 69afb9d7875d79fdacaaa2f22b5ee3a06faf5373
https://github.com/llvm/llvm-project/commit/69afb9d7875d79fdacaaa2f22b5ee3a06faf5373
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExpr.cpp
A clang/test/CodeGen/complex-math-mixed.c
M clang/test/CodeGen/volatile.cpp
A clang/test/Sema/complex-arithmetic.c
Log Message:
-----------
[Clang] [Sema] Fix bug in `_Complex float`+`int` arithmetic (#83063)
C23 6.3.1.8 ‘Usual arithmetic conversions’ p1 states (emphasis mine):
> Otherwise, if the corresponding real type of either operand is
`float`, the other operand is converted, *without change of type
domain*, to a type whose corresponding real type is `float`.
‘type domain’ here refers to `_Complex` vs real (i.e. non-`_Complex`);
there is another clause that states the same for `double`.
Consider the following code:
```c++
_Complex float f;
int x;
f / x;
```
After talking this over with @AaronBallman, we came to the conclusion
that `x` should be converted to `float` and *not* `_Complex float` (that
is, we should perform a division of `_Complex float / float`, and *not*
`_Complex float / _Complex float`; the same also applies to `-+*`). This
was already being done correctly for cases where `x` was already a
`float`; it’s just mixed `_Complex float`+`int` operations that
currently suffer from this problem.
This pr removes the extra `FloatingRealToComplex` conversion that we
were erroneously inserting and adds some tests to make sure we’re
actually doing `_Complex float / float` and not `_Complex float /
_Complex float` (and analogously for `double` and `-+*`).
The only exception here is `float / _Complex float`, which calls a
library function (`__divsc3`) that takes 4 `float`s, so we end up having
to convert the `float` to a `_Complex float` after all (and analogously
for `double`); I don’t believe there is a way around this.
Lastly, we were also missing tests for `_Complex` arithmetic at compile
time, so this adds some tests for that as well.
Commit: 360da83858655ad8297f3c0467c8c97ebedab5ed
https://github.com/llvm/llvm-project/commit/360da83858655ad8297f3c0467c8c97ebedab5ed
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
M llvm/include/llvm/IR/BasicBlock.h
M llvm/include/llvm/IR/DebugProgramInstruction.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/IR/PassManager.h
M llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/MIRPrinter.cpp
M llvm/lib/CodeGen/SelectOptimize.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/LLVMContextImpl.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/ValueMapper.cpp
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/Transforms/Utils/DebugifyTest.cpp
Log Message:
-----------
[RemoveDI][NFC] Rename DPValue->DbgRecord in comments and varnames (#84939)
This patch continues the ongoing rename work, replacing DPValue with
DbgRecord in comments and the names of variables, both members and
fn-local. This is the most labour-intensive part of the rename, as it is
where the most decisions have to be made about whether a given comment
or variable is referring to DPValues (equivalent to debug variable
intrinsics) or DbgRecords (a catch-all for all debug intrinsics); these
decisions are not individually difficult, but comprise a fairly large
amount of text to review.
This patch still largely performs basic string substitutions followed by
clang-format; there are almost* no places where, for example, a comment
has been expanded or modified to reflect the semantic difference between
DPValues and DbgRecords. I don't believe such a change is generally
necessary in LLVM, but it may be useful in the docs, and so I'll be
submitting docs changes as a separate patch.
*In a few places, `dbg.values` was replaced with `debug intrinsics`.
Commit: e703c735df1257022bcb6ca9de857e20e671392f
https://github.com/llvm/llvm-project/commit/e703c735df1257022bcb6ca9de857e20e671392f
Author: Changpeng Fang <changpeng.fang at amd.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/DSInstructions.td
Log Message:
-----------
AMDGPU: Remove incorrect uses of SubtaretPredicate around DS_Reals (#85001)
SubtargetPredicate is copied from DS_Pseudo to DS_Real. We should not
use another SubtargetPredicate assignment around DS_Real, because doing
so will override the predicate from DS_Pseudo.
For example, for DS_ADD_RTN_F64, SubtargetPredicate was set to
HasLdsAtomicAddF64 in Pseudo. And it will be overridden to isGFX90APlus
if we assign isGFX90APlus to SubtargetPredicate in Real definition.
Commit: 3b2694853e361d2221ec8071f815d9f5eef35b9b
https://github.com/llvm/llvm-project/commit/3b2694853e361d2221ec8071f815d9f5eef35b9b
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/test/Dialect/Linalg/transform-op-matmul-to-outerproduct.mlir
Log Message:
-----------
[mlir][nfc] Update Linalg matmul -> Vector OP test (#81416)
Updates "transform-op-matmul-to-outerproduct.mlir". Summary:
* refines TD sequence so that it's easier to reason about the
compilation pipeline (e.g.
`transform.structured.vectorize_children_and_apply_patterns`
is replaced with`transform.structured.vectorize `),
* new input dims to be able to distinguish parallel from reduction
dims,
* updates LIT variable names (makes the output easier to follow),
* removes "noise" from the expected LIT output (e.g. types).
These Linalg -> Vector tests using Transform Dialect are great reference
points for constructing lowering pipelines. This simplification +
clean-up will hopefully make it easier to follow.
Commit: 79cd2c0bb9acb4685094d6b3bf21c758aa51d3df
https://github.com/llvm/llvm-project/commit/79cd2c0bb9acb4685094d6b3bf21c758aa51d3df
Author: Nadeem, Usman <mnadeem at quicinc.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/bitcast.ll
M llvm/test/CodeGen/AArch64/shufflevector.ll
Log Message:
-----------
[AArch64] Fix tests after PR82457
Change-Id: I44a7e4a10af750b3339d6564c6ce6c2e5c17778e
Commit: 122d368b2b120ff233e66658862b90f185f65c6e
https://github.com/llvm/llvm-project/commit/122d368b2b120ff233e66658862b90f185f65c6e
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
M llvm/lib/ObjCopy/ELF/ELFObject.h
M llvm/test/tools/llvm-objcopy/ELF/Inputs/compress-debug-sections.yaml
M llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
M llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zstd.test
A llvm/test/tools/llvm-objcopy/ELF/decompress-sections.test
Log Message:
-----------
[llvm-objcopy] --[de]compress-debug-sections: don't compress SHF_ALLOC sections, only decompress .debug sections
Simplify --[de]compress-debug-sections to make it easier to add custom section [de]compression.
Change the following two behaviors to match GNU objcopy.
* --compress-debug-sections compresses SHF_ALLOC sections while GNU
doesn't.
* --decompress-debug-sections decompresses non-debug sections while GNU
doesn't.
Pull Request: https://github.com/llvm/llvm-project/pull/84885
Commit: 35f5caea5115d7dabf0c1a92c8627069d6dbd556
https://github.com/llvm/llvm-project/commit/35f5caea5115d7dabf0c1a92c8627069d6dbd556
Author: Chen Cheng <110446443+ChengChen002 at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp
Log Message:
-----------
[NFC] Corrected data type (#84880)
On windows, "&Method.first" is of type "unsigned long long *", and a
type conversion error occurs.
Commit: 13ccaf9b9d4400bb128b35ff4ac733e4afc3ad1c
https://github.com/llvm/llvm-project/commit/13ccaf9b9d4400bb128b35ff4ac733e4afc3ad1c
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
M clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
M clang/unittests/StaticAnalyzer/CMakeLists.txt
R clang/unittests/StaticAnalyzer/IsCLibraryFunctionTest.cpp
M llvm/utils/gn/secondary/clang/unittests/StaticAnalyzer/BUILD.gn
Log Message:
-----------
Revert "Reapply "[analyzer] Accept C library functions from the `std` namespace""
This reverts commit e48d5a838f69e0a8e0ae95a8aed1a8809f45465a.
Fails to build on x86-64 w/gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
with the following message:
../llvm-project/clang/unittests/StaticAnalyzer/IsCLibraryFunctionTest.cpp:41:28: error: declaration of ‘std::unique_ptr<clang::ASTUnit> IsCLibraryFunctionTest::ASTUnit’ changes meaning of ‘ASTUnit’ [-fpermissive]
41 | std::unique_ptr<ASTUnit> ASTUnit;
| ^~~~~~~
In file included from ../llvm-project/clang/unittests/StaticAnalyzer/IsCLibraryFunctionTest.cpp:4:
../llvm-project/clang/include/clang/Frontend/ASTUnit.h:89:7: note: ‘ASTUnit’ declared here as ‘class clang::ASTUnit’
89 | class ASTUnit {
| ^~~~~~~
Commit: cd20600767409b183a6d213d56f85f8041a21487
https://github.com/llvm/llvm-project/commit/cd20600767409b183a6d213d56f85f8041a21487
Author: Aleksandr Popov <42888396+aleks-tmb at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopConstrainer.cpp
M llvm/test/Transforms/IRCE/compound-loop-bound.ll
Log Message:
-----------
[LoopConstrainer] Apply loop gurads to check that loop bounds are safe (#71531)
Loop guards that apply to loop SCEV bounds allow IRCE for cases with
compound loop bounds such as:
if (K > 0 && M > 0)
for (i = 0; i < min(K, M); i++) {...}
if (K > 0 && M > 0)
for (i = min(K, M); i >= 0; i--) {...}
Otherwise SCEV couldn't prove that loops have safe bounds in these
cases.
Co-authored-by: Aleksander Popov <apopov at azul.com>
Commit: 175b533720956017bb18d1280362f6890ee15b05
https://github.com/llvm/llvm-project/commit/175b533720956017bb18d1280362f6890ee15b05
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M .github/workflows/llvm-project-tests.yml
Log Message:
-----------
workflows: Add workaround for lld failures on MacOS (#85021)
See #81967
Commit: bd77a26e9a15981114e9802d83047f42631125a2
https://github.com/llvm/llvm-project/commit/bd77a26e9a15981114e9802d83047f42631125a2
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprConstant.cpp
A clang/test/SemaCXX/constexpr-explicit-object-lambda.cpp
Log Message:
-----------
[Clang][Sema] Properly get captured 'this' pointer in lambdas with an explicit object parameter in constant evaluator (#81102)
There were some bugs wrt explicit object parameters in lambdas in the
constant evaluator:
- The code evaluating a `CXXThisExpr` wasn’t checking for explicit
object parameters at all and thus assumed that there was no `this` in
the current context because the lambda didn’t have one, even though we
were in a member function and had captured its `this`.
- The code retrieving captures as lvalues *did* account for explicit
object parameters, but it did not handle the case of the explicit object
parameter being passed by value rather than by reference.
This fixes #80997.
---------
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Commit: ab9564c315c5111f73788aec9715b488db68d895
https://github.com/llvm/llvm-project/commit/ab9564c315c5111f73788aec9715b488db68d895
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/MC/MCInstBuilder.h
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/test/tools/llvm-mca/RISCV/SiFive7/vector-integer-arithmetic.s
Log Message:
-----------
[RISCV] Add SMLoc to expanded vector pseudoinstructions in AsmParser. (#84875)
This is needed for llvm-mca to correctly apply vsetvli instruments to
these instructions.
Fixes #84799.
Commit: 0bb30f9896d9cdd92514e0a2bfdc03811831f21c
https://github.com/llvm/llvm-project/commit/0bb30f9896d9cdd92514e0a2bfdc03811831f21c
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Log Message:
-----------
[NFC] [hwasan] factor out some opt handling (#84414)
Commit: c41966161fffea6ef280fbd341ef1751f70379dd
https://github.com/llvm/llvm-project/commit/c41966161fffea6ef280fbd341ef1751f70379dd
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/tools/llvm-ar/coff-symtab.test
Log Message:
-----------
[llvm-ar] Be explicit about archive format in coff-symtab.test tests. (#85112)
Fixes test failures on AIX after #82898.
Commit: 3e6d56617f43f86d65dba04c94277dc4a40c2a86
https://github.com/llvm/llvm-project/commit/3e6d56617f43f86d65dba04c94277dc4a40c2a86
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/AArch64/gather-with-minbith-user.ll
Log Message:
-----------
[SLP][NFC]Add a test with reused buildvector node, being resized after
minbitwidth analysis.
Commit: f50d3582b4844b86ad86372028e44b52c560ec7d
https://github.com/llvm/llvm-project/commit/f50d3582b4844b86ad86372028e44b52c560ec7d
Author: Ian Anderson <iana at apple.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/lib/Basic/Module.cpp
M clang/lib/Headers/__stddef_null.h
M clang/lib/Headers/__stddef_nullptr_t.h
M clang/lib/Headers/__stddef_offsetof.h
M clang/lib/Headers/__stddef_ptrdiff_t.h
M clang/lib/Headers/__stddef_rsize_t.h
M clang/lib/Headers/__stddef_size_t.h
M clang/lib/Headers/__stddef_unreachable.h
M clang/lib/Headers/__stddef_wchar_t.h
M clang/lib/Headers/module.modulemap
M clang/lib/Lex/ModuleMap.cpp
M clang/test/Modules/no-undeclared-includes-builtins.cpp
M clang/test/Modules/stddef.c
Log Message:
-----------
[clang][modules] giving the __stddef_ headers their own modules can cause redeclaration errors with -fbuiltin-headers-in-system-modules (#84127)
On Apple platforms, some of the stddef.h types are also declared in
system headers. In particular NULL has a conflicting declaration in
<sys/_types/_null.h>. When that's in a different module from
<__stddef_null.h>, redeclaration errors can occur.
Make the \_\_stddef_ headers be non-modular in
-fbuiltin-headers-in-system-modules and restore them back to not
respecting their header guards. Still define the header guards though.
__stddef_max_align_t.h was in _Builtin_stddef_max_align_t prior to the
addition of _Builtin_stddef, and it needs to stay in a module because
struct's can't be type merged. __stddef_wint_t.h didn't used to have a
module, but leave it in it current module since it doesn't really belong
to stddef.h.
Commit: 55b90b5140a2fe5f625a1dfe9dbb4ed4df968ce0
https://github.com/llvm/llvm-project/commit/55b90b5140a2fe5f625a1dfe9dbb4ed4df968ce0
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/fuzzer/tests/CMakeLists.txt
M compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
M compiler-rt/lib/interception/tests/CMakeLists.txt
M compiler-rt/lib/msan/tests/CMakeLists.txt
M compiler-rt/lib/orc/tests/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
M compiler-rt/lib/tsan/tests/CMakeLists.txt
M compiler-rt/lib/xray/tests/CMakeLists.txt
Log Message:
-----------
[compiler-rt] Remove llvm_gtest dependency from unit tests
All these unit tests already include ${COMPILER_RT_GTEST_SOURCE} as an
input source file and the target llvm_gtest does not exist for
standalone builds. Currently the DEPS argument is ignored for standalone
builds so the missing target is not a problem, but as part of fixing a
build race for standalone builds I am planning to include those
dependencies in COMPILER_RT_TEST_STANDALONE_BUILD_LIBS configurations.
Reviewed By: vitalybuka
Pull Request: https://github.com/llvm/llvm-project/pull/83649
Commit: 27e5312a8bc8935f9c5620ff061c647d9fbcec85
https://github.com/llvm/llvm-project/commit/27e5312a8bc8935f9c5620ff061c647d9fbcec85
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
M compiler-rt/test/sanitizer_common/TestCases/corelimit.cpp
Log Message:
-----------
[compiler-rt] Avoid generating coredumps when piped to a tool
I was trying to debug why `ninja check-compiler-rt` was taking so long
to run on my system and after some debugging it turned out that most of
the time was being spent generating core dumps.
On many current Linux systems, coredumps are no longer dumped in the CWD
but instead piped to a utility such as systemd-coredumpd that stores
them in a deterministic location. This can be done by setting the
kernel.core_pattern sysctl to start with a '|'. However, when using such
a setup the kernel ignores a coredump limit of 0 (since there is no file
being written) and we can end up piping many gigabytes of data to
systemd-coredumpd which causes the test suite to freeze for a long time.
While most piped coredump handlers do respect the crashing processes'
RLIMIT_CORE, this is notable not the case for Debian's systemd-coredump
due to a local patch that changes sysctl.d/50-coredump.conf to ignore
the specified limit and instead use RLIM_INFINITY
(https://salsa.debian.org/systemd-team/systemd/-/commit/64599ffe44f0d).
Fortunately there is a workaround: the kernel recognizes the magic value
of 1 for RLIMIT_CORE to disable coredumps when piping. One byte is also
too small to generate any coredump, so it effectively behaves as if we
had set the value to zero.
The alternative to using RLIMIT_CORE=1 would be to use prctl() with the
PR_SET_DUMPABLE flag, however that also prevents ptrace(), so makes it
impossible to attach a debugger.
Fixes: https://github.com/llvm/llvm-project/issues/45797
Reviewed By: vitalybuka
Pull Request: https://github.com/llvm/llvm-project/pull/83701
Commit: 06e310fee12c3e5ea5c7ef066eab946eb84f317d
https://github.com/llvm/llvm-project/commit/06e310fee12c3e5ea5c7ef066eab946eb84f317d
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/arm64-convert-v4f64.ll
M llvm/test/CodeGen/AArch64/extbinopload.ll
M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/neon-truncstore.ll
M llvm/test/CodeGen/AArch64/sadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
M llvm/test/CodeGen/AArch64/ssub_sat_vec.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
M llvm/test/CodeGen/AArch64/uadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/usub_sat_vec.ll
M llvm/test/CodeGen/AArch64/vcvt-oversize.ll
M llvm/test/CodeGen/AArch64/vec-combine-compare-truncate-store.ll
M llvm/test/CodeGen/AArch64/vec3-loads-ext-trunc-stores.ll
Log Message:
-----------
Revert "[AArch64] Improve lowering of truncating uzp1" (#85115)
Reverts llvm/llvm-project#82457
The bot is broken, likely because of mid-air collision.
Commit: 417324a6c1e7ecb6c145b20905f918378cc824e3
https://github.com/llvm/llvm-project/commit/417324a6c1e7ecb6c145b20905f918378cc824e3
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Log Message:
-----------
[RISCV] Remove unnecessary ArrayRef. NFC
Commit: 66dd38e8dfd51209aa1fd9bae0a43a355215768f
https://github.com/llvm/llvm-project/commit/66dd38e8dfd51209aa1fd9bae0a43a355215768f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Log Message:
-----------
[RISCV] Use references to avoid unnecessary struct copies. NFC
Commit: b61fb18456ecd798b2fc340367018ab3109ebfae
https://github.com/llvm/llvm-project/commit/b61fb18456ecd798b2fc340367018ab3109ebfae
Author: Alastair Houghton <ahoughton at apple.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
Log Message:
-----------
[libc++] Fix tests on musl (#85085)
One or two of the tests need slight tweaks to make them pass when
building with musl.
rdar://118885724
Commit: a8967b060df01e46c021f718b4e2d7ed858b8726
https://github.com/llvm/llvm-project/commit/a8967b060df01e46c021f718b4e2d7ed858b8726
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/AArch64/gather-buildvector-with-minbitwidth-user.ll
Log Message:
-----------
[SLP][NFC]Add a test with buildvector with minbitwidth Root, NFC.
Commit: 0b4688403672264ab451992a3461a0df113c3bd7
https://github.com/llvm/llvm-project/commit/0b4688403672264ab451992a3461a0df113c3bd7
Author: Usman Nadeem <mnadeem at quicinc.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/arm64-convert-v4f64.ll
M llvm/test/CodeGen/AArch64/extbinopload.ll
M llvm/test/CodeGen/AArch64/fp-conversion-to-tbl.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/neon-truncstore.ll
M llvm/test/CodeGen/AArch64/sadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/shuffle-tbl34.ll
M llvm/test/CodeGen/AArch64/ssub_sat_vec.ll
M llvm/test/CodeGen/AArch64/tbl-loops.ll
M llvm/test/CodeGen/AArch64/trunc-to-tbl.ll
M llvm/test/CodeGen/AArch64/uadd_sat_vec.ll
M llvm/test/CodeGen/AArch64/usub_sat_vec.ll
M llvm/test/CodeGen/AArch64/vcvt-oversize.ll
M llvm/test/CodeGen/AArch64/vec-combine-compare-truncate-store.ll
M llvm/test/CodeGen/AArch64/vec3-loads-ext-trunc-stores.ll
Log Message:
-----------
Revert "Revert "[AArch64] Improve lowering of truncating uzp1"" (#85119)
Reverts llvm/llvm-project#85115
The fix was already merged in
https://github.com/llvm/llvm-project/commit/79cd2c0bb9acb4685094d6b3bf21c758aa51d3df
Commit: 3d45d8bc70d437283f8afe422011420d0fe6533e
https://github.com/llvm/llvm-project/commit/3d45d8bc70d437283f8afe422011420d0fe6533e
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/AArch64/user-node-not-in-bitwidths.ll
Log Message:
-----------
[SLP][NFC]Add a test with the operand node, not being in MinBWs, though
user is in.
Commit: b77c079987182748fe1746466a74633cfe057cc1
https://github.com/llvm/llvm-project/commit/b77c079987182748fe1746466a74633cfe057cc1
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
R llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
Log Message:
-----------
Revert "[SLP]Fix PR85082: PHI node has multiple entries."
This reverts commit 59ff907fc14aa2d02e57b4af4140949d4f8caca1 to fix
crash revealed in https://lab.llvm.org/buildbot/#/builders/198/builds/8881
Commit: aa68e2814d9a4bad21e4def900152b2e78e25e98
https://github.com/llvm/llvm-project/commit/aa68e2814d9a4bad21e4def900152b2e78e25e98
Author: Kolya Panchenko <87679760+nikolaypanchenko at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
A llvm/test/CodeGen/RISCV/rvv/compressstore.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-compressstore-fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-compressstore-int.ll
Log Message:
-----------
[RISCV] Support `llvm.masked.compressstore` intrinsic (#83457)
The changeset enables lowering of `llvm.masked.compressstore(%data,
%ptr, %mask)` for RVV for fixed vector type into:
```
%0 = vcompress %data, %mask, %vl
%new_vl = vcpop %mask, %vl
vse %0, %ptr, %1, %new_vl
```
Such lowering is only possible when `%data` fits into available LMULs
and otherwise `llvm.masked.compressstore` is scalarized by
`ScalarizeMaskedMemIntrin` pass.
Even though RVV spec in the section `15.8` provide alternative sequence
for compressstore, use of `vcompress + vcpop` should be a proper
canonical form to lower `llvm.masked.compressstore`. If RISC-V target
find the sequence from `15.8` better, peephole optimization can
transform `vcompress + vcpop` into that sequence.
Commit: fbd7c50065705c44e1b3d39f456963810124051b
https://github.com/llvm/llvm-project/commit/fbd7c50065705c44e1b3d39f456963810124051b
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libc/CMakeLists.txt
M llvm/CMakeLists.txt
Log Message:
-----------
[libc] Repurpose `LIBC_GPU_BUILD` option to enable the new format (#82848)
Summary:
We previously used the `LIBC_GPU_BUILD` option to control whether or not
the GPU build was enabled. This was recently replaced with a new format
that allows treating the GPU targets more directly. However, the new
format is somewhat difficult to use for people unfamiliar with the
runtimes builds, and the removal of this option somewhat broke backward
compatibility. This patch seeks to simplify enabling the GPU build by
repurposing the old enabling option and convert it to the new interface.
Unsure what the rules are here, since this is technically a `LIBC`
option living in the LLVM location.
Commit: 882992a951a3d92d5e19d4fe6c6eb9ba1e87d39c
https://github.com/llvm/llvm-project/commit/882992a951a3d92d5e19d4fe6c6eb9ba1e87d39c
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A llvm/test/Analysis/ValueTracking/knownbits-select-from-cond.ll
Log Message:
-----------
[ValueTracking] Add tests for inferring select arm bits from condition; NFC
Commit: 744a23f24b08e8b988b176173c433d64761e66b3
https://github.com/llvm/llvm-project/commit/744a23f24b08e8b988b176173c433d64761e66b3
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Analysis/ValueTracking/knownbits-select-from-cond.ll
Log Message:
-----------
[ValueTracking] Use select condition to help infer bits of arms
If we have something like `(select (icmp ult x, 8), x, y)`, we can use
the `(icmp ult x, 8)` to help compute the knownbits of `x`.
Closes #84699
Commit: 8237520eb42b37d7ed353d64a865d3ba5ac24ec6
https://github.com/llvm/llvm-project/commit/8237520eb42b37d7ed353d64a865d3ba5ac24ec6
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
Log Message:
-----------
[SLP]Fix PR85082: PHI node has multiple entries.
Need to record casted extractelement for the externally used scalar, not
original extract instruction.
Commit: 1f973efd335f34c75fcba1ccbe288fd5ece15a64
https://github.com/llvm/llvm-project/commit/1f973efd335f34c75fcba1ccbe288fd5ece15a64
Author: Martin Storsjö <martin at martin.st>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M libcxx/src/CMakeLists.txt
M libcxxabi/src/CMakeLists.txt
M libunwind/src/CMakeLists.txt
Log Message:
-----------
[runtimes] Prefer -fvisibility-global-new-delete=force-hidden (#84917)
27ce26b06655cfece3d54b30e442ef93d3e78ac7 added the new option
-fvisibility-global-new-delete=, where -fvisibility-global-new-delete=force-hidden
is equivalent to the old option -fvisibility-global-new-delete-hidden.
At the same time, the old option was deprecated.
Test for and use the new option form first; if unsupported, try
using the old form.
This avoids warnings in the MinGW builds, if built with Clang 18 or
newer.
Commit: cd8843f87af2f04a85dda12b37738596cbf4cd5e
https://github.com/llvm/llvm-project/commit/cd8843f87af2f04a85dda12b37738596cbf4cd5e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M openmp/libomptarget/test/offloading/barrier_fence.c
Log Message:
-----------
[OpenMP] Disable flaky barrier fence test (#85093)
Summary:
This test is flaky on all targets I know of. We should disable it for
now so running the test suite doesn't randomly fail 50% of the time.
Commit: 8bed754c2f965c8cbbb050be6f650b78f7fd78a6
https://github.com/llvm/llvm-project/commit/8bed754c2f965c8cbbb050be6f650b78f7fd78a6
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/lldbpexpect.py
M lldb/packages/Python/lldbsuite/test/test_categories.py
M lldb/packages/Python/lldbsuite/test/test_result.py
M lldb/test/API/benchmarks/expression/TestExpressionCmd.py
M lldb/test/API/benchmarks/expression/TestRepeatedExprs.py
M lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py
M lldb/test/API/benchmarks/startup/TestStartupDelays.py
M lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py
M lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
M lldb/test/API/terminal/TestSTTYBeforeAndAfter.py
Log Message:
-----------
[lldb][test] Add `pexpect` category for tests that `import pexpect` (#84860)
Instead of directly annotating pexpect-based tests with
`@skipIfWindows`, we can tag them with a new `pexpect` category. We
still automatically skip windows behavior by adding `pexpect` to the
skip category list if the platform is windows, but also allow
non-Windows users to skip them by configuring cmake with
`-DLLDB_TEST_USER_ARGS=--skip-category=pexpect`
As a prerequisite, remove the restriction that `@add_test_categories`
can only apply to test cases, and we make the test runner look for
categories on both the class and the test method.
Commit: c0f2177dac02903bb1ae85af5d91760d0a1b6a02
https://github.com/llvm/llvm-project/commit/c0f2177dac02903bb1ae85af5d91760d0a1b6a02
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A clang/include/clang/Basic/Builtins.def
Log Message:
-----------
Revert "[NFC] Remove unnecessary 'Builtins.def' file."
This reverts commit 5a95378659506b0ce94ceb79a43477e73c9756f4.
It was pointed out that this serves as documentation for the targets
where the builtin files have yet to be converted, so this should be left
in place. Reverting!
Commit: e2b8cc11b307aaf2717c344cbaa1d3eb5a4e0401
https://github.com/llvm/llvm-project/commit/e2b8cc11b307aaf2717c344cbaa1d3eb5a4e0401
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py
Log Message:
-----------
[lldb] XFAIL TestIndirectSymbols on darwin (#85127)
```
AssertionError: 'main' != 'call_through_indirect_hidden'
```
Commit: 26bd3d0f9a5a518de02f4dc1921648cda54a0d4e
https://github.com/llvm/llvm-project/commit/26bd3d0f9a5a518de02f4dc1921648cda54a0d4e
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/cmake/caches/Fuchsia.cmake
Log Message:
-----------
[Fuchsia] Add LLDB_TEST_USER_ARGS to stage2 passthrough
Commit: b966b224b32aada3d83fb6d58abe413b5c59f3c1
https://github.com/llvm/llvm-project/commit/b966b224b32aada3d83fb6d58abe413b5c59f3c1
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
R llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
Log Message:
-----------
Revert "[SLP]Fix PR85082: PHI node has multiple entries."
This reverts commit 8237520eb42b37d7ed353d64a865d3ba5ac24ec6 to fix
a crash in https://lab.llvm.org/buildbot/#/builders/198/builds/8891.
Commit: 4dd186afd502e1e56b8f3d6d923b7f8cfa124572
https://github.com/llvm/llvm-project/commit/4dd186afd502e1e56b8f3d6d923b7f8cfa124572
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
Log Message:
-----------
[SLP]Fix PR85082: PHI node has multiple entries.
Need to record casted extractelement for the externally used scalar, not
original extract instruction.
Commit: 03e50c451427d908bbf8cf2d455de3ebba49fe4f
https://github.com/llvm/llvm-project/commit/03e50c451427d908bbf8cf2d455de3ebba49fe4f
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/include/flang/Evaluate/constant.h
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/expression.cpp
A flang/test/Semantics/call41.f90
Log Message:
-----------
[flang] Emit warning when Hollerith actual passed to CLASS(*) (#84084)
When a Hollerith actual argument is associated with an unlimited
polymorphic dummy argument, it's treated as if it were CHARACTER. Some
other compilers treat it as if it had been BOZ, so emit a portability
warning.
Resolves https://github.com/llvm/llvm-project/issues/83548.
Commit: b49d741c0c3bb21b40c925b4c1a717470181eb8d
https://github.com/llvm/llvm-project/commit/b49d741c0c3bb21b40c925b4c1a717470181eb8d
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py
Log Message:
-----------
[lldb] Skip TestIndirectSymbols (#85133)
Correction to e2b8cc11b307aaf2717c344cbaa1d3eb5a4e0401
Commit: ea848d0a6d5c17af3eb1a4e39dc712606ac684f6
https://github.com/llvm/llvm-project/commit/ea848d0a6d5c17af3eb1a4e39dc712606ac684f6
Author: MessyHack <messyhack at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp_affinity.cpp
Log Message:
-----------
[OpenMP] Sort topology after adding processor group layer. (#83943)
Various behavior around creating affinity masks and detecting uniform
topology depends on the topology being sorted.
resort topology after adding processor group layer to ensure that the
updated topology reflects the newly added processor group info.
Observed that the topology was not sorted correctly on high core count
AMD Epyc Genoa (2 sockets, 96 cores, 2 threads) using NUMA (NPS 2+).
Commit: ccfb9e6eb7429885e6d09e99cf89bce41f1ca3cc
https://github.com/llvm/llvm-project/commit/ccfb9e6eb7429885e6d09e99cf89bce41f1ca3cc
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Semantics/expression.cpp
Log Message:
-----------
[flang] Omit parent components for references to bindings (#84836)
https://github.com/llvm/llvm-project/pull/78593 changed expression
semantics to always include the names of parent components that were
necessary to access an inherited component. This turns out to have
broken calls to inherited NOPASS procedure bindings. Update the patch to
omit explicit parent components when accessing bindings, while retaining
them for component accesses (including procedure components).
Commit: af61b8e8f18df2545017ade74baee7a8a8ca99f8
https://github.com/llvm/llvm-project/commit/af61b8e8f18df2545017ade74baee7a8a8ca99f8
Author: Justice Adams <107649528+justice-adams-apple at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/cmake/modules/AddLLVM.cmake
Log Message:
-----------
[cmake] Add check_linker_flag import (#85128)
Fixing
```
CMake Error at cmake/llvm/AddLLVM.cmake:266 (check_linker_flag):
Unknown CMake command "check_linker_flag".
```
Commit: 5661188c5766c3136d1954d769825261715b1f9a
https://github.com/llvm/llvm-project/commit/5661188c5766c3136d1954d769825261715b1f9a
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/include/flang/Semantics/module-dependences.h
M flang/include/flang/Semantics/symbol.h
M flang/lib/Semantics/mod-file.cpp
M flang/test/Semantics/modfile63.f90
Log Message:
-----------
[flang] Support multiple distinct module files with same name in one … (#84838)
…compilation
Allow multiple module files with the same module name to exist in one
compilation; distinct modules are distinguished by their hashes.
Commit: af964c7e31f0728e84c97b734933fcb9a1912bce
https://github.com/llvm/llvm-project/commit/af964c7e31f0728e84c97b734933fcb9a1912bce
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
A flang/docs/RuntimeEnvironment.md
M flang/docs/index.md
M flang/runtime/environment.cpp
M flang/runtime/environment.h
M flang/runtime/pointer.cpp
Log Message:
-----------
[flang][runtime] Let FORT_CHECK_POINTER_DEALLOCATION=0 disable runtime … (#84956)
…check
Add an environment variable by which a user can disable the pointer
validation check in DEALLOCATE statement handling. This is not safe, but
it can help make a code work that allocates a pointer with an extended
derived type, associates its target with a pointer to one of its
ancestor types, and then deallocates that pointer.
Commit: 003e292f9895a9cf4e30688269efa668d1fcbb09
https://github.com/llvm/llvm-project/commit/003e292f9895a9cf4e30688269efa668d1fcbb09
Author: Amy Huang <akhuang at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/DeclCXX.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/AST/Interp/cxx23.cpp
M clang/test/CXX/class/class.compare/class.compare.default/p3.cpp
M clang/test/CXX/class/class.compare/class.compare.default/p4.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/dtor.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3-2b.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p4.cpp
M clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/p2.cpp
M clang/test/CXX/drs/dr13xx.cpp
M clang/test/CXX/drs/dr14xx.cpp
M clang/test/CXX/drs/dr15xx.cpp
M clang/test/CXX/drs/dr16xx.cpp
M clang/test/CXX/drs/dr6xx.cpp
M clang/test/CXX/expr/expr.const/p5-26.cpp
M clang/test/CXX/special/class.copy/p13-0x.cpp
M clang/test/SemaCXX/constant-expression-cxx11.cpp
M clang/test/SemaCXX/constant-expression-cxx14.cpp
M clang/test/SemaCXX/constant-expression-cxx2b.cpp
R clang/test/SemaCXX/cxx23-invalid-constexpr.cpp
M clang/test/SemaCXX/cxx2a-consteval.cpp
M clang/test/SemaCXX/deduced-return-type-cxx14.cpp
M clang/test/SemaOpenCLCXX/addrspace-constructors.clcpp
M clang/www/cxx_status.html
Log Message:
-----------
Revert "[Clang][C++23] Implement P2448R2 ..." (#85136)
Revert "[Clang][C++23] Implement P2448R2: Relaxing some constexpr
restrictions (#77753)"
This reverts commit 99500e8c08a4d941acb8a7eb00523296fb2acf7a because it
causes a behavior change for std=c++20. See
https://github.com/llvm/llvm-project/pull/77753.
Commit: 207e45fb67ee3dbec9590d9303eebf4f720c8a40
https://github.com/llvm/llvm-project/commit/207e45fb67ee3dbec9590d9303eebf4f720c8a40
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/lib/Support/RISCVISAInfo.cpp
M llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td
A llvm/test/MC/RISCV/xsifive-invalid.s
A llvm/test/MC/RISCV/xsifive-valid.s
M llvm/unittests/Support/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add back SiFive's cdiscard.d.l1, cflush.d.l1, and cease instructions. (#83896)
These were in LLVM 17 but removed from LLVM 18 due to an incorrect
extension name being used.
This restores them with new extension names that match SiFive's
downstream compiler. The extension name has been used internally for
some time. It uses XSiFive instead of XSf like the newer extensions.
`cease` did not have an internal extension name so its using the `XSf`
convention.
The spec for the instructions is here
https://sifive.cdn.prismic.io/sifive/767804da-53b2-4893-97d5-b7c030ae0a94_s76mc_core_complex_manual_21G3.pdf
though the extension name is not listed.
Column width in the extension printing had to be changed to accommodate
a longer extension name.
Commit: 7bdba956efae81f111f0cc6c7aaa92f9712444ba
https://github.com/llvm/llvm-project/commit/7bdba956efae81f111f0cc6c7aaa92f9712444ba
Author: Fehr Mathieu <mathieu.fehr at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Dialect/Arith/canonicalize.mlir
Log Message:
-----------
[mlir][arith] Fix `arith.select` canonicalization patterns (#84685)
Because `arith.select` does not propagate poison of the second or third
operand depending on the condition, some canonicalization patterns are
currently incorrect. This patch removes these incorrect patterns, and
adds a new pattern to fix the case of `i1` select with constants.
Patterns that are removed:
* select(predA, select(predB, x, y), y) => select(and(predA, predB), x,
y)
* select(predA, select(predB, y, x), y) => select(and(predA,
not(predB)), x, y)
* select(predA, x, select(predB, x, y)) => select(or(predA, predB), x,
y)
* select(predA, x, select(predB, y, x)) => select(or(predA, not(predB)),
x, y)
* arith.select %arg, %x, %y : i1 => and(%arg, %x) or and(!%arg, %y)
Pattern that is added:
* select(pred, false, true) => not(pred) for i1
The first two patterns are incorrect when `predB` is poison and `predA`
is false, as a non-poison `y` gets compiled to `poison`. The next two
patterns are incorrect when `predB` is poison and `predA` is true, as a
non-poison `x` gets compiled to `poison`. The last pattern is incorrect
as it propagates poison from all operands afer compilation.
Commit: fc71a49eca630a0f201261b89c5c9b0252ddb48b
https://github.com/llvm/llvm-project/commit/fc71a49eca630a0f201261b89c5c9b0252ddb48b
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/runtime/format-implementation.h
M flang/runtime/internal-unit.cpp
M flang/runtime/internal-unit.h
M flang/runtime/io-stmt.cpp
M flang/runtime/io-stmt.h
Log Message:
-----------
[flang][runtime] Handle end of internal output correctly (#84994)
At the end of an internal output statement, be sure to finish any
following control edit descriptors in the format (if any), and (for
output) advance to the next record. Return the right I/O error status
code if output overruns the buffer.
Commit: 605abe0689dfd28aadc9413306f33a4494cf3fb8
https://github.com/llvm/llvm-project/commit/605abe0689dfd28aadc9413306f33a4494cf3fb8
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/CodeGenOptions.h
Log Message:
-----------
[clang] Initialize AllTocData after #67999
Commit: 702a86a8f1e4d96c62574fc8d7dd9ccea243517a
https://github.com/llvm/llvm-project/commit/702a86a8f1e4d96c62574fc8d7dd9ccea243517a
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/resolve11.f90
Log Message:
-----------
[flang] Correct accessibility of name that is both generic and derive… (#85098)
…d type
When the same name is used for a derived type and generic interface in a
module, and no explicit PUBLIC or PRIVATE statement appears for the name
but the derived type definition does have an explicit accessibility,
that accessibility must also apply to the generic interface.
Commit: 9bfa506d69b9177ced00b69bf94b28038b063d6d
https://github.com/llvm/llvm-project/commit/9bfa506d69b9177ced00b69bf94b28038b063d6d
Author: Amy Huang <akhuang at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
Log Message:
-----------
Unrevert "[Clang][C++23] Implement P2448R2: Relaxing some constexpr re… (#85140)
Unrevert commit
https://github.com/llvm/llvm-project/commit/2f67dfb012038678dd0b873394a55bd5c937f843
as there were already dependent changes in the codebase that now fail.
Commit: 35db929b50af51e18c75da74b23caa6c14beeaf6
https://github.com/llvm/llvm-project/commit/35db929b50af51e18c75da74b23caa6c14beeaf6
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/test/Analysis/CostModel/RISCV/shuffle-insert_subvector.ll
Log Message:
-----------
[RISCV] Add cost model coverage for fixed vector insert with known VLEN
Commit: 6885810e7de283ee8d3c8fc328a98544970b3db6
https://github.com/llvm/llvm-project/commit/6885810e7de283ee8d3c8fc328a98544970b3db6
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/CommandLine.cpp
Log Message:
-----------
[llvm] Include LLVM_REPOSITORY and LLVM_REVISION in tool version (#84990)
Include the `LLVM_REPOSITORY` and `LLVM_REVISION` in the version output
of tools using `cl::PrintVersionMessage()` such as dwarfdump and
dsymutil.
Before:
```
$ llvm-dwarfdump --version
LLVM (http://llvm.org/):
LLVM version 19.0.0git
Optimized build with assertions.
```
After:
```
$ llvm-dwarfdump --version
LLVM (http://llvm.org/):
LLVM version 19.0.0git (git at github.com:llvm/llvm-project.git 8467457afc61d70e881c9817ace26356ef757733)
Optimized build with assertions.
```
rdar://121526866
Commit: db058b954a32dfb164926e407dfcf49bec054216
https://github.com/llvm/llvm-project/commit/db058b954a32dfb164926e407dfcf49bec054216
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Windows/issue64990.cpp
Log Message:
-----------
[asan][windows] fix issue64990 test (#85137)
This was broken by https://github.com/llvm/llvm-project/pull/84971
Commit: b87db5b6c28f1b5b2358213351d837bc72777cd5
https://github.com/llvm/llvm-project/commit/b87db5b6c28f1b5b2358213351d837bc72777cd5
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M flang/include/flang/Runtime/api-attrs.h
M flang/runtime/environment.cpp
M flang/runtime/environment.h
Log Message:
-----------
[flang][runtime] Fixed flang-runtime-cuda-gcc builder after af964c7. (#85144)
Commit: 2dc9ec47fb16a01c8f7cbb76fba4ad00ac4cb81b
https://github.com/llvm/llvm-project/commit/2dc9ec47fb16a01c8f7cbb76fba4ad00ac4cb81b
Author: ChiaHungDuan <chiahungduan at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/CMakeLists.txt
A compiler-rt/lib/scudo/standalone/allocator_config.def
M compiler-rt/lib/scudo/standalone/allocator_config.h
A compiler-rt/lib/scudo/standalone/allocator_config_wrapper.h
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/condition_variable.h
M compiler-rt/lib/scudo/standalone/memtag.h
M compiler-rt/lib/scudo/standalone/primary32.h
M compiler-rt/lib/scudo/standalone/primary64.h
M compiler-rt/lib/scudo/standalone/secondary.h
M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
A compiler-rt/lib/scudo/standalone/tests/allocator_config_test.cpp
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
M compiler-rt/lib/scudo/standalone/tests/primary_test.cpp
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
Log Message:
-----------
[scudo] Refactor allocator config to support optional flags (#81805)
Instead of explicitly disabling a feature by declaring the variable and
set it to false, this change supports the optional flags. I.e., you can
skip certain flags if you are not using it.
This optional feature supports both forms,
1. Value: A parameter for a feature. E.g., EnableRandomOffset
2. Type: A C++ type implementing a feature. E.g., ConditionVariableT
On the other hand, to access the flags will be through one of the
wrappers, BaseConfig/PrimaryConfig/SecondaryConfig/CacheConfig
(CacheConfig is embedded in SecondaryConfig). These wrappers have the
getters to access the value and the type. When adding a new feature, we
need to add it to `allocator_config.def` and mark the new variable with
either *_REQUIRED_* or *_OPTIONAL_* macro so that the accessor will be
generated properly.
In addition, also remove the need of `UseConditionVariable` to flip
on/off of condition variable. Now we only need to define the type of
condition variable.
Commit: 7009c981ecd99756ed08bcad47c4fa595b5e2426
https://github.com/llvm/llvm-project/commit/7009c981ecd99756ed08bcad47c4fa595b5e2426
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/lib/asan/asan_interceptors.cpp
M compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cpp
Log Message:
-----------
Reapply "[sanitizer][asan][win] Intercept _strdup on Windows (#85006)
Reapply "[sanitizer][asan][win] Intercept _strdup on Windows instead of
strdup
This includes test changes and interface changes that are duplicated in
https://github.com/llvm/llvm-project/pull/81677
This reverts commit 03dc87e93937bf25a48bc77d0006c59f37b1855d.
Commit: f9a14782000e6aa2c4031bc97b20c351a9f281c3
https://github.com/llvm/llvm-project/commit/f9a14782000e6aa2c4031bc97b20c351a9f281c3
Author: Amy Huang <akhuang at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/DeclCXX.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/AST/Interp/cxx23.cpp
M clang/test/CXX/class/class.compare/class.compare.default/p3.cpp
M clang/test/CXX/class/class.compare/class.compare.default/p4.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/dtor.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3-2b.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p4.cpp
M clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/p2.cpp
M clang/test/CXX/drs/dr13xx.cpp
M clang/test/CXX/drs/dr14xx.cpp
M clang/test/CXX/drs/dr15xx.cpp
M clang/test/CXX/drs/dr16xx.cpp
M clang/test/CXX/drs/dr6xx.cpp
M clang/test/CXX/expr/expr.const/p5-26.cpp
M clang/test/CXX/special/class.copy/p13-0x.cpp
M clang/test/SemaCXX/constant-expression-cxx11.cpp
M clang/test/SemaCXX/constant-expression-cxx14.cpp
M clang/test/SemaCXX/constant-expression-cxx2b.cpp
A clang/test/SemaCXX/cxx23-invalid-constexpr.cpp
M clang/test/SemaCXX/cxx2a-consteval.cpp
M clang/test/SemaCXX/deduced-return-type-cxx14.cpp
M clang/test/SemaOpenCLCXX/addrspace-constructors.clcpp
M clang/www/cxx_status.html
Log Message:
-----------
Reapply "[Clang][C++23] Implement P2448R2 ..." (#85136) (#85145)
This reverts commit 003e292f9895a9cf4e30688269efa668d1fcbb09 because
there were dependent changes in the codebase that now fail.
Commit: d80d5b923c6f611590a12543bdb33e0c16044d44
https://github.com/llvm/llvm-project/commit/d80d5b923c6f611590a12543bdb33e0c16044d44
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/test/Headers/__clang_hip_math.hip
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/test/Transforms/InstCombine/add-sitofp.ll
M llvm/test/Transforms/InstCombine/binop-itofp.ll
M llvm/test/Transforms/InstCombine/clamp-to-minmax.ll
M llvm/test/Transforms/InstCombine/fpcast.ll
M llvm/test/Transforms/InstCombine/minmax-fold.ll
M llvm/test/Transforms/InstCombine/minmax-fp.ll
M llvm/test/Transforms/InstCombine/pr27236.ll
M llvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll
M llvm/test/Transforms/LoopVectorize/float-induction.ll
Log Message:
-----------
[InstCombine] Canonicalize `(sitofp x)` -> `(uitofp x)` if `x >= 0`
Just a standard canonicalization.
Proofs: https://alive2.llvm.org/ce/z/9W4VFm
Closes #82404
Commit: 55d4816393f897054a4721920502d45c645edf1d
https://github.com/llvm/llvm-project/commit/55d4816393f897054a4721920502d45c645edf1d
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Log Message:
-----------
[NFC] Remove trailing white spaces
Commit: 090edd376e6ae353ab344b84622824ce25454bd3
https://github.com/llvm/llvm-project/commit/090edd376e6ae353ab344b84622824ce25454bd3
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M compiler-rt/test/lsan/TestCases/recoverable_leak_check.cpp
Log Message:
-----------
[lsan] Disable symbolization in test
With internal symbolizer leaking pointers can be
copied into alive memory used by symbolizer.
Commit: 6d8aba3d1add74a0e1ef548e2d6e15ad7565ee0b
https://github.com/llvm/llvm-project/commit/6d8aba3d1add74a0e1ef548e2d6e15ad7565ee0b
Author: Nico Weber <thakis at chromium.org>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn
M llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn
Log Message:
-----------
[gn] port 2dc9ec47fb16
Commit: 60d54867125d299290c6df5771008b8c1257d7c2
https://github.com/llvm/llvm-project/commit/60d54867125d299290c6df5771008b8c1257d7c2
Author: Nico Weber <thakis at chromium.org>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
Log Message:
-----------
[gn] attempt to port 6885810e7de (vcsrevision dep in Support)
Commit: 02cadde5ed564df82d9caddd5dad257ea894fa0d
https://github.com/llvm/llvm-project/commit/02cadde5ed564df82d9caddd5dad257ea894fa0d
Author: Evgenii Kudriashov <evgenii.kudriashov at intel.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/docs/GlobalISel/GenericOpcode.rst
Log Message:
-----------
[Docs][GlobalISel] Fix a long header in GenericOpcode (NFC) (#84976)
Commit: a05910a270ccdda2256e1ccef5fdbb583d22ae0b
https://github.com/llvm/llvm-project/commit/a05910a270ccdda2256e1ccef5fdbb583d22ae0b
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/tools/llvm-exegesis/llvm-exegesis.cpp
Log Message:
-----------
[llvm-exegesis] Use ExitOnErr instead of manually logging and exiting
This patch removes an explicit use of dbgs() and exit when logging an
error to explicitly use ExitOnErr as this is the canonical way to do
this within exegesis.
Commit: c29b265eb9b7b3b6dc44d87fe6fec8a52485847d
https://github.com/llvm/llvm-project/commit/c29b265eb9b7b3b6dc44d87fe6fec8a52485847d
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
A llvm/test/CodeGen/AMDGPU/pal-metadata-3.0-callable.ll
Log Message:
-----------
Reapply "[AMDGPU] Add pal metadata 3.0 support to callable pal funcs (#67104)"
This reverts commit 7d508eb5d38f4bbbab4230a666d9e742e271af61.
Commit: c1c8a0cb17468bcece489adea2b31df6920c96cb
https://github.com/llvm/llvm-project/commit/c1c8a0cb17468bcece489adea2b31df6920c96cb
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/SelectionTests.cpp
M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/AST/ast-dump-concepts.cpp
Log Message:
-----------
[concepts] Preserve the FoundDecl of ConceptReference properly (#85032)
The `ConceptReference`'s `FoundDecl` claims it "can differ from
`NamedConcept` when, for example, the concept was found through a
`UsingShadowDecl`", but such the contract was not previously respected.
Fixes https://github.com/llvm/llvm-project/issues/82628
Commit: b84ce9979990283aa4398ad5a654b8b283baa532
https://github.com/llvm/llvm-project/commit/b84ce9979990283aa4398ad5a654b8b283baa532
Author: Kuba (Brecka) Mracek <mracek at apple.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/lib/CodeGen/Targets/RISCV.cpp
M clang/test/CodeGenCXX/arm-swiftcall.cpp
Log Message:
-----------
[clang] Define SwiftInfo for RISCVTargetCodeGenInfo (#82152)
For Embedded Swift, let's unblock building for RISC-V boards (e.g.
ESP32-C6). This isn't trying to add full RISC-V support to Swift /
Embedded Swift, it's just fixing the immediate blocker (not having
SwiftInfo defined blocks all compilations).
Commit: 1e9bfcd9a423765a86b2fc807c3bc3a097823deb
https://github.com/llvm/llvm-project/commit/1e9bfcd9a423765a86b2fc807c3bc3a097823deb
Author: Uday Bondhugula <uday at polymagelabs.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/Affine/Analysis/LoopAnalysis.h
M mlir/include/mlir/Dialect/Affine/IR/AffineValueMap.h
M mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
M mlir/lib/Dialect/Affine/IR/AffineValueMap.cpp
M mlir/test/Dialect/Affine/access-analysis.mlir
M mlir/test/lib/Dialect/Affine/TestAccessAnalysis.cpp
Log Message:
-----------
[MLIR][Affine] Fix/complete access index invariance, add isInvariantAccess (#84602)
isAccessIndexInvariant had outdated code and didn't handle IR with
multiple
affine.apply ops, which is inconvenient when used as a utility. This is
addressed by switching to use the proper API on AffineValueMap. Add
mlir::affine::isInvariantAccess exposed for outside use and tested via
the test pass. Add a method on AffineValueMap. Add test cases to
exercise simplification and composition for invariant access analysis.
A TODO/FIXME has been added but this issue existed before.
Commit: 437fcc6eed99694a9f9486d29ead6a3d3275ede9
https://github.com/llvm/llvm-project/commit/437fcc6eed99694a9f9486d29ead6a3d3275ede9
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
Log Message:
-----------
[mlir][IR] Add additional rewriter constructor (#85044)
For convenience, add an additional constructor to `RewriterBase` and
`IRRewriter` that also sets the insertion point. `OpBuilder` provides a
similar constructor.
Commit: 84420a2ab34a1e0ddbd1ffe7f1e4faea34aeb2b3
https://github.com/llvm/llvm-project/commit/84420a2ab34a1e0ddbd1ffe7f1e4faea34aeb2b3
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Log Message:
-----------
[RISCV] Move matchRegisterNameHelper into the RISCVAsmParser and remove IsRVE argument. NFC (#85172)
With it in the class we can use isRVE() inside the function instead of
making the callers do it.
Commit: 274db64558e6c2dd8a35e912301f628fcb7ceed6
https://github.com/llvm/llvm-project/commit/274db64558e6c2dd8a35e912301f628fcb7ceed6
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
Log Message:
-----------
[RISCV] Replace a hardcoded 16 with RISCVZC::INVALID_RLIST. NFC
Commit: 162180decf532acd31c9aa4b876804848d1761c0
https://github.com/llvm/llvm-project/commit/162180decf532acd31c9aa4b876804848d1761c0
Author: Joshua Batista <jbatista at microsoft.com>
Date: 2024-03-13 (Wed, 13 Mar 2024)
Changed paths:
M clang/include/clang/Basic/LangStandard.h
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/LangStandards.cpp
M clang/lib/Driver/ToolChains/HLSL.cpp
A clang/test/Options/HV.hlsl
Log Message:
-----------
[HLSL] Add -HV option translation to clang-dxc.exe (#83938)
Previously, clang-dxc.exe would not recognize -HV as a valid argument to
DXC, and would be unable to translate the argument to a legal clang
argument. This PR implements a translation of the HV option and its
value to the appropriate clang flag and the appropriate value. It adds a
test by using the -### option to spit out the translated options, and
checks to see that the correct option was generated.
Fixes #83479
---------
Co-authored-by: Chris B <cbieneman at microsoft.com>
Commit: edc206646520ce07d5741e8360787bcf0217a509
https://github.com/llvm/llvm-project/commit/edc206646520ce07d5741e8360787bcf0217a509
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/GCRootLowering.cpp
A llvm/test/CodeGen/Generic/gc-lowering.ll
Log Message:
-----------
[CodeGen][GC] Skip function without GC in `GCLoweringPass` (#84421)
Commit: fef62be09c0d0aaa7f37144e260a4c03ad97f447
https://github.com/llvm/llvm-project/commit/fef62be09c0d0aaa7f37144e260a4c03ad97f447
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
A llvm/test/Transforms/InstCombine/extract-select-agg.ll
Log Message:
-----------
[InstCombine] Canonicalize `extractvalue + select` (#84686)
This patch canonicalizes `extractvalue (select Cond, TV, FV)` into
`select Cond, (extractvalue TV), (extractvalue FV)`. The latter form may
enable more optimizations.
Commit: 3b5e7c83a6e226d5bd7ed2e9b67449b64812074c
https://github.com/llvm/llvm-project/commit/3b5e7c83a6e226d5bd7ed2e9b67449b64812074c
Author: Qizhi Hu <836744285 at qq.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
A clang/test/Sema/PR84368.cpp
Log Message:
-----------
[Clang][Sema] Fix a bug on type constraint checking (#84671)
Try to fix https://github.com/llvm/llvm-project/issues/84368
When visiting class members in
`TemplateDeclInstantiator::VisitClassTemplateDecl` during
`Sema::InstantiateClass`, we miss to set attribute of friend declaration
if it is(`isFriend` is true). This will lead to
`Sema::AreConstraintExpressionsEqual` return false when invoked in
`MatchTemplateParameterKind`. Because it makes
`Sema::getTemplateInstantiationArgs` returns incorrect template
argument(`MultiLevelTemplateArgumentList`). When we handle
`CXXRecordDecl` In `Sema::getTemplateInstantiationArgs`, friend
declaration(its parent context is `FileContext`) makes us to choose
`LexicalDeclContext` not `DeclContext` and this is what we want.
Co-authored-by: huqizhi <836744285 at qq.com>
Commit: 071f72a8ecfbcb77c0f95969431b0f5dbc8ed2b2
https://github.com/llvm/llvm-project/commit/071f72a8ecfbcb77c0f95969431b0f5dbc8ed2b2
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/lib/Target/Cpp/CMakeLists.txt
M mlir/lib/Target/Cpp/TranslateRegistration.cpp
M mlir/test/Target/Cpp/invalid.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][Target][Cpp] Remove unused dialects (#85102)
Removes linking and registering dialects that are not support any more.
Commit: e6048b728d3170651828ad2dd7ed5ad0bc5e4f06
https://github.com/llvm/llvm-project/commit/e6048b728d3170651828ad2dd7ed5ad0bc5e4f06
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
M mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp
A mlir/test/Transforms/buffer-results-to-out-params-add-result-attr.mlir
Log Message:
-----------
[MLIR][Bufferization] BufferResultsToOutParams: Add option to add attribute to output arguments (#84320)
Adds a new pass option `add-result-attr` that will make the pass add the
attribute `{bufferize.result}` to each argument that was converted from
a result.
This is important e.g. when later using the python bindings / execution
engine to understand which arguments are actually results.
To be able to test this, the pass option was added to the tablegen. To
avoid collisions with the existing, manually defined option struct
`BufferResultsToOutParamsOptions`, that one was renamed to
`BufferResultsToOutParamsOpts`.
Commit: 34ba90745fa55777436a2429a51a3799c83c6d4c
https://github.com/llvm/llvm-project/commit/34ba90745fa55777436a2429a51a3799c83c6d4c
Author: Kai Sasaki <lewuathe at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/lib/Conversion/ComplexToStandard/ComplexToStandard.cpp
M mlir/test/Conversion/ComplexToStandard/convert-to-standard.mlir
Log Message:
-----------
[mlir][complex] Support Fastmath flag in conversion of complex.sqrt to standard (#85019)
When converting complex.sqrt op to standard, we need to keep the fast
math flag given to the op.
See:
https://discourse.llvm.org/t/rfc-fastmath-flags-support-in-complex-dialect/71981
Commit: 2582965c160486f9e3b0680f1cebc5ffdef9620c
https://github.com/llvm/llvm-project/commit/2582965c160486f9e3b0680f1cebc5ffdef9620c
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/Serialization/ASTWriterDecl.cpp
A clang/test/Modules/reduced-bmi-generating-codes.cppm
Log Message:
-----------
[C++20] [Modules] [Reduced BMI] Generate the function body from implicitly instantiated class and constant variables
After this patch, we will generate the function body from implicitly
instantiated class. This is important for consumers with same
template arguments. Otherwise the consumers won't see the function body.
Since the consumers won't instantiate the templates again if they find an
instantiation.
Also we will generate the variable definition if the variable is
non-inline but known as constant. Such variables may not affect the
ABI, but they may get involved into the compile time constant computation
in the consumer's code. So we have to generate such definitions.
Commit: 8f68022f8e6e54d1aeae4ed301f5a015963089b7
https://github.com/llvm/llvm-project/commit/8f68022f8e6e54d1aeae4ed301f5a015963089b7
Author: huang-me <56251429+huang-me at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp
M clang/test/Analysis/loop-unrolling.cpp
Log Message:
-----------
[clang][analyzer] Fix crash in loop unrolling (#82089)
StaticAnalyzer didn't check if the variable is declared in
`CompoundStmt` under `SwitchStmt`, which make static analyzer reach root
without finding the declaration.
Fixes #68819
---------
Co-authored-by: Balazs Benics <benicsbalazs at gmail.com>
Commit: ece2c25ab9f572f719fd18f1ced4fa80f3e5ed1c
https://github.com/llvm/llvm-project/commit/ece2c25ab9f572f719fd18f1ced4fa80f3e5ed1c
Author: bvlgah <octopus.busts_0w at icloud.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M lldb/test/API/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py
Log Message:
-----------
[LLDB][Test] Fix the test case of listing verbose break info on Windows (#85200)
I noticed a failure of [running LLDB test suites on Windows
AArch64](https://lab.llvm.org/buildbot/#/builders/219/builds/9849). The
failed test case is about
checking output of command `breakpoint list -v -L c++`, and an mismatch
on the demangled
name of a function occurred. The test case expects `ns::func(void)`, but
on Windows it is `int ns::func(void)`.
It results from the different mangling scheme used by MSVC, and the
comparison is as follows:
| Scheme | Mangled | Demangled (fully) | Note |
| --- | --- | --- | --- |
| MSVC | `?func at ns@@YAHXZ` | `int __cdecl ns::func(void)` |
[Godbolt](https://godbolt.org/z/5ns8c7xW3) (I have no available Windows
device) |
| Itanium | `_ZN2ns4funcEv` | `ns::func()` | |
According to the current use of MSVC demangling,
https://github.com/llvm/llvm-project/blob/8f68022f8e6e54d1aeae4ed301f5a015963089b7/lldb/source/Core/Mangled.cpp#L128-L143
the `__cdecl` specifier is not part of the name. However, the function's
parameter types should be present
as ` llvm::MSDF_NoVariableType` [does not affect a symbol for
functions](https://github.com/llvm/llvm-project/blob/8f68022f8e6e54d1aeae4ed301f5a015963089b7/llvm/lib/Demangle/MicrosoftDemangleNodes.cpp#L417-L453).
Therefore, it is inappropriate to assume the demangled name are the same
on all platforms. Instead of tweaking the
existing code of demangling to get the same (demangled) name, I think it
is more reasonable to modify the test case.
Commit: 65f5e2c4070f22ab7a1617c798b4c61baa9b39a8
https://github.com/llvm/llvm-project/commit/65f5e2c4070f22ab7a1617c798b4c61baa9b39a8
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
Log Message:
-----------
[RISC-V] Add another missing cast in .td file (#85055)
Another instance where we produce an instruction that defines a vreg
with an i32 value.
Commit: 2cf2ca37029435e90829e2e38a27ef7a7d520368
https://github.com/llvm/llvm-project/commit/2cf2ca37029435e90829e2e38a27ef7a7d520368
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Target/Cpp/CppEmitter.h
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
Log Message:
-----------
[mlir][Target][Cpp] Cleanup includes (#85105)
Commit: afec257d369a13893b39d02bc630f9f3cec80162
https://github.com/llvm/llvm-project/commit/afec257d369a13893b39d02bc630f9f3cec80162
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
M llvm/lib/Target/SPIRV/SPIRVUtils.h
M llvm/test/CodeGen/SPIRV/pointers/bitcast-fix-load.ll
M llvm/test/CodeGen/SPIRV/pointers/bitcast-fix-store.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-args-rev.ll
A llvm/test/CodeGen/SPIRV/pointers/type-deduce-args.ll
Log Message:
-----------
[SPIRV] Add type inference of function parameters by call instances (#85077)
This PR adds type inference of function parameters by call instances.
Two use cases that demonstrate the problem are added.
Commit: aff05708916107eec73ea5db363f625926f60730
https://github.com/llvm/llvm-project/commit/aff05708916107eec73ea5db363f625926f60730
Author: Atousa Duprat <atousa.p at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/ADT/APInt.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/Support/APInt.cpp
M llvm/unittests/ADT/APIntTest.cpp
Log Message:
-----------
[ADT] Add implementations for avgFloor and avgCeil to APInt (#84431)
Supports both signed and unsigned expansions.
SelectionDAG now calls the APInt implementation of these functions.
Fixes #84211.
Commit: b19cfb9175223d3e1bb3ef6d49ccd26d0104906c
https://github.com/llvm/llvm-project/commit/b19cfb9175223d3e1bb3ef6d49ccd26d0104906c
Author: Carlos Alberto Enciso <47597242+CarlosAlbertoEnciso at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
M llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h
M llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVBinaryReader.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVELFReader.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/01-wasm-compare-logical-elements.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/01-wasm-print-basic-details.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/01-wasm-select-logical-elements.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/02-wasm-logical-lines.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/03-wasm-incorrect-lexical-scope-typedef.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/04-wasm-missing-nested-enumerators.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/05-wasm-incorrect-lexical-scope-variable.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/06-wasm-full-logical-view.test
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/definitions.h
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/hello-world-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/hello-world.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-43860-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-43860.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-44884-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-44884.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-46466-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/pr-46466.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/test-clang.s
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/Inputs/test.cpp
A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/README.txt
Log Message:
-----------
[llvm-debuginfo-analyzer] Add support for WebAssembly binary format. (#82588)
Add support for the WebAssembly binary format and be able to generate
logical views.
https://github.com/llvm/llvm-project/issues/69181
The README.txt includes information about how to build the test cases.
Commit: 117537d97ea12bc39501b91d395e1d4705b23850
https://github.com/llvm/llvm-project/commit/117537d97ea12bc39501b91d395e1d4705b23850
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
Log Message:
-----------
[DAG] ExpandIntRes_Shift - pull out repeated getOpcode() calls. NFC.
Commit: 4fef8c75abb080e6471395492819171fee8261fa
https://github.com/llvm/llvm-project/commit/4fef8c75abb080e6471395492819171fee8261fa
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] splitVectorOp - share the same SDLoc argument instead of recreating it over and over again.
Commit: 4528c44d0a82f2b5fe25757b28b185c3c880cfb2
https://github.com/llvm/llvm-project/commit/4528c44d0a82f2b5fe25757b28b185c3c880cfb2
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libcxx/include/__format/concepts.h
M libcxx/include/__tuple/tuple_size.h
M libcxx/include/chrono
M libcxx/include/tuple
M libcxx/include/vector
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.verify.cpp
Log Message:
-----------
[libc++] Remove <tuple> include from <__format/concepts.h> (#80214)
This also moves `tuple_size_v` into `tuple_size` as a drive-by.
Commit: a82ca398ce30c499adf73fdd200352714d9867d0
https://github.com/llvm/llvm-project/commit/a82ca398ce30c499adf73fdd200352714d9867d0
Author: Marius Brehler <marius.brehler at iml.fraunhofer.de>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
Log Message:
-----------
[mlir][EmitC] Fix type in example (#85205)
Commit: 95fef1dfefd5467206e74c089d29806fcd82889b
https://github.com/llvm/llvm-project/commit/95fef1dfefd5467206e74c089d29806fcd82889b
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/sve-select-cmp.ll
M llvm/test/Transforms/LoopVectorize/RISCV/select-cmp-reduction.ll
M llvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
M llvm/test/Transforms/LoopVectorize/select-cmp.ll
M llvm/test/Transforms/LoopVectorize/select-reduction-start-value-may-be-undef-or-poison.ll
Log Message:
-----------
[LV] Improve AnyOf reduction codegen. (#78304)
Update AnyOf reduction code generation to only keep track of the AnyOf
property in a boolean vector in the loop, only selecting either the new
or start value in the middle block.
The patch incorporates feedback from https://reviews.llvm.org/D153697.
This fixes the #62565, as now there aren't multiple uses of the
start/new values.
Fixes https://github.com/llvm/llvm-project/issues/62565
PR: https://github.com/llvm/llvm-project/pull/78304
Commit: 763be018c57171730f80367e75d994a80f34d2ea
https://github.com/llvm/llvm-project/commit/763be018c57171730f80367e75d994a80f34d2ea
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/docs/UserGuides.rst
Log Message:
-----------
[RemoveDIs][NFC] Update docs to reflect new class structure (#85109)
This patch adds some small updates to the LLVM documentation regarding
DbgRecords to accurately describe the current class structure. There are
some more refactorings to come, so this isn't intended to be the final
document update, but it covers the immediate task of updating references
to DPValue that really refer to DbgRecord.
Commit: 4299c727e4806aa55398ad23da48a401554cd432
https://github.com/llvm/llvm-project/commit/4299c727e4806aa55398ad23da48a401554cd432
Author: Tim Northover <tnorthover at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/include/clang/Basic/BuiltinsAArch64.def
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/builtins-arm64.c
M clang/test/Sema/builtins-arm64.c
Log Message:
-----------
AArch64: add __builtin_arm_trap
It's useful to provide an indicator code with the trap, which the generic
__builtin_trap can't do. asm("brk #N") is an option, but following that with a
__builtin_unreachable() leads to two traps when the compiler doesn't know the
block can't return. So compiler support like this is useful.
Commit: 5f774619eac5db73398225a4c924a9c1d437fb40
https://github.com/llvm/llvm-project/commit/5f774619eac5db73398225a4c924a9c1d437fb40
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/combine-overflow.mir
M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-addo-zero.mir
M llvm/test/CodeGen/AArch64/overflow.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
Log Message:
-----------
[GlobalIsel] Combine ADDO (#82927)
Perform the requested arithmetic and produce a carry output in addition
to the normal result.
Clang has them as builtins (__builtin_add_overflow_p). The middle end
has intrinsics for them (sadd_with_overflow).
AArch64: ADDS Add and set flags
On Neoverse V2, they run at half the throughput of basic arithmetic and
have a limited set of pipelines.
Commit: 2e865353ed6baa35609e94bf5de9f2061df6eacf
https://github.com/llvm/llvm-project/commit/2e865353ed6baa35609e94bf5de9f2061df6eacf
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/DebugProgramInstruction.h
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/lib/Transforms/IPO/MergeFunctions.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
M llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/ValueMapper.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
Log Message:
-----------
[RemoveDIs][NFC] Move DPValue::filter -> filterDbgVars (#85208)
This patch changes DPValue::filter to be a non-member method
filterDbgVars. There are two reasons for this: firstly, the name of
DPValue is about to change to DbgVariableRecord, which will result in
every `for` loop that uses DPValue::filter to require a line break. This
is a small thing, but it makes the rename patch more difficult to
review, and is just generally more awkward for what is a fairly common
loop. Secondly, the intent is to later break up the DPValue class into
subclasses, at which point it would be better to have a non-member
function that allows template arguments for the cases we want to filter
with greater specificity.
Commit: 91e68a415cfa0cb2eb47c8ebe741ed26cf97d24c
https://github.com/llvm/llvm-project/commit/91e68a415cfa0cb2eb47c8ebe741ed26cf97d24c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/unittests/Support/KnownBitsTest.cpp
Log Message:
-----------
[Support] KnownBitsTest - don't bother creating lambdas in testBinaryOpExhaustive callbacks if we can just use the raw KnownBits/APIntOps function reference. NFCI.
Commit: c7cf1350b4c182f7ba54ae42eb77eef94bbf4f35
https://github.com/llvm/llvm-project/commit/c7cf1350b4c182f7ba54ae42eb77eef94bbf4f35
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] foldAndToUsubsat - convert to use sd_match pattern. NFC.
Commit: ef8062e35b3aae0e9d8bdee6534511a7b9eb49d0
https://github.com/llvm/llvm-project/commit/ef8062e35b3aae0e9d8bdee6534511a7b9eb49d0
Author: Oleg Shyshkov <shyshkov at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Target/Cpp/CppEmitter.h
Log Message:
-----------
[mlir][Target][Cpp] Fix include.
mlir/include/mlir/Target/Cpp/CppEmitter.h:27:45: error: unknown type name 'raw_ostream'; did you mean 'llvm::raw_ostream'?
27 | LogicalResult translateToCpp(Operation *op, raw_ostream &os,
| ^~~~~~~~~~~
| llvm::raw_ostream
Commit: c9c23261abb7fb8d51ea6110b7cd6418f078ef8b
https://github.com/llvm/llvm-project/commit/c9c23261abb7fb8d51ea6110b7cd6418f078ef8b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[DAG] Add SDPatternMatch m_SMin/m_SMax/m_UMin/m_UMax matchers
Commit: 6f3f659ce9ab91002b4a490b0ce4b085981383cd
https://github.com/llvm/llvm-project/commit/6f3f659ce9ab91002b4a490b0ce4b085981383cd
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
[compiler-rt] Also consider SIGPROF as a synchronous signal (#85188)
Blocking that signal causes inter-blocking for profilers that monitor
threads through that signal.
Fix #83844 and #83561
Commit: 9e00405419c7a8bb6b8f00454b8fd47a2a400674
https://github.com/llvm/llvm-project/commit/9e00405419c7a8bb6b8f00454b8fd47a2a400674
Author: mahesh-attarde <145317060+mahesh-attarde at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePassManager.h
M llvm/include/llvm/Target/TargetMachine.h
M llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp
M llvm/lib/Target/X86/X86TargetMachine.h
Log Message:
-----------
[CodeGen][X86] Remove Expensive option copy and delete copy assignment (#85187)
Remove Expensive option copy and delete copy assignment
Commit: 72d300adad4022b150c24e4a44488d3b9334e999
https://github.com/llvm/llvm-project/commit/72d300adad4022b150c24e4a44488d3b9334e999
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.cpp
Log Message:
-----------
[clang][Interp][NFC] Move a varible declaration in the closest scope
Commit: 7252d22803c32bf6421e45dcefe6ea1fa51ac774
https://github.com/llvm/llvm-project/commit/7252d22803c32bf6421e45dcefe6ea1fa51ac774
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
Log Message:
-----------
[OpenMP][MLIR] NFC: Remove trailing whitespace (#85213)
Commit: 2e271ceff668dc905dd15e6ca3b52f37602533a9
https://github.com/llvm/llvm-project/commit/2e271ceff668dc905dd15e6ca3b52f37602533a9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
Revert 4fef8c75abb080e6471395492819171fee8261fa "[X86] splitVectorOp - share the same SDLoc argument instead of recreating it over and over again."
This appears to have broken the clang-with-thin-lto-ubuntu buildbot somehow (unconfirmed but its a likely candidate)
Commit: 516ccce7fa2659bf788a817eae73fa369559cc45
https://github.com/llvm/llvm-project/commit/516ccce7fa2659bf788a817eae73fa369559cc45
Author: Ingo Müller <ingomueller at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Support/ToolUtilities.h
M mlir/include/mlir/Tools/mlir-opt/MlirOptMain.h
M mlir/lib/Support/ToolUtilities.cpp
M mlir/lib/Tools/lsp-server-support/Transport.cpp
M mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
M mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
R mlir/test/mlir-opt/nearmiss.mlir
A mlir/test/mlir-opt/split-markers.mlir
A mlir/test/mlir-pdll/split-markers.pdll
A mlir/test/mlir-translate/split-markers.mlir
M mlir/tools/mlir-pdll/mlir-pdll.cpp
Log Message:
-----------
[mlir] Make the split markers of splitAndProcessBuffer configurable. (#84765)
This allows to define custom splitters, which is interesting for
non-MLIR inputs and outputs to `mlir-translate`. For example, one may
use `; -----` as a splitter of `.ll` files. The splitters are now passed
as arguments into `splitAndProcessBuffer`, the input splitter defaulting
to the previous default (`// -----`) and the output splitter defaulting
to the empty string, which also corresponds to the previous default. The
behavior of the input split marker should not change at all; however,
outputs now have one new line *more* than before if there is no splitter
(old: `insertMarkerInOutput = false`, new: `outputSplitMarker = ""`) and
one new line *less* if there is one. The value of the input splitter is
exposed as a command line options of `mlir-translate` and other tools as
an optional value to the previously existing flag `-split-input-file`,
which defaults to the default splitter if not specified; the value of
the output splitter is exposed with the new `-output-split-marker`,
which default to the empty string in `mlir-translate` and the default
splitter in the other tools. In short, the previous usage or omission of
the flags should result in previous behavior (modulo the new lines
mentioned before).
Commit: b97c12936dd8d520a5565ace3d51a460939a5c61
https://github.com/llvm/llvm-project/commit/b97c12936dd8d520a5565ace3d51a460939a5c61
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/lib/AST/Interp/Opcodes.td
M clang/test/AST/Interp/c.c
Log Message:
-----------
[clang][Interp] Fix non-primitive ltor casts
This doesn't happen in C++ since it will instead call the
struct's copy constructor. However, in C, this needs to work.
Commit: 620544192477cb8f4f1a1342e9593f7f15b5ecaf
https://github.com/llvm/llvm-project/commit/620544192477cb8f4f1a1342e9593f7f15b5ecaf
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
M llvm/lib/Target/RISCV/RISCVSchedXiangShanNanHu.td
M llvm/lib/Target/RISCV/RISCVScheduleZb.td
Log Message:
-----------
[RISCV] Add sched classes for Zbb integer min max instructions
Commit: 818e0272f5142986e8d82d1267fb6aa21cd168a0
https://github.com/llvm/llvm-project/commit/818e0272f5142986e8d82d1267fb6aa21cd168a0
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
M llvm/test/CodeGen/RISCV/machine-combiner.ll
M llvm/test/tools/llvm-mca/RISCV/SiFive7/gpr-bypass.s
Log Message:
-----------
[RISCV] Model integer min max instructions from Zbb execute in late-B ALU
We don't model the early vs late ALU so we just need to remove usage of
SiFivePipeA for these instructions.
Commit: a551ccee66fc70b5ecd03a2c8b9db5a7330820f0
https://github.com/llvm/llvm-project/commit/a551ccee66fc70b5ecd03a2c8b9db5a7330820f0
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
Log Message:
-----------
[clang][Interp][NFC] Print primitive global values in dump()
Commit: 2421e76159536ec4d2224e17fd10dfc4df6a2bc5
https://github.com/llvm/llvm-project/commit/2421e76159536ec4d2224e17fd10dfc4df6a2bc5
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/test/AST/Interp/complex.cpp
Log Message:
-----------
[clang][Interp][NFC] Add more _Complex tests
Commit: 21d80859df3fb416efac13ce8178fdf6d6489292
https://github.com/llvm/llvm-project/commit/21d80859df3fb416efac13ce8178fdf6d6489292
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Program.h
Log Message:
-----------
[clang][Interp][NFC] Rename DummyParams to DummyVariables
We create dummy descriptors for variables other than parameters
these days.
Commit: 7f2167868d8c1cedd3915883412b9c787a2f01db
https://github.com/llvm/llvm-project/commit/7f2167868d8c1cedd3915883412b9c787a2f01db
Author: Alexey Bataev <5361294+alexey-bataev at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-buildvector-with-minbitwidth-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-with-minbith-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr2.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/reduce-add-i64.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
M llvm/test/Transforms/SLPVectorizer/X86/PR35777.ll
M llvm/test/Transforms/SLPVectorizer/X86/int-bitcast-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-multiuse-with-insertelement.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-transformed-operand.ll
M llvm/test/Transforms/SLPVectorizer/X86/minimum-sizes.ll
M llvm/test/Transforms/SLPVectorizer/X86/phi-undef-input.ll
M llvm/test/Transforms/SLPVectorizer/X86/resched.ll
M llvm/test/Transforms/SLPVectorizer/X86/reused-reductions-with-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
M llvm/test/Transforms/SLPVectorizer/X86/store-insertelement-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/alt-cmp-vectorize.ll
Log Message:
-----------
[SLP]Improve minbitwidth analysis.
This improves overall analysis for minbitwidth in SLP. It allows to
analyze the trees with store/insertelement root nodes. Also, instead of
using single minbitwidth, detected from the very first analysis stage,
it tries to detect the best one for each trunc/ext subtree in the graph
and use it for the subtree.
Results in better code and less vector register pressure.
Metric: size..text
Program size..text
results results0 diff
test-suite :: SingleSource/Benchmarks/Adobe-C++/simple_types_loop_invariant.test 92549.00 92609.00 0.1%
test-suite :: External/SPEC/CINT2017speed/625.x264_s/625.x264_s.test 663381.00 663493.00 0.0%
test-suite :: External/SPEC/CINT2017rate/525.x264_r/525.x264_r.test 663381.00 663493.00 0.0%
test-suite :: MultiSource/Benchmarks/Bullet/bullet.test 307182.00 307214.00 0.0%
test-suite :: External/SPEC/CFP2017speed/638.imagick_s/638.imagick_s.test 1394420.00 1394484.00 0.0%
test-suite :: External/SPEC/CFP2017rate/538.imagick_r/538.imagick_r.test 1394420.00 1394484.00 0.0%
test-suite :: External/SPEC/CFP2017rate/510.parest_r/510.parest_r.test 2040257.00 2040273.00 0.0%
test-suite :: External/SPEC/CFP2017rate/526.blender_r/526.blender_r.test 12396098.00 12395858.00 -0.0%
test-suite :: External/SPEC/CINT2006/445.gobmk/445.gobmk.test 909944.00 909768.00 -0.0%
SingleSource/Benchmarks/Adobe-C++/simple_types_loop_invariant - 4 scalar
instructions remain scalar (good).
Spec2017/x264 - the whole function idct4x4dc is vectorized using <16
x i16> instead of <16 x i32>, also zext/trunc are removed. In other
places last vector zext/sext removed and replaced by
extractelement + scalar zext/sext pair.
MultiSource/Benchmarks/Bullet/bullet - reduce or <4 x i32> replaced by
reduce or <4 x i8>
Spec2017/imagick - Removed extra zext from 2 packs of the operations.
Spec2017/parest - Removed extra zext, replaced by extractelement+scalar
zext
Spec2017/blender - the whole bunch of vector zext/sext replaced by
extractelement+scalar zext/sext, some extra code vectorized in smaller
types.
Spec2006/gobmk - fixed cost estimation, some small code remains scalar.
Original Pull Request: https://github.com/llvm/llvm-project/pull/84334
The patch has the same functionality (no test changes, no changes in
benchmarks) as the original patch, just has some compile time
improvements + fixes for xxhash unittest, discovered earlier in the
previous version of the patch.
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/84536
Commit: a99b912c9b74f6ef91786b4dfbc25160c27d3b41
https://github.com/llvm/llvm-project/commit/a99b912c9b74f6ef91786b4dfbc25160c27d3b41
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Pointer.h
M clang/lib/AST/Interp/Program.cpp
M clang/test/AST/Interp/arrays.cpp
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Create dummy pointers for external variables
This way we can use their address, which is necessary in some
scenarios. This requires us to create different descriptors
for dummy arrays so we can get the diagnostics right.
Commit: 611d5aec1de59fe567162158347c6c2ea29ff4d8
https://github.com/llvm/llvm-project/commit/611d5aec1de59fe567162158347c6c2ea29ff4d8
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
Log Message:
-----------
[clang] Fix -Wunused-variable in InterpBuiltin.cpp (NFC)
llvm-project/clang/lib/AST/Interp/InterpBuiltin.cpp:1332:21:
error: unused variable 'SrcDesc' [-Werror,-Wunused-variable]
const Descriptor *SrcDesc = Src.getFieldDesc();
^
1 error generated.
Commit: 160693dbde2837af4237954edd38b08b2bb17a29
https://github.com/llvm/llvm-project/commit/160693dbde2837af4237954edd38b08b2bb17a29
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] allocateLocalPrimitive never fails
It returns the local offset, not an std::optional.
Commit: 098520244f90e9330d3ae78bd1061aee2e3688c0
https://github.com/llvm/llvm-project/commit/098520244f90e9330d3ae78bd1061aee2e3688c0
Author: zhongyunde 00443407 <zhongyunde at huawei.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/powi.ll
Log Message:
-----------
[InstCombine] optimize powi(X,Y) * X with Ofast
Try to transform the powi(X, Y) * X into powi(X, Y+1) with Ofast
For this case, when the Y is 3, then powi(X, 4) is replaced by
X2 = X * X; X2 * X2 in the further step.
Similar to D109954, who requires reassoc.
Fixes https://github.com/llvm/llvm-project/issues/69862.
Commit: 1752b9e4c74bda8bb312dadec0dae007c877e28c
https://github.com/llvm/llvm-project/commit/1752b9e4c74bda8bb312dadec0dae007c877e28c
Author: zhongyunde 00443407 <zhongyunde at huawei.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
Log Message:
-----------
[InstCombine] create a helper function foldPowiReassoc, NFC
Commit: 2d6988a45e29aec9242f96b3ab02a3c3699bc3ec
https://github.com/llvm/llvm-project/commit/2d6988a45e29aec9242f96b3ab02a3c3699bc3ec
Author: zhongyunde 00443407 <zhongyunde at huawei.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/powi.ll
Log Message:
-----------
[InstCombine] Add restrict reassoc for the operands of fmul
According the discussion, except the fmul itself, all its operands
should also have reassoc flag.
Add new API m_AllowReassoc to check reassoc flag
Commit: f7bebc191484f889272a727584b23697f369e952
https://github.com/llvm/llvm-project/commit/f7bebc191484f889272a727584b23697f369e952
Author: Janek van Oirschot <5994977+JanekvO at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
A llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
A llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt
A llvm/test/MC/AMDGPU/mcexpr_amd.s
A llvm/test/MC/AMDGPU/mcexpr_amd_err.s
Log Message:
-----------
Reland [AMDGPU] Add AMDGPU specific variadic operation MCExprs (#84562)
Adds AMDGPU specific variadic MCExpr operations 'max' and 'or'.
Relands #82022 with fixes
Commit: 486332af6bd3df32423c107ced2653908a1f0fb4
https://github.com/llvm/llvm-project/commit/486332af6bd3df32423c107ced2653908a1f0fb4
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn
Log Message:
-----------
[gn build] Port f7bebc191484
Commit: 2cd19df792056bbac38ed64c028e335d0c7ef05d
https://github.com/llvm/llvm-project/commit/2cd19df792056bbac38ed64c028e335d0c7ef05d
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Allow visiting extern variables
If the variable is additionally const(expr), visit them like normal
but omit the initializer.
Commit: 589c7abb03448cf00c94add3380b5e019ed5f504
https://github.com/llvm/llvm-project/commit/589c7abb03448cf00c94add3380b5e019ed5f504
Author: Kirill Stoimenov <kstoimenov at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/sve-select-cmp.ll
M llvm/test/Transforms/LoopVectorize/RISCV/select-cmp-reduction.ll
M llvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
M llvm/test/Transforms/LoopVectorize/select-cmp.ll
M llvm/test/Transforms/LoopVectorize/select-reduction-start-value-may-be-undef-or-poison.ll
Log Message:
-----------
Revert "[LV] Improve AnyOf reduction codegen. (#78304)"
Broke sanitizer bots: https://lab.llvm.org/buildbot/#/builders/74/builds/26697
This reverts commit 95fef1dfefd5467206e74c089d29806fcd82889b.
Commit: 6ae4fcfd4c90f4ac7093d9bd901e75b2d5152eb9
https://github.com/llvm/llvm-project/commit/6ae4fcfd4c90f4ac7093d9bd901e75b2d5152eb9
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SCCPSolver.cpp
M llvm/test/Transforms/SCCP/add-nuw-nsw-flags.ll
Log Message:
-----------
[SCCP] Extend `visitBinaryOperator` to overflowing binary ops
Leverage more refined ranges results when handling overflowing
binary operators.
Commit: a75d0a3dbab6215db228cedf5f2458e251c30637
https://github.com/llvm/llvm-project/commit/a75d0a3dbab6215db228cedf5f2458e251c30637
Author: Alastair Houghton <ahoughton at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M lldb/cmake/caches/Apple-lldb-Linux.cmake
Log Message:
-----------
[LLDB] Add lldb-python-scripts to the things installed on Linux. (#85080)
Commit: d83660827f0cb0054dafef6568ea2fa5b788a39c
https://github.com/llvm/llvm-project/commit/d83660827f0cb0054dafef6568ea2fa5b788a39c
Author: Andrew Brown <andrew.brown at intel.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M openmp/runtime/src/z_Linux_util.cpp
Log Message:
-----------
[openmp][wasm] Fix microtask type mismatch (#84355)
When OpenMP is compiled for WebAssembly (see #71297), it invokes a
microtask via a `switch` statement that dispatches to the `void *`
microtask pointer with spelled-out arguments (not varargs). As #83329
points out, however, this can result in a type mismatch when the
indirect call is executed by WebAssembly; WebAssembly expects the called
pointer to have the precise type of the call site. This change fixes the
issue by bringing back the approach in [D142593] of type-casting all the
`switch` arms to the precise type. This fixes #83329.
[D142593]: https://reviews.llvm.org/D142593
Commit: 68360dc85507350c9d38bcc6916debe29fd58fee
https://github.com/llvm/llvm-project/commit/68360dc85507350c9d38bcc6916debe29fd58fee
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
A clang/test/AST/Interp/c23.c
Log Message:
-----------
[clang][Interp] Don't abort on float div-by-zero
The result in that case can still be computed, and it's inf.
Commit: ea2cfcc15b4a0c5e823ed173ac8701d1ba6081eb
https://github.com/llvm/llvm-project/commit/ea2cfcc15b4a0c5e823ed173ac8701d1ba6081eb
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/lib/Lower/CMakeLists.txt
A flang/lib/Lower/OpenMP/ClauseT.h
A flang/lib/Lower/OpenMP/Clauses.cpp
A flang/lib/Lower/OpenMP/Clauses.h
Log Message:
-----------
[flang][OpenMP] Implement flexible OpenMP clause representation (#81621)
The new set of classes representing OpenMP classes mimics the contents
of parser::OmpClause, but differs in a few aspects:
- it can be easily created, copied, etc.
- is based on semantics::SomeExpr instead of parser objects.
This set of classes is geared towards a language-agnostic representation
of OpenMP clauses. While the class members are still based on flang's
`parser::OmpClause`, the classes themselves are actually C++ templates
parameterized with types essential to represent necessary information.
The two parameters are
- `IdType`: the type that can represent object's identity (for flang it
will be `semantics::Symbol *`),
- `ExprType`: the type that can represent expressions, arithmetic and
object references (`semantics::MaybeExpr` in flang).
The templates are defined in a namespace `tomp` (to distinguish it from
`omp`).
This patch introduces file "Clauses.cpp", which contains instantiations
of all of the templates for flang. The instantiations are members of
namespace `omp`, and include an all-encompassing variant class
`omp::Clause`, which is the analog of `parser::OmpClause`.
The class `OmpObject` is represented by `omp::Object`, which contains
the symbol associated with the object, and `semantics::MaybeExpr`
representing the designator for the symbol reference. For each specific
clause in the variant `parser::OmpClause`, there exists a `make`
function that will generate the corresponding `omp::Clause` from it. The
intent was to use the make functions as variant visitors. The creation
of a clause instance would then follow the pattern:
```
omp::Clause clause = std::visit([](auto &&s) { return make(s, semaCtx); }, parserClause.u);
```
If a new clause `foo` is added in the future, then:
- a new template `tomp::FooT` representing the clause needs to be added
to ClauseT.h,
- a new instance needs to be created in flang, this can be as simple as
`using Foo = tomp::FooT<...>`,
- a new make function needs to be implemented to create object of class
Foo from `parser::OmpClause::Foo`.
This patch only introduces the new classes, they are not yet used
anywhere.
[Clause representation 1/6]
Commit: 65c0143296e3d8aafe819cbae4a48a3d53f8e7b3
https://github.com/llvm/llvm-project/commit/65c0143296e3d8aafe819cbae4a48a3d53f8e7b3
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
A clang/test/AST/Interp/ms.cpp
Log Message:
-----------
[clang][Interp] Fix rotate builtins with differently-typed arguments
We were assuming (and asserting) that both arguments have the same
type, but at least for the ms versions, that's not always the case.
Commit: 23323e2837d3282c194df6239a7f1a5494c17907
https://github.com/llvm/llvm-project/commit/23323e2837d3282c194df6239a7f1a5494c17907
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
Log Message:
-----------
[TargetLowering][RISCV] Propagate fastmath flags for the vector operations emitted in expandVecReduce. (#85164)
We used the fastmath flags for any scalar ops created, but not vector.
Commit: 8481fb1698a4a54b3965a1654046df736a57e144
https://github.com/llvm/llvm-project/commit/8481fb1698a4a54b3965a1654046df736a57e144
Author: Zahi Moudallal <zahi at openai.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
M mlir/test/Target/LLVMIR/rocdl.mlir
Log Message:
-----------
[MLIR][ROCDL] Fix BallotOp LLVM translation and add doc (#85116)
This modifies the return type of the intrinsic call to handle 32 and 64
bits
properly and document the MLIR operation.
Commit: 92a09c0165b87032e1bd05020a78ed845cf35661
https://github.com/llvm/llvm-project/commit/92a09c0165b87032e1bd05020a78ed845cf35661
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/Features.def
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/Type.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Sema/SemaAttr.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/Sema/nullability.c
M clang/test/SemaCXX/nullability.cpp
Log Message:
-----------
[clang][nullability] allow _Nonnull etc on nullable class types (#82705)
This enables clang and external nullability checkers to make use of
these annotations on nullable C++ class types like unique_ptr.
These types are recognized by the presence of the _Nullable attribute.
Nullable standard library types implicitly receive this attribute.
Existing static warnings for raw pointers are extended to smart
pointers:
- nullptr used as return value or argument for non-null functions
(`-Wnonnull`)
- assigning or initializing nonnull variables with nullable values
(`-Wnullable-to-nonnull-conversion`)
It doesn't implicitly add these attributes based on the assume_nonnull
pragma, nor warn on missing attributes where the pragma would apply
them.
I'm not confident that the pragma's current behavior will work well for
C++ (where type-based metaprogramming is much more common than C/ObjC).
We'd like to revisit this once we have more implementation experience.
Support can be detected as `__has_feature(nullability_on_classes)`.
This is needed for back-compatibility, as previously clang would issue a
hard error when _Nullable appears on a smart pointer.
UBSan's `-fsanitize=nullability` will not check smart-pointer types.
It can be made to do so by synthesizing calls to `operator bool`, but
that's left for future work.
Discussion:
https://discourse.llvm.org/t/rfc-allowing-nonnull-etc-on-smart-pointers/77201/26
Commit: 6588ac3017df0095b160510f56dcb3e4c32a09f0
https://github.com/llvm/llvm-project/commit/6588ac3017df0095b160510f56dcb3e4c32a09f0
Author: Jonas Paulsson <paulson1 at linux.ibm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/MachineCombiner.cpp
M llvm/test/CodeGen/RISCV/umulo-128-legalisation-lowering.ll
M llvm/test/CodeGen/X86/bitcast-and-setcc-256.ll
Log Message:
-----------
[MachineCombiner] Don't ignore PHI depths (#82025)
The depths of the Root and the NewRoot are to be compared in
MachineCombiner::improvesCriticalPathLen(), and while the call to
BlockTrace.getInstrCycles(*Root) includes the Depth of a PHI, for some
reason PHI nodes have been ignored in getOperandDef().
This patch removes the special handling of PHIs in getOperandDef() so that
Root and NewRoot get a fair comparison. This does not affect loop headers
as MachineTraceMetrics handles that case by ignoring incoming PHI edges.
Commit: 0b0798b7024843db462ac2fa903c94308d6654eb
https://github.com/llvm/llvm-project/commit/0b0798b7024843db462ac2fa903c94308d6654eb
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M .github/CODEOWNERS
Log Message:
-----------
[NFC] Subscribe myself to changes to {lib,test}/AST/Interp/
Commit: 797994da3c3b0ff40201ac0045740370d2c39cbb
https://github.com/llvm/llvm-project/commit/797994da3c3b0ff40201ac0045740370d2c39cbb
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/complex.c
Log Message:
-----------
[clang][Interp] Strip _Atomic from _Complex types
... when doing binary operations on them.
Commit: 52557bce73f64df5da13d42dd97b57fbd4ab1b12
https://github.com/llvm/llvm-project/commit/52557bce73f64df5da13d42dd97b57fbd4ab1b12
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
A lldb/test/API/macosx/tbi-honored/Makefile
A lldb/test/API/macosx/tbi-honored/TestTBIHonored.py
A lldb/test/API/macosx/tbi-honored/main.c
Log Message:
-----------
[lldb] [Mach-O] ProcessMachCore needs to strip TBI data from addrs (#84998)
Darwin AArch64 application processors are run with Top Byte Ignore mode
enabled so metadata may be stored in the top byte, it needs to be
ignored when reading/writing memory. David Spickett handled this already
in the base class Process::ReadMemory but ProcessMachCore overrides that
method (to avoid the memory cache) and did not pick up the same change.
I add a test case that creates a pointer with metadata in the top byte
and dereferences it with a live process and with a corefile.
rdar://123784501
Commit: 6479218932117ab36cba578bb458ee7c0fb4bf0a
https://github.com/llvm/llvm-project/commit/6479218932117ab36cba578bb458ee7c0fb4bf0a
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/Clauses.h
Log Message:
-----------
Fix -Werror build
In file included from ../llvm-project/flang/lib/Lower/OpenMP/Clauses.cpp:9:
../llvm-project/flang/lib/Lower/OpenMP/Clauses.h:195:17: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
195 | return Clause{id, specific, source};
| ^~~~~~~~~~~~
| { }
Commit: 58a20a0b96a29686d78d3431c85ee378bf51e98d
https://github.com/llvm/llvm-project/commit/58a20a0b96a29686d78d3431c85ee378bf51e98d
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
M llvm/test/CodeGen/AArch64/stack-tagging-initializer-merge.ll
M llvm/test/CodeGen/AArch64/stack-tagging-stack-coloring.ll
M llvm/test/CodeGen/AArch64/stack-tagging-untag-placement.ll
Log Message:
-----------
[MTE] fix bug that prevented stack coloring with MTE (#84422)
Commit: d7f71a330d42ae8ac9048a03bb4816d07038dca6
https://github.com/llvm/llvm-project/commit/d7f71a330d42ae8ac9048a03bb4816d07038dca6
Author: Ingo Müller <ingomueller at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/test/mlir-opt/split-markers.mlir
Log Message:
-----------
[mlir] Fix RUN command introduced in 516ccce7fa (#84765) (NFC)
There were two problems:
* The `%s` argument to `FileCheck` was repeated.
* A single dash for `-check-prefix` was used but we need two dashes.
Commit: 22eb8000d22efe1bf06518e84af84d34ff6375de
https://github.com/llvm/llvm-project/commit/22eb8000d22efe1bf06518e84af84d34ff6375de
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
Log Message:
-----------
[flang][NFC] Expose patterns from PreCGRewrite pass (#85156)
Expose patterns so they can be reused in other passes.
Commit: 0adccd1a7fd8e30650f76bd33471de28b7939455
https://github.com/llvm/llvm-project/commit/0adccd1a7fd8e30650f76bd33471de28b7939455
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M lldb/include/lldb/Target/Language.h
M lldb/source/Breakpoint/BreakpointResolver.cpp
M lldb/source/Core/Debugger.cpp
M lldb/source/Target/Language.cpp
M lldb/source/Target/TargetProperties.td
Log Message:
-----------
[lldb] Allow languages to filter breakpoints set by line (#83908)
Some languages may create artificial functions that have no real user
code, even though there is line table information for them. One such
case is with coroutine code that receives the CoroSplitter
transformation in LLVM IR. That code transformation creates many
different Functions, cloning one Instruction into many Instructions in
many different Functions and copying the associated debug locations.
It would be difficult to make that pass delete debug locations of cloned
instructions in a language agnostic way (is it even possible?), but LLDB
can ignore certain locations by querying its Language APIs and having it
decide based on, for example, mangling information.
Commit: 0f252e7bd838d201bad89cda5b0e40a1fdeb96ca
https://github.com/llvm/llvm-project/commit/0f252e7bd838d201bad89cda5b0e40a1fdeb96ca
Author: Lang Hames <lhames at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
Log Message:
-----------
[ORC][MachO] Allow multiple LC_BUILD_VERSION commands.
No testcase: I'm still thinking about the best way to test this.
Commit: 400518526849b8e03400449502a2da67db40157c
https://github.com/llvm/llvm-project/commit/400518526849b8e03400449502a2da67db40157c
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libcxx/utils/ci/docker-compose.yml
Log Message:
-----------
[libc++][CI] Updates the version number of the latest release.
Commit: 5a77bdc3e7d60c1724054d09a7dc7c67fb58ea9a
https://github.com/llvm/llvm-project/commit/5a77bdc3e7d60c1724054d09a7dc7c67fb58ea9a
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/Clauses.cpp
Log Message:
-----------
Fix NDEBUG build: guard call to `dump` with #if/#endif
Commit: 8fe3e70e810b409dce36f6d415e86f0f9b1cf22d
https://github.com/llvm/llvm-project/commit/8fe3e70e810b409dce36f6d415e86f0f9b1cf22d
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M lld/ELF/Writer.cpp
M lld/test/ELF/linkerscript/discard-section.s
Log Message:
-----------
[ELF] Eliminate symbols demoted due to /DISCARD/ discarded sections (#85167)
#69295 demoted Defined symbols relative to discarded sections.
If such a symbol is unreferenced, the desired behavior is to
eliminate it from .symtab just like --gc-sections discarded
definitions.
Linux kernel's CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y configuration expects
that the unreferenced `unused` is not emitted to .symtab
(https://github.com/ClangBuiltLinux/linux/issues/2006).
For relocations referencing demoted symbols, the symbol index restores
to 0 like older lld (`R_X86_64_64 0` in `discard-section.s`).
Fix #85048
Commit: 63d53ee3b07e3b13e176eb60d8c02dea365c5ddb
https://github.com/llvm/llvm-project/commit/63d53ee3b07e3b13e176eb60d8c02dea365c5ddb
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Driver/ToolChain.h
M clang/lib/Driver/ToolChain.cpp
M clang/test/Driver/clang-g-opts.c
Log Message:
-----------
Revert "[Driver] Default riscv*- triples to -fdebug-default-version=4" (#84119)
This reverts commit bbc0f99f3bc96f1db16f649fc21dd18e5b0918f6
(https://reviews.llvm.org/D157663).
With this change, `-g` for the next major release 19.1 will generate
R_RISCV_SET_ULEB128/R_RISCV_SUB_ULEB128 relocations, which require
lld>=18 or binutils>=2.41.
binutils 2.41 is relatively new, but GCC has been producing
R_RISCV_SET_ULEB128/R_RISCV_SUB_ULEB128 for some time now.
Commit: 5afb937d8a30445642ccaf33866ee4cdd0713222
https://github.com/llvm/llvm-project/commit/5afb937d8a30445642ccaf33866ee4cdd0713222
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libcxx/include/fstream
A libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/setbuf.pass.cpp
Log Message:
-----------
[libc++] Implements filebuf unbuffered. (#76629)
When calling setbuf(nullptr, 0) before performing file operations it
should set the file to unbuffered mode. Currently the code avoids
buffering internally, but the underlying stream still can buffer.
This is addressed by disabling the buffering of the underlying stream.
Fixes: https://github.com/llvm/llvm-project/issues/60509
Commit: f2d02ce04fe679c7cc806722a3c4a303f970f95f
https://github.com/llvm/llvm-project/commit/f2d02ce04fe679c7cc806722a3c4a303f970f95f
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail6.ll
M llvm/test/Instrumentation/InstrProfiling/Coro/coro-split-musttail7.ll
M llvm/test/Transforms/Coroutines/coro-split-musttail6.ll
M llvm/test/Transforms/Coroutines/coro-split-musttail7.ll
Log Message:
-----------
[Coroutines] Remove some stale FIXMEs (NFC)
The calls are already musttail.
Commit: 76400d2979c92cc0393628dea50e26374d559775
https://github.com/llvm/llvm-project/commit/76400d2979c92cc0393628dea50e26374d559775
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.h
Log Message:
-----------
[WebAssembly] Move getLibcallSignature into WebAssembly namespace (NFC) (#85171)
These are Wasm only functions so they are better be within `WebAssembly`
namespace rather than the `llvm` namespace which includes the whole
LLVM.
Also this removes `extern` keywords which are not strictly necessary.
Commit: 611c62b30d160375b46b7afedc04965ee6f67d1a
https://github.com/llvm/llvm-project/commit/611c62b30d160375b46b7afedc04965ee6f67d1a
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
M openmp/libomptarget/plugins-nextgen/common/include/Utils/ELF.h
M openmp/libomptarget/plugins-nextgen/common/src/GlobalHandler.cpp
M openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp
M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
Log Message:
-----------
[libomptarget] Support BE ELF files in plugins-nextgen (#85246)
Code in plugins-nextgen reading ELF files is currently hard-coded to
assume a 64-bit little-endian ELF format. Unfortunately, this assumption
is even embedded in the interface between GlobalHandler and Utils/ELF
routines, which use ELF64LE types.
To fix this, I've refactored the interface to use generic types, in
particular by using (a unique_ptr to) ObjectFile instead of
ELF64LEObjectFile, and ELFSymbolRef instead of ELF64LE::Sym.
This allows properly templating over multiple ELF format variants inside
Utils/ELF; specifically, this patch adds support for 64-bit big-endian
ELF files in addition to 64-bit little-endian files.
Commit: f795d1a8b1d1e51d2bc815d5bbed8099b37da0b7
https://github.com/llvm/llvm-project/commit/f795d1a8b1d1e51d2bc815d5bbed8099b37da0b7
Author: Paschalis Mpeis <paschalis.mpeis at arm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/AArch64/slp-frem.ll
Log Message:
-----------
[AArch64][LV][SLP] Vectorizers use call cost for vectorized frem (#82488)
getArithmeticInstrCost is used by both LoopVectorizer and SLPVectorizer
to compute the cost of frem, which becomes a call cost on AArch64 when
TLI has a vector library function.
Add tests that do SLP vectorization for code that contains 2x double and
4x float frem instructions.
Commit: 5cf8cf3ac80e1edce72bc4120b75a31ca609a82c
https://github.com/llvm/llvm-project/commit/5cf8cf3ac80e1edce72bc4120b75a31ca609a82c
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Fix directive in ActOnOpenMPTargetParallelForSimdDire… (#85217)
…ctive
The function `ActOnOpenMPTargetParallelForSimdDirective` gets the number
of capture levels for OMPD_target_parallel_for, whereas the intended
directive is OMPD_target_parallel_for_simd.
Commit: d92d2e2b66ab14ad8f41c7af617a18166b2d54ae
https://github.com/llvm/llvm-project/commit/d92d2e2b66ab14ad8f41c7af617a18166b2d54ae
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Log Message:
-----------
[AMDGPU] Remove trailing whitespaces in SIRegisterInfo.cpp. NFC. (#85269)
Commit: 15788e8dd38ffaa4336eda4c03079b6ea4d7df6d
https://github.com/llvm/llvm-project/commit/15788e8dd38ffaa4336eda4c03079b6ea4d7df6d
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/module/__fortran_builtins.f90
A flang/test/Lower/Intrinsics/c_ptr_eq_ne.f90
Log Message:
-----------
[flang] Lower c_ptr_eq/ne for iso_c_binding (#85135)
Comparing c_ptr type for equality or inequality is raising an error.
```
not yet implemented: intrinsic module procedure: c_ptr_eq
```
or this one for inequality
```
not yet implemented: intrinsic module procedure: c_ptr_ne
```
This patch adds a lowering for them and fix the `__fortran_builtins.f90`
module for inequality.
Commit: 4e232cab0debff5dbb1906ae6b73c3d9b6cea7cd
https://github.com/llvm/llvm-project/commit/4e232cab0debff5dbb1906ae6b73c3d9b6cea7cd
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Support/APInt.cpp
Log Message:
-----------
[APInt] Implement average functions without sign/zero-extension. NFC. (#85212)
Removing the extension to FullWidth should make them much more efficient
in the 64-bit case, because 65-bit APInts use a separate allocation for
their bits.
Commit: 4c8714efc50eaefc59a0003f6aa44f666feb0140
https://github.com/llvm/llvm-project/commit/4c8714efc50eaefc59a0003f6aa44f666feb0140
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
M openmp/libomptarget/plugins-nextgen/common/include/Utils/ELF.h
M openmp/libomptarget/plugins-nextgen/common/src/GlobalHandler.cpp
M openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp
M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
Log Message:
-----------
Revert "[libomptarget] Support BE ELF files in plugins-nextgen (#85246)"
This reverts commit 611c62b30d160375b46b7afedc04965ee6f67d1a.
Commit: 2c80a9accb18f3eeb1e0c1bd09a980fb2f2dc2d5
https://github.com/llvm/llvm-project/commit/2c80a9accb18f3eeb1e0c1bd09a980fb2f2dc2d5
Author: Lang Hames <lhames at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
Log Message:
-----------
[ORC][MachO] Pluralize member name.
This member switched from an optional to a vector in 0f252e7bd83.
Commit: 59ab86bb2f135c42ab100416f1a7ada7c12c1d50
https://github.com/llvm/llvm-project/commit/59ab86bb2f135c42ab100416f1a7ada7c12c1d50
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
Log Message:
-----------
[BOLT] Clear operands when creating new instructions. NFCI (#85191)
Reset operand list whenever we create a new instruction via a parameter
passed by reference. Most functions were already doing this, but there
are several places missing the reset. Potentially, if we don not clear
the list it could lead to invalid instruction operands. But the existing
code is unaffected.
Commit: 4b5b7eca0e5e4e10acb42a70cb0af8300a3b2dfc
https://github.com/llvm/llvm-project/commit/4b5b7eca0e5e4e10acb42a70cb0af8300a3b2dfc
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
A cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2022.py
M cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/list-debuggers/list-debuggers.test
Log Message:
-----------
[Dexter] Add VisualStudio2022 support to Dexter (#85248)
Dexter currently supports Visual Studio 2015/2017/2019, but not 2022;
this patch adds support for 2022.
Commit: 4f873730d6ac1a8496cdef939cc451f178a864ee
https://github.com/llvm/llvm-project/commit/4f873730d6ac1a8496cdef939cc451f178a864ee
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/extract-vector-elt.ll
Log Message:
-----------
precommit test
Commit: b058b7e6280a732f6fcbc582f8b6511a36fb96e8
https://github.com/llvm/llvm-project/commit/b058b7e6280a732f6fcbc582f8b6511a36fb96e8
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/test/InstallAPI/basic.test
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
Log Message:
-----------
[InstallAPI] capture compatibility versions (#85261)
Commit: 8e3c0a299f7eb8019f70420bb9d5362731ba13fe
https://github.com/llvm/llvm-project/commit/8e3c0a299f7eb8019f70420bb9d5362731ba13fe
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/module/__fortran_builtins.f90
R flang/test/Lower/Intrinsics/c_ptr_eq_ne.f90
Log Message:
-----------
Revert "[flang] Lower c_ptr_eq/ne for iso_c_binding" (#85293)
Reverts llvm/llvm-project#85135
There is an issue with module file generation in flang build.
Commit: 95c1313f253cd343ee0b20cb7af7c71d904d96be
https://github.com/llvm/llvm-project/commit/95c1313f253cd343ee0b20cb7af7c71d904d96be
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libcxx/include/__functional/hash.h
M libcxx/include/__tuple/sfinae_helpers.h
M libcxx/include/__type_traits/conjunction.h
M libcxx/include/array
M libcxx/include/coroutine
M libcxx/include/experimental/memory
M libcxx/include/optional
M libcxx/include/variant
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
Log Message:
-----------
[libc++] Remove a few includes from <__functional/hash.h> (#83254)
This also moves `__all` from `sfinae_helpers.h` to `conjunction.h`.
Commit: 8c4546f350fbce938d8fbc85d9e353d011f3f673
https://github.com/llvm/llvm-project/commit/8c4546f350fbce938d8fbc85d9e353d011f3f673
Author: dyung <douglas.yung at sony.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
Revert "[compiler-rt] Also consider SIGPROF as a synchronous signal (#85188)" (#85296)
This reverts commit 6f3f659ce9ab91002b4a490b0ce4b085981383cd.
This change is causing TSAN failures on a bot as reported in #85188:
https://lab.llvm.org/buildbot/#/builders/247/builds/15279
Commit: ffa2810f7baffaa747b1782ca44207c12d0dd222
https://github.com/llvm/llvm-project/commit/ffa2810f7baffaa747b1782ca44207c12d0dd222
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
Log Message:
-----------
[RISCV] Optimize lowering of VECREDUCE_FMINIMUM/VECREDUCE_FMAXIMUM. (#85165)
Use a normal min/max reduction that doesn't propagate nans and force
the result to nan at the end if any elements were nan.
Commit: 25959310a50240c320283d1e4b23046fed152313
https://github.com/llvm/llvm-project/commit/25959310a50240c320283d1e4b23046fed152313
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/test/Transforms/IndVarSimplify/iv-widen-elim-ext.ll
Log Message:
-----------
[IndVars] Support shl by constant and or disjoint in getExtendedOperandRecurrence. (#84282)
We can treat a shift by constant as a multiply by a power of 2
and we can treat an or disjoint as a 'add nsw nuw'.
I've added a helper struct similar to a struct used in
ScalarEvolution.cpp
to represent the opcode, operands, and NSW/NUW flags for normal
add/sub/mul
and shl/or that are being treated as mul/add.
I don't think we need to teach cloneIVUser about this. It will continue
to clone them using cloneBitwiseIVUser. After the cloning we will ask
for the SCEV expression for the cloned IV user and verify that it
matches
the AddRec returned by getExtendedOperandRecurrence. Since SCEV also
knows how to convert shl to mul and or disjoint to add nsw nuw, this
should
usually match. If it doesn't match, the cloned IV user will be deleted.
Commit: b6193a2dc2c7e1fb278161873e8f01f728412f4b
https://github.com/llvm/llvm-project/commit/b6193a2dc2c7e1fb278161873e8f01f728412f4b
Author: Romaric Jodin <89833130+rjodinchr at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libclc/CMakeLists.txt
M libclc/generic/lib/gen_convert.py
Log Message:
-----------
libclc: clspv: update gen_convert.cl for clspv (#66902)
Add a clspv switch in gen_convert.cl
This is needed as Vulkan SPIR-V does not respect the assumptions
needed to have the generic convert.cl compliant on many platforms.
It is needed because of the conversion of TYPE_MAX and
TYPE_MIN. Depending on the platform the behaviour can vary, but most
of them just do not convert correctly those 2 values.
Because of that, we also need to avoid having explicit function for
simple conversions because it allows llvm to optimise the code, thus
removing some of the added checks that are in fact needed.
Commit: c08d70a5cbc61efc5c8636c8788f39270f59dec5
https://github.com/llvm/llvm-project/commit/c08d70a5cbc61efc5c8636c8788f39270f59dec5
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/runtime/pointer.cpp
Log Message:
-----------
[flang][runtime] Temporary fix for unresolved reference in CUDA F18 runtime. (#85294)
Avoid referencing executionEnvironment in the device code, since
environment.cpp is not part of the CUDA build yet.
This is a temporary fix before #85182 is merged.
Commit: 33960c90258ed78b9b877b1a43e219d1cbc2efce
https://github.com/llvm/llvm-project/commit/33960c90258ed78b9b877b1a43e219d1cbc2efce
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/Transforms/SLPVectorizer/RISCV/complex-loads.ll
M llvm/test/Transforms/SLPVectorizer/X86/crash_netbsd_decompress.ll
M llvm/test/Transforms/SLPVectorizer/X86/reorder_phi.ll
M llvm/test/Transforms/SLPVectorizer/X86/vect_copyable_in_binops.ll
Log Message:
-----------
Regen some tests to reflect naming changes
Cutting down on diff in an upcoming change.
Commit: 4b0276d1c9cb558f3c20736dce802ceb26c0b958
https://github.com/llvm/llvm-project/commit/4b0276d1c9cb558f3c20736dce802ceb26c0b958
Author: Daniel Kiss <daniel.kiss at arm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/AutoUpgrade.h
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/test/LTO/AArch64/link-branch-target-enforcement.ll
R llvm/test/LTO/AArch64/link-sign-return-address.ll
M llvm/test/Linker/link-arm-and-thumb.ll
Log Message:
-----------
Revert "[llvm][AArch64] Autoupgrade function attributes from Module attributes." (#85291)
Reverts llvm/llvm-project#82763 because caused a regressions with
inlining.
See
https://github.com/llvm/llvm-project/pull/84494#issuecomment-1996047458
Commit: ea429e19f56005bf89e717c14efdf49ec055b183
https://github.com/llvm/llvm-project/commit/ea429e19f56005bf89e717c14efdf49ec055b183
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
Log Message:
-----------
[SLP]Do extra analysis int minbitwidth if some checks return false.
The instruction itself can be considered good for minbitwidth casting,
even if one of the operand checks returns false.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/84363
Commit: bba790db477b5b076e587b6c679ac68eb8316ac3
https://github.com/llvm/llvm-project/commit/bba790db477b5b076e587b6c679ac68eb8316ac3
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/ShrinkWrapping.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
M bolt/unittests/Core/MCPlusBuilder.cpp
Log Message:
-----------
[BOLT] Refactor instruction creation interface. NFCI (#85292)
Refactor MCPlusBuilder's create{Instruction}() functions that used to
return bool. We almost never check the return value as we rely on
llvm_unreachable() to detect unimplemented functionality. There were a
couple of cases that checked the return value, but they would hit the
unreachable condition first (at least in debug builds) before the return
value gets checked.
Commit: c56bd7ab7934355ed19d4d3ec299b5784bf02379
https://github.com/llvm/llvm-project/commit/c56bd7ab7934355ed19d4d3ec299b5784bf02379
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/include/mlir/Dialect/Vector/Utils/VectorUtils.h
M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
M mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
M mlir/test/Dialect/Linalg/vectorization-unsupported.mlir
A mlir/test/Dialect/Linalg/vectorize-conv-masked-and-scalable.mlir
Log Message:
-----------
[mlir][linalg] Enable masked vectorisation for depthwise convolutions (#81625)
This patch adds support for masked vectorisation of depthwise 1D WC
convolutions,`linalg.depthwise_conv_1d_nwc_wc`. This is implemented by
adding support for masking.
Two major assumptions are made:
* only the channel dimension can be dynamic/scalable (i.e. the
trailing dim),
* when specifying vector sizes to use in the vectoriser, only the size
corresponding to the channel dim is effectively used (other dims are
inferred from the context).
In terms of scalable vectorisation, this should be sufficient to cover
all practical cases (i.e. making arbitrary dim scalable wouldn't make
much sense). As for more generic cases with dynamic shapes (e.g. W or N
dims being dynamic), more work would be needed. In particular, one would
have to consider the filter and input/output tensors separately.
Commit: 00ba2a6f1e7bbb6fa6f3d50ad87a4a528af87ef5
https://github.com/llvm/llvm-project/commit/00ba2a6f1e7bbb6fa6f3d50ad87a4a528af87ef5
Author: Zaara Syeda <syzaara at ca.ibm.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.h
Log Message:
-----------
[AIX][TOC] Fix buildbot failures from commit b4ae8df (#85303)
The following tests fail when built with Address
and Undefined sanitizers:
CodeGen/PowerPC/basic-toc-data-def.ll
CodeGen/PowerPC/toc-data-large-array2.ll
Subtarget may be null in emitGlobalVariable, for example in the testcase
where we have no functions in the IR. The fix moves this function from
PPCSubtarget to a static helper function. This only fails with
sanitizers because the Subtarget is not used in the member function.
Commit: 8f0012d3dc2ae6d40e9f812cae111ca7a6eb2a2d
https://github.com/llvm/llvm-project/commit/8f0012d3dc2ae6d40e9f812cae111ca7a6eb2a2d
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
A llvm/test/CodeGen/NVPTX/common-linkage.ll
M llvm/test/CodeGen/NVPTX/weak-global.ll
Log Message:
-----------
[NVPTX] Use .common linkage for common globals (#84416)
Switch from `.weak` to `.common` linkage for common global variables
where possible. The `.common` linkage is described in [PTX ISA 11.6.4.
Linking Directives:
.common](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#linking-directives-common)
> Declares identifier to be globally visible but “common”.
>
>Common symbols are similar to globally visible symbols. However
multiple object files may declare the same common symbol and they may
have different types and sizes and references to a symbol get resolved
against a common symbol with the largest size.
>
>Only one object file can initialize a common symbol and that must have
the largest size among all other definitions of that common symbol from
different object files.
>
>.common linking directive can be used only on variables with .global
storage. It cannot be used on function symbols or on symbols with opaque
type.
Commit: aa6100643c2c8f9a1b06ba557b68b0fba477e3c7
https://github.com/llvm/llvm-project/commit/aa6100643c2c8f9a1b06ba557b68b0fba477e3c7
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
A llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64.dylib
A llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64_32.dylib
A llvm/test/tools/llvm-objdump/MachO/AArch64/macho-relative-method-lists.test
M llvm/tools/llvm-objdump/MachODump.cpp
Log Message:
-----------
[llvm-objdump][macho] Add support for ObjC relative method lists (#84250)
For Mach-O, ld64 supports the `-fobjc-relative-method-lists` flag which
changes the format in which method lists are generated. The format uses
delta encoding vs the original direct-pointer encoding.
This change adds support to `llvm-objdump` and `llvm-otool` for
decoding/dumping of method lists in the delta format. Previously, if a
binary with this information format was passed to the tooling, it would
output invalid information, trying to parse the delta lists as pointer
lists.
After this change, the tooling will output correct information if a
binary in this format is encountered.
The output format is closest feasible match to XCode 15.1's otool
output. Tests are included for both 32bit and 64bit binaries.
The code style was matched as close as possible to existing
implementation of parsing non-delta method lists.
Diff between llvm-objdump and XCode 15.1 otool:
![objdump_vs_otool](https://github.com/llvm/llvm-project/assets/103613512/4fc04228-ed35-473d-b633-364402411b91)
---------
Co-authored-by: Alex B <alexborcan at meta.com>
Commit: 8f9ee39c58064d3a3291a89509501ebe55d2e788
https://github.com/llvm/llvm-project/commit/8f9ee39c58064d3a3291a89509501ebe55d2e788
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGenHLSL/builtins/rsqrt.hlsl
M clang/test/SemaHLSL/BuiltIns/frac-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/rcp-errors.hlsl
A clang/test/SemaHLSL/BuiltIns/rsqrt-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/lib/Target/DirectX/DXIL.td
A llvm/test/CodeGen/DirectX/rsqrt.ll
A llvm/test/CodeGen/DirectX/rsqrt_error.ll
Log Message:
-----------
[HLSL] Implement `rsqrt` intrinsic (#84820)
This change implements #70074
- `hlsl_intrinsics.h` - add the `rsqrt` api
- `DXIL.td` add the llvm intrinsic to DXIL op lowering map.
- `Builtins.td` - add an hlsl builtin for rsqrt.
- `CGBuiltin.cpp` add the ir generation for the rsqrt intrinsic.
- `SemaChecking.cpp` - reuse the one arg float only checks.
- `IntrinsicsDirectX.td` -add an `rsqrt` intrinsic.
Commit: caba6d13c8c883757508d34d98c0a1af4adde48a
https://github.com/llvm/llvm-project/commit/caba6d13c8c883757508d34d98c0a1af4adde48a
Author: Michael Jones <michaelrj at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libc/src/__support/FPUtil/FEnvImpl.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/math/generic/math_utils.h
M libc/test/src/math/ILogbTest.h
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
Log Message:
-----------
[libc] Remove direct math.h includes from src (#84991)
A downstream overlay mode user ran into issues with the isnan macro not
working in our sources with a specific libc configuration. This patch
replaces the last direct includes of math.h with our internal
math_macros.h, along with the necessary build system changes.
Commit: 0646bbc42c59f9dd67db3c073389fdd9e395be3c
https://github.com/llvm/llvm-project/commit/0646bbc42c59f9dd67db3c073389fdd9e395be3c
Author: Michael Jones <michaelrj at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libc/src/__support/FPUtil/FEnvImpl.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/math/generic/math_utils.h
M libc/test/src/math/ILogbTest.h
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
Log Message:
-----------
Revert "[libc] Remove direct math.h includes from src" (#85314)
Reverts llvm/llvm-project#84991
Caused build failures
Commit: 229640343e400394b315c6798c7c19e8a9bd188c
https://github.com/llvm/llvm-project/commit/229640343e400394b315c6798c7c19e8a9bd188c
Author: ManuelJBrito <59119670+ManuelJBrito at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/Transforms/NewGVN/2007-07-25-DominatedLoop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-InfiniteLoop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-Loop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-NestedLoop.ll
M llvm/test/Transforms/NewGVN/2007-07-25-SinglePredecessor.ll
M llvm/test/Transforms/NewGVN/2007-07-26-NonRedundant.ll
M llvm/test/Transforms/NewGVN/2007-07-26-PhiErasure.ll
M llvm/test/Transforms/NewGVN/2007-07-30-PredIDom.ll
M llvm/test/Transforms/NewGVN/2007-07-31-RedundantPhi.ll
M llvm/test/Transforms/NewGVN/2008-02-13-NewPHI.ll
M llvm/test/Transforms/NewGVN/2008-07-02-Unreachable.ll
M llvm/test/Transforms/NewGVN/2008-12-09-SelfRemove.ll
M llvm/test/Transforms/NewGVN/2008-12-12-RLE-Crash.ll
M llvm/test/Transforms/NewGVN/2008-12-14-rle-reanalyze.ll
M llvm/test/Transforms/NewGVN/2008-12-15-CacheVisited.ll
M llvm/test/Transforms/NewGVN/2009-01-21-SortInvalidation.ll
M llvm/test/Transforms/NewGVN/2009-01-22-SortInvalidation.ll
M llvm/test/Transforms/NewGVN/2009-03-10-PREOnVoid.ll
M llvm/test/Transforms/NewGVN/2009-07-13-MemDepSortFail.ll
M llvm/test/Transforms/NewGVN/2009-11-12-MemDepMallocBitCast.ll
M llvm/test/Transforms/NewGVN/2010-03-31-RedundantPHIs.ll
M llvm/test/Transforms/NewGVN/2010-05-08-OneBit.ll
M llvm/test/Transforms/NewGVN/2010-11-13-Simplify.ll
M llvm/test/Transforms/NewGVN/2011-04-27-phioperands.ll
M llvm/test/Transforms/NewGVN/2011-07-07-MatchIntrinsicExtract.ll
M llvm/test/Transforms/NewGVN/2011-09-07-TypeIdFor.ll
M llvm/test/Transforms/NewGVN/2012-05-22-PreCrash.ll
M llvm/test/Transforms/NewGVN/2016-08-30-MaskedScatterGather-xfail-inseltpoison.ll
M llvm/test/Transforms/NewGVN/MemdepMiscompile.ll
M llvm/test/Transforms/NewGVN/addrspacecast.ll
M llvm/test/Transforms/NewGVN/basic-cyclic-opt.ll
M llvm/test/Transforms/NewGVN/basic-undef-test.ll
M llvm/test/Transforms/NewGVN/br-identical.ll
M llvm/test/Transforms/NewGVN/calloc-load-removal.ll
M llvm/test/Transforms/NewGVN/calls-readonly.ll
M llvm/test/Transforms/NewGVN/completeness.ll
M llvm/test/Transforms/NewGVN/cond_br.ll
M llvm/test/Transforms/NewGVN/condprop.ll
M llvm/test/Transforms/NewGVN/crash-no-aa.ll
M llvm/test/Transforms/NewGVN/crash-usecounts.ll
M llvm/test/Transforms/NewGVN/crash.ll
M llvm/test/Transforms/NewGVN/cyclic-phi-handling.ll
M llvm/test/Transforms/NewGVN/dbg-redundant-load.ll
M llvm/test/Transforms/NewGVN/edge.ll
M llvm/test/Transforms/NewGVN/eliminate-callsite-inline.ll
M llvm/test/Transforms/NewGVN/equivalent-phi.ll
M llvm/test/Transforms/NewGVN/fold-const-expr.ll
M llvm/test/Transforms/NewGVN/fpmath.ll
M llvm/test/Transforms/NewGVN/funclet.ll
M llvm/test/Transforms/NewGVN/int_sideeffect.ll
M llvm/test/Transforms/NewGVN/invariant.group.ll
M llvm/test/Transforms/NewGVN/invariant.start.ll
M llvm/test/Transforms/NewGVN/lifetime-simple.ll
M llvm/test/Transforms/NewGVN/load-constant-mem.ll
M llvm/test/Transforms/NewGVN/load-from-unreachable-predecessor.ll
M llvm/test/Transforms/NewGVN/loadforward.ll
M llvm/test/Transforms/NewGVN/malloc-load-removal.ll
M llvm/test/Transforms/NewGVN/memory-handling.ll
M llvm/test/Transforms/NewGVN/metadata-nonnull.ll
M llvm/test/Transforms/NewGVN/metadata-simplify.ll
M llvm/test/Transforms/NewGVN/noalias.ll
M llvm/test/Transforms/NewGVN/nomemlocation.ll
M llvm/test/Transforms/NewGVN/non-integral-pointers.ll
M llvm/test/Transforms/NewGVN/null-aliases-nothing.ll
M llvm/test/Transforms/NewGVN/phi-edge-handling.ll
M llvm/test/Transforms/NewGVN/phi-of-ops-simplified-to-existing-value-then-changes-again.ll
M llvm/test/Transforms/NewGVN/phi-translate-partial-alias.ll
M llvm/test/Transforms/NewGVN/pr17732.ll
M llvm/test/Transforms/NewGVN/pr17852.ll
M llvm/test/Transforms/NewGVN/pr24397.ll
M llvm/test/Transforms/NewGVN/pr24426.ll
M llvm/test/Transforms/NewGVN/pr25440.ll
M llvm/test/Transforms/NewGVN/pr28562.ll
M llvm/test/Transforms/NewGVN/pr31472.ll
M llvm/test/Transforms/NewGVN/pr31483.ll
M llvm/test/Transforms/NewGVN/pr31491.ll
M llvm/test/Transforms/NewGVN/pr31501.ll
M llvm/test/Transforms/NewGVN/pr31573.ll
M llvm/test/Transforms/NewGVN/pr31594.ll
M llvm/test/Transforms/NewGVN/pr31613.ll
M llvm/test/Transforms/NewGVN/pr31682.ll
M llvm/test/Transforms/NewGVN/pr31758.ll
M llvm/test/Transforms/NewGVN/pr32607.ll
M llvm/test/Transforms/NewGVN/pr32836.ll
M llvm/test/Transforms/NewGVN/pr32838.ll
M llvm/test/Transforms/NewGVN/pr32845.ll
M llvm/test/Transforms/NewGVN/pr32852.ll
M llvm/test/Transforms/NewGVN/pr32897.ll
M llvm/test/Transforms/NewGVN/pr32934.ll
M llvm/test/Transforms/NewGVN/pr32945.ll
M llvm/test/Transforms/NewGVN/pr32952.ll
M llvm/test/Transforms/NewGVN/pr33014.ll
M llvm/test/Transforms/NewGVN/pr33086.ll
M llvm/test/Transforms/NewGVN/pr33116.ll
M llvm/test/Transforms/NewGVN/pr33187.ll
M llvm/test/Transforms/NewGVN/pr33196.ll
M llvm/test/Transforms/NewGVN/pr33204.ll
M llvm/test/Transforms/NewGVN/pr33305.ll
M llvm/test/Transforms/NewGVN/pr33367.ll
M llvm/test/Transforms/NewGVN/pr34452.ll
M llvm/test/Transforms/NewGVN/pr42422-phi-of-ops.ll
M llvm/test/Transforms/NewGVN/pr43441.ll
M llvm/test/Transforms/NewGVN/pre-compare.ll
M llvm/test/Transforms/NewGVN/preserve-metadata-for-predicate-replacements.ll
M llvm/test/Transforms/NewGVN/readattrs.ll
M llvm/test/Transforms/NewGVN/rle-nonlocal.ll
M llvm/test/Transforms/NewGVN/rle.ll
M llvm/test/Transforms/NewGVN/simp-to-self.ll
M llvm/test/Transforms/NewGVN/stale-loop-info.ll
M llvm/test/Transforms/NewGVN/tbaa.ll
M llvm/test/Transforms/NewGVN/unreachable_block_infinite_loop.ll
M llvm/test/Transforms/NewGVN/verify-memoryphi.ll
M llvm/test/Transforms/NewGVN/volatile-nonvolatile.ll
Log Message:
-----------
[NewGVN][NFC]Regenerate test checks (#85280)
Regenerate test checks for NewGVN.
Commit: d192b643701062064408dd7be0301f7a5d070c03
https://github.com/llvm/llvm-project/commit/d192b643701062064408dd7be0301f7a5d070c03
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGenHLSL/builtins/isinf.hlsl
A clang/test/SemaHLSL/BuiltIns/isinf-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
Log Message:
-----------
[HLSL] implement the `isinf` intrinsic (#84927)
This change implements part 1 of 2 for #70095
- `hlsl_intrinsics.h` - add the `isinf` api
- `Builtins.td` - add an hlsl builtin for `isinf`.
- `CGBuiltin.cpp` add the ir generation for `isinf` intrinsic.
- `SemaChecking.cpp` - add a non-math elementwise checks because this is
a bool return.
- `IntrinsicsDirectX.td` - add an `isinf` intrinsic.
`DXIL.td` lowering is left, but changes need to be made there before we
can support this case.
Commit: e40bc8e509cdad67926fcd208c320cb4d50f6aec
https://github.com/llvm/llvm-project/commit/e40bc8e509cdad67926fcd208c320cb4d50f6aec
Author: Lang Hames <lhames at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
M llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
A llvm/unittests/ExecutionEngine/Orc/MachOPlatformTest.cpp
Log Message:
-----------
[ORC][MachO] Make BuildVersionOpts::fromTriple result optional, add test.
Only platform specific darwin OS values (e.g. macosx, ios, watchos, ...) can be
mapped to an LC_BUILD_VERSION platform. For all other values return an empty
optional to indicate that the load command can't be constructed.
Also fixes the simulator conditions to return the correct platform, and adds a
testcase.
Commit: 41ccebdda0f6885d97657c6558e924580e3d1a11
https://github.com/llvm/llvm-project/commit/41ccebdda0f6885d97657c6558e924580e3d1a11
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/Orc/BUILD.gn
Log Message:
-----------
[gn build] Port e40bc8e509cd
Commit: f9e557961e993d9b9b4e4782d345cbb2c87e9361
https://github.com/llvm/llvm-project/commit/f9e557961e993d9b9b4e4782d345cbb2c87e9361
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/Clauses.h
Log Message:
-----------
[flang][OpenMP] Convert unique clauses in ClauseProcessor (#81622)
Temporarily rename old clause list to `clauses2`, old clause iterator to
`ClauseIterator2`.
Change `findUniqueClause` to iterate over `omp::Clause` objects, modify
all handlers to operate on 'omp::clause::xyz` equivalents.
[Clause representation 2/6]
Commit: 49b8a99a0f7abdb34a671dd99bb9aba593129bf9
https://github.com/llvm/llvm-project/commit/49b8a99a0f7abdb34a671dd99bb9aba593129bf9
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
Log Message:
-----------
[BOLT] Add createCondBranch() and createLongUncondBranch() (#85315)
Add MCPlusBuilder interface for creating two new branch types.
Commit: dc55c4435d796f6ec316de0698df9b8649816068
https://github.com/llvm/llvm-project/commit/dc55c4435d796f6ec316de0698df9b8649816068
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/lib/Semantics/runtime-type-info.cpp
Log Message:
-----------
[flang] Clip circular dependence between implementation modules (#85309)
flang/module/__fortran_type_info.mod uses __fortran_builtins.mod, but it
is also implicitly used when compiling __fortran_builtins.f90 (or
anything else). If __fortran_type_info.mod finds an old
__fortran_builtins.mod file, compilation can fail while building the new
one.
Break the dependence by *not* generating runtime derived type
information for __fortran_builtins.f90.
Commit: 1510473908e09b0dba574e74b862243c6fddb35f
https://github.com/llvm/llvm-project/commit/1510473908e09b0dba574e74b862243c6fddb35f
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/HardwareLoops.cpp
A llvm/test/DebugInfo/ARM/hardware-loop-phi-insertion.ll
Log Message:
-----------
[RemoveDIs] Insert PHIs before debug records in hardware loops (#85288)
Fixes: https://github.com/llvm/llvm-project/issues/85254
Hardware loops inserts PHIs at the position `getFirstNonPhi()`, which is
incorrect - instead, `getFirstNonPhiIt()` is required to not insert the
PHI after any debug records that immediately follow the last existing
PHI.
Commit: 3236d974992580d8a346b22720d9d290fbd5439f
https://github.com/llvm/llvm-project/commit/3236d974992580d8a346b22720d9d290fbd5439f
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/binop-itofp.ll
Log Message:
-----------
[InstCombine] Add test for `(fmul (sitfp x), 0)`; NFC
Commit: 70d0ebb279e42902f06ab621777935b09e82cc49
https://github.com/llvm/llvm-project/commit/70d0ebb279e42902f06ab621777935b09e82cc49
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/binop-itofp.ll
Log Message:
-----------
[InstCombine] Fix behavior for `(fmul (sitfp x), 0)`
Bug was introduced in #82555
We where missing check that the constant was non-zero for signed + mul
transform.
Closes #85298
Commit: 5b303a98a8a88ee74aab8f4936af735f72182169
https://github.com/llvm/llvm-project/commit/5b303a98a8a88ee74aab8f4936af735f72182169
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
Log Message:
-----------
Revert "[SLP]Do extra analysis int minbitwidth if some checks return false."
This reverts commit ea429e19f56005bf89e717c14efdf49ec055b183 to fix
issues revealed in
https://lab.llvm.org/buildbot/#/builders/186/builds/15299 and https://lab.llvm.org/buildbot/#/builders/238/builds/8426.
Commit: c75009ef7c5044cd1d2a54ffc572d609da19cb5a
https://github.com/llvm/llvm-project/commit/c75009ef7c5044cd1d2a54ffc572d609da19cb5a
Author: Valentin Clement <clementval at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/module/__fortran_builtins.f90
A flang/test/Lower/Intrinsics/c_ptr_eq_ne.f90
Log Message:
-----------
[flang] Lower c_ptr_eq/ne for iso_c_binding (#85293)
Comparing c_ptr type for equality or inequality is raising an error.
```
not yet implemented: intrinsic module procedure: c_ptr_eq
```
or this one for inequality
```
not yet implemented: intrinsic module procedure: c_ptr_ne
```
This patch adds a lowering for them and fix the `__fortran_builtins.f90` module for inequality.
Reland after fix has landed for circular modules #85309
Commit: 9d994e900f2661673e6cec0cd7954d3f378a4f8a
https://github.com/llvm/llvm-project/commit/9d994e900f2661673e6cec0cd7954d3f378a4f8a
Author: Aart Bik <ajcbik at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
Log Message:
-----------
[mlir][sparse] remove deprecated toCOO from sparse runtime support lib (#85319)
Commit: 3ed8f19cd0fa1054dab08163e493f84a51fc9190
https://github.com/llvm/llvm-project/commit/3ed8f19cd0fa1054dab08163e493f84a51fc9190
Author: yronglin <yronglin777 at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libcxx/docs/Status/Cxx23Issues.csv
Log Message:
-----------
[libc++][NFC] Mark LWG3772 as implemented (#85108)
[LWG3772](https://wg21.link/LWG3772) already implemented with
https://reviews.llvm.org/D141699 .
Signed-off-by: yronglin <yronglin777 at gmail.com>
Commit: ea41ac1132def401ad5bb7c353be8f0e9f04698a
https://github.com/llvm/llvm-project/commit/ea41ac1132def401ad5bb7c353be8f0e9f04698a
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFC]Fix a warning for comparison of integers of different signs.
Commit: af2bf86a372cacf5f536bae06e2f2d3886eefb7b
https://github.com/llvm/llvm-project/commit/af2bf86a372cacf5f536bae06e2f2d3886eefb7b
Author: Thurston Dang <thurston at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M compiler-rt/lib/msan/msan.h
M compiler-rt/lib/msan/msan_allocator.cpp
M compiler-rt/lib/msan/msan_linux.cpp
Log Message:
-----------
[msan] Add 'MappingDesc::ALLOCATOR' type and check it is available (#85153)
MSan divides the virtual address space into APP, INVALID, SHADOW and
ORIGIN memory. The allocator usually just steals a bit of the APP
address space: typically the bottom portion of the PIE binaries section,
which works because the Linux kernel maps from the top of the PIE
binaries section. However, if ASLR is very aggressive, the binary may
end up mapped in the same location where the allocator wants to live;
this results in a segfault.
This patch adds in a MappingDesc::ALLOCATOR type and enforces that the
memory range for the allocator is not occupied by anything else.
Since the allocator range information is not readily available in
msan.h, we duplicate the information from msan_allocator.cpp.
Note: aggressive ASLR can also lead to a different type of failure,
where the PIE binaries/libraries are mapped entirely outside of the
APP/ALLOCATOR sections; that will be addressed in a separate patch
(https://github.com/llvm/llvm-project/pull/85142).
Commit: e4b772444c8176abe30d364e4a946ee6c8ae8de4
https://github.com/llvm/llvm-project/commit/e4b772444c8176abe30d364e4a946ee6c8ae8de4
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
Log Message:
-----------
[SLP]Do extra analysis int minbitwidth if some checks return false.
The instruction itself can be considered good for minbitwidth casting,
even if one of the operand checks returns false.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/84363
Commit: 4daf86ef3f9a6781eedbe5d5a161e4f1e75df323
https://github.com/llvm/llvm-project/commit/4daf86ef3f9a6781eedbe5d5a161e4f1e75df323
Author: Aart Bik <ajcbik at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/include/mlir/ExecutionEngine/SparseTensor/File.h
M mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
M mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp
Log Message:
-----------
[mlir][sparse] refactoring sparse runtime lib into less paths (#85332)
Two constructors could be easily refactored into one after a lot of
previous deprecated code has been removed.
Commit: ad0de4e6e6146d72d376b8f4c84dfa72817fa80d
https://github.com/llvm/llvm-project/commit/ad0de4e6e6146d72d376b8f4c84dfa72817fa80d
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/Transforms/SLPVectorizer/X86/reorder-possible-strided-node.ll
Log Message:
-----------
[SLP][NFC]Add extra test for udiv/urem instructions.
Commit: 58ef9bec071383744fb703ff08df9806f25e4095
https://github.com/llvm/llvm-project/commit/58ef9bec071383744fb703ff08df9806f25e4095
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
M mlir/test/Dialect/Math/expand-math.mlir
Log Message:
-----------
[mlir][math] Implement alternative decomposition for tanh (#85025)
The previous implementation decomposes `tanh(x)` into
`(exp(2x) - 1)/(exp(2x)+1), x < 0`
`(1 - exp(-2x))/(1 + exp(-2x)), x >= 0`
This is fine as it avoids overflow with the exponential, but the whole
decomposition is computed for both cases unconditionally, then the
result is chosen based off the sign of the input. This results in doing
two expensive `exp` computations.
The proposed change avoids doing the whole computation twice by
exploiting the reflection symmetry `tanh(-x) = -tanh(x)`. We can
"normalize" the input to be positive by setting `y = sign(x) * x`, where
the sign of `x` is computed as `sign(x) = (float)(x > 0) * (-2) + 1`.
Then compute `z = tanh(y)` with the decomposition above for `x >=0` and
"denormalize" the result `z * sign(x)` to retain the sign. The reason it
is done this way is that it is very amenable to vectorization.
This method trades the duplicate decomposition computations (which takes
5 instructions including an extra expensive `exp` and `div`) for 4 cheap
instructions to compute the signs value
1. `arith.cmpf` (which is a pre-existing instruction in the previous
impl)
2. `arith.sitofp`
3. `arith.mulf`
4. `arith.addf`
and 1 more instruction to get the right sign in the result
5. `arith.mulf`. Moreover, numerically, this implementation will yield
the exact same results as the previous implementation.
Commit: de1a97db3948608822a6d099cc3460690132e1cb
https://github.com/llvm/llvm-project/commit/de1a97db3948608822a6d099cc3460690132e1cb
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/AST/Type.h
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGenHLSL/builtins/lerp-builtin.hlsl
M clang/test/CodeGenHLSL/builtins/lerp.hlsl
M clang/test/SemaHLSL/BuiltIns/frac-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/isinf-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/rsqrt-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/lib/Target/DirectX/CMakeLists.txt
A llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
A llvm/lib/Target/DirectX/DXILIntrinsicExpansion.h
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/lib/Target/DirectX/DirectX.h
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
A llvm/test/CodeGen/DirectX/any.ll
A llvm/test/CodeGen/DirectX/exp-vec.ll
A llvm/test/CodeGen/DirectX/exp.ll
A llvm/test/CodeGen/DirectX/lerp.ll
A llvm/test/CodeGen/DirectX/rcp.ll
Log Message:
-----------
[DXIL] `exp`, `any`, `lerp`, & `rcp` Intrinsic Lowering (#84526)
This change implements lowering for #70076, #70100, #70072, & #70102
`CGBuiltin.cpp` - - simplify `lerp` intrinsic
`IntrinsicsDirectX.td` - simplify `lerp` intrinsic
`SemaChecking.cpp` - remove unnecessary check
`DXILIntrinsicExpansion.*` - add intrinsic to instruction expansion
cases
`DXILOpLowering.cpp` - make sure `DXILIntrinsicExpansion` happens first
`DirectX.h` - changes to support new pass
`DirectXTargetMachine.cpp` - changes to support new pass
Why `any`, and `lerp` as instruction expansion just for DXIL?
- SPIR-V there is an
[OpAny](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpAny)
- SPIR-V has a GLSL lerp extension via
[Fmix](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#FMix)
Why `exp` instruction expansion?
- We have an `exp2` opcode and `exp` reuses that opcode. So instruction
expansion is a convenient way to do preprocessing.
- Further SPIR-V has a GLSL exp extension via
[Exp](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#Exp)
and
[Exp2](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#Exp2)
Why `rcp` as instruction expansion?
This one is a bit of the odd man out and might have to move to
`cgbuiltins` when we better understand SPIRV requirements. However I
included it because it seems like [fast math mode has an AllowRecip
flag](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#_fp_fast_math_mode)
which lets you compute the reciprocal without performing the division.
We don't have that in DXIL so thought to include it.
Commit: 6b2bab2839c7a379556a10287034bd55906d7094
https://github.com/llvm/llvm-project/commit/6b2bab2839c7a379556a10287034bd55906d7094
Author: Valentin Clement <clementval at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/tools/f18/CMakeLists.txt
Log Message:
-----------
[flang] Avoid module dependency failure when __fortran_buitlin is updated
Commit: 4292086ed0e0310208f02be1b0393555770c379c
https://github.com/llvm/llvm-project/commit/4292086ed0e0310208f02be1b0393555770c379c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[ProfileData] Use ArrayRef in ProfOStream::patch (NFC) (#85317)
We always apply all of the items in PatchItems. This patch simplifies
the interface of ProfOStream::patch by switching to ArrayRef.
Commit: bff8755f20f112eb93d33b427f2c18d1e92b9025
https://github.com/llvm/llvm-project/commit/bff8755f20f112eb93d33b427f2c18d1e92b9025
Author: josh11b <github-llvm at technomagi.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
A utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/BUILD.bazel
Log Message:
-----------
[bazel] Add clangd as a library support (#81556)
Creates a `BUILD.bazel` file for the `clangd` directory in the project
overlay.
This upstreams the patch that allows
https://github.com/carbon-language/carbon-lang/tree/trunk/language_server
to use `clangd` as a library. This was created as part of a Summer of
Code project building a prototype Carbon language server. If this is not
an appropriate architecture, I'm very open to alternative paths forward.
Thanks!
Commit: 8c03f400a837dc9333e54ab371e7904aa2bec43c
https://github.com/llvm/llvm-project/commit/8c03f400a837dc9333e54ab371e7904aa2bec43c
Author: Haohai Wen <haohai.wen at intel.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
A llvm/test/tools/llvm-profgen/Inputs/coff-profile.exe
A llvm/test/tools/llvm-profgen/Inputs/coff-profile.perfscript
A llvm/test/tools/llvm-profgen/coff-profile.test
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.cpp
M llvm/tools/llvm-profgen/ProfiledBinary.h
Log Message:
-----------
[llvm-profgen] Support COFF binary (#83972)
Intel Vtune/SEP has supported collecting LBR on Windows and generating
perf-script file which is same format as Linux perf script. This patch
teaches llvm-profgen to disassemble COFF binary so that we can do
Sampling based PGO on Windows.
Commit: 2ad970667f5702aa5eb23fe93f536825c06ac237
https://github.com/llvm/llvm-project/commit/2ad970667f5702aa5eb23fe93f536825c06ac237
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
Log Message:
-----------
[bazel] Add missing MachO dep for ORC test
Commit: b4d3c2cac2426070258cdb32d6932bf05e938c7d
https://github.com/llvm/llvm-project/commit/b4d3c2cac2426070258cdb32d6932bf05e938c7d
Author: Iman Hosseini <hosseini.iman at yahoo.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/ConvertCall.cpp
M flang/test/Lower/CUDA/cuda-kernel-calls.cuf
Log Message:
-----------
[flang][cuda] Update FIROps.td to add $grid_z to CudaKernelLaunch (#85318)
grid can be 3 dimensional. (@clementval)
Commit: e4f71959ec8dc175d9f1fe4b3466062ffaf51855
https://github.com/llvm/llvm-project/commit/e4f71959ec8dc175d9f1fe4b3466062ffaf51855
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel
Log Message:
-----------
[bazel][NFC] Reformat w/ buildifier
Commit: 102273a9b4886a11c78b28a77156730817d290b1
https://github.com/llvm/llvm-project/commit/102273a9b4886a11c78b28a77156730817d290b1
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
Log Message:
-----------
[mlir][Transform] Remove `notifyOperationErased` workaround (#84134)
D144193 (#66771) has been merged.
Commit: 143cf1a41bc1004b48b085975c3cecc51a540dc4
https://github.com/llvm/llvm-project/commit/143cf1a41bc1004b48b085975c3cecc51a540dc4
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/BUILD.bazel
Log Message:
-----------
[bazel] Generate a shim Features.inc
This is a quick fix to make the bzl build work w/ this change. The sources included in the cc_library don't actually need the values here. Before adding more files, this should be replaced with something that actually parses Features.inc.in and sets configurable values.
Commit: 0c07102927869f9cd23889e0666774f6298e824f
https://github.com/llvm/llvm-project/commit/0c07102927869f9cd23889e0666774f6298e824f
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format][NFC] Eliminate the IsCpp parameter in all functions (#84599)
Commit: 65b123e287d1320170bb3317179bc917f21852fa
https://github.com/llvm/llvm-project/commit/65b123e287d1320170bb3317179bc917f21852fa
Author: eddyz87 <eddyz87 at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/lib/Basic/Targets/BPF.cpp
M clang/test/Preprocessor/bpf-predefined-macros.c
M llvm/lib/Target/BPF/BPFCheckAndAdjustIR.cpp
M llvm/test/CodeGen/BPF/addr-space-globals.ll
M llvm/test/CodeGen/BPF/addr-space-globals2.ll
Log Message:
-----------
[BPF] rename 'arena' to 'address_space' (#85161)
There are a few places where `arena` name is used for pointers in
non-zero address space in BPF backend, rename these to use a more
generic `address_space`:
- macro `__BPF_FEATURE_ARENA_CAST` -> `__BPF_FEATURE_ADDR_SPACE_CAST
- name for arena global variables section `.arena.N` ->
`.addr_space.N`
Commit: b0d1e32ca2b46870c0a4becf2547564f9c7ae0a0
https://github.com/llvm/llvm-project/commit/b0d1e32ca2b46870c0a4becf2547564f9c7ae0a0
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
Revert "[clang-format][NFC] Eliminate the IsCpp parameter in all functions" (#85353)
Reverts llvm/llvm-project#84599
This broke the presubmit bot.
Commit: c3a1eb6207d85cb37ea29306481b40c9f6402309
https://github.com/llvm/llvm-project/commit/c3a1eb6207d85cb37ea29306481b40c9f6402309
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
Reland [clang-format][NFC] Eliminate the IsCpp parameter in all functions (#84599)
Initialize IsCpp in LeftRightQualifierAlignmentFixer ctor.
Commit: 6ed4d15cf49bca27157c6c8c896a7f674ef5df3a
https://github.com/llvm/llvm-project/commit/6ed4d15cf49bca27157c6c8c896a7f674ef5df3a
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/BufferizableOpInterfaceImpl.cpp
Log Message:
-----------
[mlir][sparse_tensor] Implement bufferization interface for `foreach` (#85183)
This commit fixes a memory leak in `sparse_codegen_foreach.mlir`. The
bufferization inserted a copy for the operand of `sparse_tensor.foreach`
because it conservatively assumed that the op writes to the operand.
Commit: 5124eedd357b75a96f695c20ebad427b61741abc
https://github.com/llvm/llvm-project/commit/5124eedd357b75a96f695c20ebad427b61741abc
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/test/Integration/Dialect/SparseTensor/CPU/dual_sparse_conv_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2dense.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_sparse2sparse.mlir
Log Message:
-----------
[mlir][sparse] Fix memory leaks (part 3) (#85184)
This commit fixes memory leaks in sparse tensor integration tests by
adding `bufferization.dealloc_tensor` ops.
Note: Buffer deallocation will be automated in the future with the
ownership-based buffer deallocation pass, making `dealloc_tensor`
obsolete (only codegen path, not when using the runtime library).
Commit: e8e8df4c1bf97f0674b2387175cdeb251a4e0d9c
https://github.com/llvm/llvm-project/commit/e8e8df4c1bf97f0674b2387175cdeb251a4e0d9c
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
Log Message:
-----------
[mlir][sparse] Add `has_runtime_library` test op (#85355)
This commit adds a new test-only op:
`sparse_tensor.has_runtime_library`. The op returns "1" if the sparse
compiler runs in runtime library mode.
This op is useful for writing test cases that require different IR
depending on whether the sparse compiler runs in runtime library or
codegen mode.
This commit fixes a memory leak in `sparse_pack_d.mlir`. This test case
uses `sparse_tensor.assemble` to create a sparse tensor SSA value from
existing buffers. This runtime library reallocates+copies the existing
buffers; the codegen path does not. Therefore, the test requires
additional deallocations when running in runtime library mode.
Alternatives considered:
- Make the codegen path allocate. "Codegen" is the "default" compilation
mode and it is handling `sparse_tensor.assemble` correctly. The issue is
with the runtime library path, which should not allocate. Therefore, it
is better to put a workaround in the runtime library path than to work
around the issue with a new flag in the codegen path.
- Add a `sparse_tensor.runtime_only` attribute to
`bufferization.dealloc_tensor`. Verifying that the attribute can only be
attached to `bufferization.dealloc_tensor` may introduce an unwanted
dependency of `MLIRSparseTensorDialect` on `MLIRBufferizationDialect`.
Commit: 32a067c068f9ac285cf98be3154c8f1909fa2b21
https://github.com/llvm/llvm-project/commit/32a067c068f9ac285cf98be3154c8f1909fa2b21
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGenTypes/LowLevelType.h
M llvm/lib/CodeGen/LowLevelTypeUtils.cpp
M llvm/unittests/CodeGen/LowLevelTypeTest.cpp
Log Message:
-----------
[GlobalISel] Introduce LLT:token() as a special scalar type (#85189)
The new token type is used in #67006 for implementing convergence
control tokens in GMIR.
Commit: c54f22f5fe3eef055df4be7239b890eaab15f5ff
https://github.com/llvm/llvm-project/commit/c54f22f5fe3eef055df4be7239b890eaab15f5ff
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Log Message:
-----------
[AMDGPU] Add eventMask function in WaitcntGenerator class (NFC) (#85210)
This would bring a cleaner interface while obtaining wait event masks by
combining various wait event types in the derived classes.
Commit: e895c523b53c97c92a69ba0997e8904edd1e40a8
https://github.com/llvm/llvm-project/commit/e895c523b53c97c92a69ba0997e8904edd1e40a8
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/include/llvm/Object/ELFObjectFile.h
Log Message:
-----------
[Object] getBuildAttributes: check e_machine. NFC
getBuildAttributes is only called for ARM/RISCV object files and
`SHT_ARM_ATTRIBUTES == SHT_RISCV_ATTRIBUTES`, so the following check
`Sec.sh_type == ELF::SHT_ARM_ATTRIBUTES || Sec.sh_type == ELF::SHT_RISCV_ATTRIBUTES`
is actually fine. But the convention is to guard such processor-specific
section type checks with an e_machine test.
Commit: d35f944dde1511bf3f21ff7492343ee15d0eea45
https://github.com/llvm/llvm-project/commit/d35f944dde1511bf3f21ff7492343ee15d0eea45
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
Log Message:
-----------
Add missing clang to the monolithic pre-merge build (#85354)
Clang has a custom separate pipeline integrated with libc++ that only
runs in release mode. It means that changes which touches only clang
won't run the clang tests in the configuration used by LLVM premerge and
will break it unknowingly.
Commit: 297af060e26e13d35990e961648bd1a3c318f028
https://github.com/llvm/llvm-project/commit/297af060e26e13d35990e961648bd1a3c318f028
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M llvm/test/tools/llvm-readobj/ELF/machine-specific-section-types.test
Log Message:
-----------
[llvm-readobj,yaml2obj,test] Test SHT_HEX_ORDERED
The section type from 9f64604e74a46ea1c8a8bd258b4a4195f79ec6cb (2013)
was untested.
Commit: 2a547f0f6c6b456342b9bfad38787f54f265fc96
https://github.com/llvm/llvm-project/commit/2a547f0f6c6b456342b9bfad38787f54f265fc96
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
Log Message:
-----------
[MLIR] Fix `mlir-opt --show-dialects` to not require any input (as documented)
Commit: 4372cab91476137c6637a277dcc6a9df02c12aae
https://github.com/llvm/llvm-project/commit/4372cab91476137c6637a277dcc6a9df02c12aae
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
A llvm/test/CodeGen/NVPTX/atomics-sm70.ll
M llvm/test/CodeGen/NVPTX/atomics.ll
Log Message:
-----------
Reland "[NVPTX] Add support for atomic add for f16 type" (#85197)
atom.add.noftz.f16 is supported since SM 7.0
Commit: abe292f9f8d0ff339e7d94d1c3984b9fcb23d546
https://github.com/llvm/llvm-project/commit/abe292f9f8d0ff339e7d94d1c3984b9fcb23d546
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/get_tzdb.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/get_tzdb_list.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.list/front.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.list/iterators.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.remote/reload_tzdb.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.remote/remote_version.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.members/name.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.members/target.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.nonmembers/comparison.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/name.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.nonmembers/comparison.pass.cpp
Log Message:
-----------
[libc++] Enables TZDB tests. (#82108)
With the timezone information available in the CI these tests can be
enabled again.
Fixes: https://github.com/llvm/llvm-project/issues/81654
Commit: 0a739eb75fe68b1cec4e4aaad8b5395bb5da9a89
https://github.com/llvm/llvm-project/commit/0a739eb75fe68b1cec4e4aaad8b5395bb5da9a89
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/AST/Interp/builtin-functions.cpp
Log Message:
-----------
[clang][Interp] Implement __builtin___{CF,NS}StringMakeConstantString
By doing the same thing the current interpreter does: Just passing on
the first parameter.
Commit: ff2fb2a1d78585944dcdb9061c8487fe1476dfa4
https://github.com/llvm/llvm-project/commit/ff2fb2a1d78585944dcdb9061c8487fe1476dfa4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
M llvm/test/Instrumentation/ThreadSanitizer/atomic.ll
Log Message:
-----------
[TSan] Fix atomicrmw xchg with pointer and floats (#85228)
atomicrmw xchg also accepts pointer and floating-point values. To handle
those, insert necessary casts to and from integer. This is what we do
for cmpxchg as well.
Fixes https://github.com/llvm/llvm-project/issues/85226.
Commit: e61e26091c5088b32b68e020cd51ab6de972004f
https://github.com/llvm/llvm-project/commit/e61e26091c5088b32b68e020cd51ab6de972004f
Author: SahilPatidar <patidarsahil2001 at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
M llvm/test/Transforms/InstCombine/mul.ll
M llvm/test/Transforms/InstCombine/sub-xor-cmp.ll
Log Message:
-----------
[InstCombine] Fold `mul (sext bool X), Y` into `select X, -Y, 0` (#84792)
Alive2: https://alive2.llvm.org/ce/z/n_ns-W
Resolve #84608
Commit: 8a237ab7d9022d24441544ba25be480f0c944f5a
https://github.com/llvm/llvm-project/commit/8a237ab7d9022d24441544ba25be480f0c944f5a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
Log Message:
-----------
[TSan] Avoid use of ReplaceInstWithInst()
This is mainly for consistency across code paths, but also makes
sure that all calls use IRInstrumentationBuilder and its special
debuginfo handling.
The two remaining uses don't actually need RAUW, they just have
to erase the original instruction.
Commit: e639e7e986e0c1dcb5af3de65548d8518eb685a6
https://github.com/llvm/llvm-project/commit/e639e7e986e0c1dcb5af3de65548d8518eb685a6
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
Log Message:
-----------
[AArch64] NFC: Simplify the smstart/smstop pseudo. (#85067)
This is just a bit of cleanup to make the pseudo/code easier to
understand. This is based on the observation that we only need to pass
in a runtime value for 'pstate' if is actually needed for generating a
runtime check.
Commit: c42bc2ea8f66def31ca9a381e995ec61e9fa9b05
https://github.com/llvm/llvm-project/commit/c42bc2ea8f66def31ca9a381e995ec61e9fa9b05
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
Log Message:
-----------
[clang][NFC] Make some local pointers const
The function returns a const Expr* anyway.
Commit: 8ab0632735f87961d27094a1076a41264e2fd3ed
https://github.com/llvm/llvm-project/commit/8ab0632735f87961d27094a1076a41264e2fd3ed
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/lib/AST/Interp/ByteCodeStmtGen.h
M clang/test/AST/Interp/cxx23.cpp
Log Message:
-----------
[clang][Interp] Handle goto and label statements
Commit: 141145232f915b44aef6e3854f091da03c41a2b6
https://github.com/llvm/llvm-project/commit/141145232f915b44aef6e3854f091da03c41a2b6
Author: Artem Tyurin <artem.tyurin at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Analysis/ConstantFolding.h
M llvm/include/llvm/Analysis/InstSimplifyFolder.h
M llvm/include/llvm/Analysis/InstructionSimplify.h
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IRBuilderFolder.h
M llvm/include/llvm/IR/NoFolder.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/IRBuilder.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
Log Message:
-----------
[IRBuilder] Fold binary intrinsics (#80743)
Fixes https://github.com/llvm/llvm-project/issues/61240.
Commit: 719e077a5680ccfd6601195754c1702b03ba3645
https://github.com/llvm/llvm-project/commit/719e077a5680ccfd6601195754c1702b03ba3645
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/AST/Interp/cxx23.cpp
Log Message:
-----------
[clang][Interp] Handle PackIndexExprs
Commit: 8310fd3a093ce98e4df599f7cac2081f551e3fef
https://github.com/llvm/llvm-project/commit/8310fd3a093ce98e4df599f7cac2081f551e3fef
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineLoopInfo.h
M llvm/include/llvm/CodeGen/TargetRegisterInfo.h
M llvm/lib/CodeGen/MachineLoopInfo.cpp
M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
M llvm/lib/Target/AArch64/AArch64RegisterInfo.h
A llvm/test/CodeGen/AArch64/sme-machine-licm-vg.mir
Log Message:
-----------
[MachineLICM] Give opportunity to analyze physregs for invariance. (#84779)
At the moment MachineLoopInfo has a very simple way to determine if a
use of a physical register will be invariant: if it is not a constant
value or if it's not an ignorable use, then it's not considered
invariant.
>From a compile-time performance perspective this makes a lot of sense,
but it limits code that uses implicit physical registers from being
hoisted until the later MachineLICM pass (after register allocation),
which has a lot fewer opportunities to hoist.
For AArch64 SME we use an implicit physical register ($vg) to avoid
rematerialization beyond certain instructions. Doing this led to
regressions because simple expressions were no longer hoisted by Early
MachineLICM.
This patch adds some extra checks to 'isLoopInvariant' to see if any of
the defs are found in the loop. If not, we can considered it loop
invariant.
We expect the impact on compile-time to be negligible because there is
an incentive for users to reduce the need for the smstart/smstop
instructions that define $vg. In either case, we've put the
functionality under a target interface to limit this only to specific
registers.
Commit: 72d85b0315628c982be21c7aada59b6f9274de90
https://github.com/llvm/llvm-project/commit/72d85b0315628c982be21c7aada59b6f9274de90
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Opcodes.td
M clang/test/AST/Interp/if.cpp
Log Message:
-----------
[clang][Interp] Emit Error op for contains-error expressions
Instead of aborting interpretation right away. This way we can still
successfully evaluate such functions provided we don't reach the
Error op at all.
Commit: dbb2fd5974fbdf82d4b1b0dd0dde5170e3629768
https://github.com/llvm/llvm-project/commit/dbb2fd5974fbdf82d4b1b0dd0dde5170e3629768
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/MachineLoopInfo.cpp
Log Message:
-----------
[CodeGen] Remove unused lambda capture (NFC)
llvm-project/llvm/lib/CodeGen/MachineLoopInfo.cpp:215:14:
error: lambda capture 'Reg' is not used [-Werror,-Wunused-lambda-capture]
[this, Reg](const MachineInstr &MI) { return this->contains(&MI); });
~~^~~
1 error generated.
Commit: 01a31cee561efe90fbd1d33fa89f403dd8ff9012
https://github.com/llvm/llvm-project/commit/01a31cee561efe90fbd1d33fa89f403dd8ff9012
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Dialect/EmitC/invalid_ops.mlir
A mlir/test/Target/Cpp/subscript.mlir
Log Message:
-----------
[MLIR] EmitC: Add subscript operator (#84783)
Introduces a SubscriptOp that allows to write IR like
```
func.func @load_store(%arg0: !emitc.array<4x8xf32>, %arg1: !emitc.array<3x5xf32>, %arg2: index, %arg3: index) {
%0 = emitc.subscript %arg0[%arg2, %arg3] : <4x8xf32>, index, index
%1 = emitc.subscript %arg1[%arg2, %arg3] : <3x5xf32>, index, index
emitc.assign %0 : f32 to %1 : f32
return
}
```
which gets translated into the C++ code
```
v1[v2][v3] = v0[v1][v2];
```
To make this happen, this
- adds the SubscriptOp
- allows the subscript op as rhs of emitc.assign
- updates the emitter to print SubscriptOps
The emitter prints emitc.subscript in a delayed fashing to allow it
being used as lvalue.
I.e. while processing
```
%0 = emitc.subscript %arg0[%arg2, %arg3] : <4x8xf32>, index, index
```
it will not emit any text, but record in the `valueMapper` that the name
for `%0` is `v0[v1][v2]`, see `CppEmitter::getSubscriptName`. Only when
that result is then used (here in `emitc.assign`), that name is inserted
into the text.
Commit: ddcbab37ac0e5743a8d39be3dd48d967f4c85504
https://github.com/llvm/llvm-project/commit/ddcbab37ac0e5743a8d39be3dd48d967f4c85504
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
M compiler-rt/test/tsan/signal_errno.cpp
M compiler-rt/test/tsan/signal_sync.cpp
M compiler-rt/test/tsan/signal_thread.cpp
M compiler-rt/test/tsan/signal_thread2.cpp
Log Message:
-----------
[compiler-rt] Also consider SIGPROF as a synchronous signal
Blocking that signal causes inter-blocking for profilers that monitor
threads through that signal.
Update tests accordingly to use an uncaught signal.
This is a recommit of 6f3f659ce9ab91002b4a490b0ce4b085981383cd with the
tests fixed.
Fix #83844 and #83561
Commit: d59256992e8df79991e4c6baaff1a7c4830a26d5
https://github.com/llvm/llvm-project/commit/d59256992e8df79991e4c6baaff1a7c4830a26d5
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] visitAND - pull out repeated SDLoc(N). NFC.
Commit: fe753f77c35cf236b8aed6b5ebd857973e047925
https://github.com/llvm/llvm-project/commit/fe753f77c35cf236b8aed6b5ebd857973e047925
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] visitTRUNCATE - pull out repeated SDLoc(N). NFC.
Commit: c7c561ef98ad783d257dab3940dd2378ef8760bf
https://github.com/llvm/llvm-project/commit/c7c561ef98ad783d257dab3940dd2378ef8760bf
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/fptoi.i128.ll
A llvm/test/CodeGen/AMDGPU/itofp.i128.ll
Log Message:
-----------
AMDGPU: Enable ExpandLargeFpConvert for > 64-bit types
Fixes casts between double/float/half and i128. The pass seems to be
broken for bfloat though. I also believe we could have a better implementation
which attempts to make use the native 32-bit conversion instructions like
the 64-bit expansion does.
Commit: b890a48a12aa5c851185ae2fd6273cd853fe0bc5
https://github.com/llvm/llvm-project/commit/b890a48a12aa5c851185ae2fd6273cd853fe0bc5
Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Target/TargetSchedule.td
M llvm/test/TableGen/MacroFusion.td
M llvm/utils/TableGen/MacroFusionPredicatorEmitter.cpp
Log Message:
-----------
[MacroFusion] Support commutable instructions (#82751)
If the second instruction is commutable, we should be able to check
its commutable operands.
A simple RISCV fusion is contained in this PR to show the functionality
is correct, I may remove it when landing.
Fixes #82738
Commit: d6d3d96b654012d72ad170d272cb2fe2c8def90d
https://github.com/llvm/llvm-project/commit/d6d3d96b654012d72ad170d272cb2fe2c8def90d
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
A llvm/test/Bitcode/dbg-record-roundtrip.ll
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/verify-uselistorder/verify-uselistorder.cpp
Log Message:
-----------
[RemoveDIs] Read/write DbgRecords directly from/to bitcode (#83251)
If --write-experimental-debuginfo-iterators-to-bitcode is true (default false)
and --expermental-debuginfo-iterators is also true then the new debug info
format (non-instruction records) is written to bitcode directly.
Added the following records:
FUNC_CODE_DEBUG_RECORD_LABEL
FUNC_CODE_DEBUG_RECORD_VALUE
FUNC_CODE_DEBUG_RECORD_DECLARE
FUNC_CODE_DEBUG_RECORD_ASSIGN
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE
The last one has an abbrev in FUNCTION_BLOCK BLOCK_INFO. Incidentally, this uses
the last value available without widening the code-length for FUNCTION_BLOCK
from 4 to 5 bits.
Records are formatted as follows:
All DbgRecord start with:
1. DILocation
FUNC_CODE_DEBUG_RECORD_LABEL
2. DILabel
DPValues then share common fields:
2. DILocalVariable
3. DIExpression
FUNC_CODE_DEBUG_RECORD_VALUE
4. Location Metadata
FUNC_CODE_DEBUG_RECORD_DECLARE
4. Location Metadata
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE
4. Location Value (single)
FUNC_CODE_DEBUG_RECORD_ASSIGN
4. Location Metadata
5. DIAssignID
6. DIExpression (address)
7. Location Metadata (address)
Encoding the DILocation metadata reference directly appeared to yield smaller
bitcode files than encoding the operands seperately (as is done with instruction
DILocations).
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE is by far the most common DbgRecord record
in optimized code (order of 5x-10x over other kinds). Unoptimized code should
only contain FUNC_CODE_DEBUG_RECORD_DECLARE.
Commit: 7567f5ba789cce32a33e2661301c1b8bb629d47d
https://github.com/llvm/llvm-project/commit/7567f5ba789cce32a33e2661301c1b8bb629d47d
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
Log Message:
-----------
Revert "[SLP]Do extra analysis int minbitwidth if some checks return false."
This reverts commit ea429e19f56005bf89e717c14efdf49ec055b183 to fix
issues reported in https://github.com/llvm/llvm-project/pull/84536#issuecomment-1999295445.
Commit: 9b5d9a81bd2695443254be8489f4325fbb259776
https://github.com/llvm/llvm-project/commit/9b5d9a81bd2695443254be8489f4325fbb259776
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/fptoi.i128.ll
Log Message:
-----------
AMDGPU: Regenerate test checks from c7c561ef9
The test output changed after initial commit/test in
5f774619eac5db73398225a4c924a9c1d437fb40
Commit: dbbe2fe2a2684c45993f9cf6fced4e3b38fcb0c7
https://github.com/llvm/llvm-project/commit/dbbe2fe2a2684c45993f9cf6fced4e3b38fcb0c7
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
Revert "[SLP]Do extra analysis int minbitwidth if some checks return false."
This reverts commit e4b772444c8176abe30d364e4a946ee6c8ae8de4 to fixx the
issues reported in https://github.com/llvm/llvm-project/pull/84536.
Commit: 37898707585af6df9545620fa8053e7acd23be9f
https://github.com/llvm/llvm-project/commit/37898707585af6df9545620fa8053e7acd23be9f
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-buildvector-with-minbitwidth-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-with-minbith-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr2.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/reduce-add-i64.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
M llvm/test/Transforms/SLPVectorizer/X86/PR35777.ll
M llvm/test/Transforms/SLPVectorizer/X86/int-bitcast-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-multiuse-with-insertelement.ll
M llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-transformed-operand.ll
M llvm/test/Transforms/SLPVectorizer/X86/minimum-sizes.ll
M llvm/test/Transforms/SLPVectorizer/X86/phi-undef-input.ll
M llvm/test/Transforms/SLPVectorizer/X86/resched.ll
M llvm/test/Transforms/SLPVectorizer/X86/reused-reductions-with-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/X86/same-scalar-in-same-phi-extract.ll
M llvm/test/Transforms/SLPVectorizer/X86/store-insertelement-minbitwidth.ll
M llvm/test/Transforms/SLPVectorizer/alt-cmp-vectorize.ll
Log Message:
-----------
Revert "[SLP]Improve minbitwidth analysis."
This reverts commit 7f2167868d8c1cedd3915883412b9c787a2f01db to fix
issues reported in https://github.com/llvm/llvm-project/pull/84536.
Commit: 861ebe6446296c96578807363aa292c69d827773
https://github.com/llvm/llvm-project/commit/861ebe6446296c96578807363aa292c69d827773
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
R llvm/test/Bitcode/dbg-record-roundtrip.ll
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/verify-uselistorder/verify-uselistorder.cpp
Log Message:
-----------
Revert "[RemoveDIs] Read/write DbgRecords directly from/to bitcode" (#85382)
Reverts llvm/llvm-project#83251
Buildbot: https://lab.llvm.org/buildbot/#/builders/139/builds/61485
Commit: 328cb9b731cb61eaa853fa6cc3bd641dd1d71b98
https://github.com/llvm/llvm-project/commit/328cb9b731cb61eaa853fa6cc3bd641dd1d71b98
Author: Patryk Wychowaniec <pwychowaniec at pm.me>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AVR/AVRInstrInfo.td
A llvm/test/CodeGen/AVR/bug-81911.ll
Log Message:
-----------
[AVR] Remove earlyclobber from LDDRdPtrQ (#85277)
LDDRdPtrQ was marked as `earlyclobber`, which doesn't play well with
GreedyRA (which can generate this instruction through `loadRegFromStackSlot()`).
This seems to be the same case as:
https://github.com/llvm/llvm-project/blob/a99b912c9b74f6ef91786b4dfbc25160c27d3b41/llvm/lib/Target/AVR/AVRInstrInfo.td#L1421
Closes https://github.com/llvm/llvm-project/issues/81911.
Commit: 6d30223f7c66ca07ea7ff40ffba426f2dc789e74
https://github.com/llvm/llvm-project/commit/6d30223f7c66ca07ea7ff40ffba426f2dc789e74
Author: long.chen <lipracer at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/ADT/APInt.h
M llvm/lib/Support/APInt.cpp
M llvm/unittests/ADT/APIntTest.cpp
Log Message:
-----------
[ADT][APInt] add sfloordiv_ov APInt's member function (#84720)
for mlir fold to avoid too many overflow state check
Commit: cf5cd98e74275ed6198b4bbe76cec250ade2c186
https://github.com/llvm/llvm-project/commit/cf5cd98e74275ed6198b4bbe76cec250ade2c186
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
M llvm/test/Transforms/InstCombine/not.ll
M llvm/test/Transforms/InstCombine/pr63791.ll
Log Message:
-----------
[InstCombine] Support and/or in `getFreelyInvertedImpl` using DeMorgan's Law (#85193)
This patch adds the support for and/or in `getFreelyInvertedImpl` using
DeMorgan's Law:
```
(~(A | B)) -> (~A & ~B)
(~(A & B)) -> (~A | ~B)
```
Alive2: https://alive2.llvm.org/ce/z/Uig8-j
Commit: 53d8c6b1b1f7cfce9bd42032e8cb6cc1ddcf6c78
https://github.com/llvm/llvm-project/commit/53d8c6b1b1f7cfce9bd42032e8cb6cc1ddcf6c78
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/lib/Semantics/resolve-directives.cpp
A flang/test/Lower/OpenMP/parallel-reduction-rename.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min2.f90
A flang/test/Semantics/OpenMP/reduction11.f90
Log Message:
-----------
[flang][Semantics][OpenMP] set intrinsic attr for reductions (#85114)
Reductions such as min are intrinsic procedures. This distinguishes them
from user defined reductions. Previously, the intrinsic attribute was
not set when visiting reduction clauses causing them to be missed.
wsloop-reduction-min.f90 (the other min reduction test) worked because
it contained "min" used as an intrinsic inside of the body of the
reduction. This allowed ResolveNamesVisitor::HandleProcedureName to set
the correct attribute on that Symbol.
Commit: 61fadd0b09fb012b628b050725d348ad2164f328
https://github.com/llvm/llvm-project/commit/61fadd0b09fb012b628b050725d348ad2164f328
Author: Ganesh <Ganesh.Gopalasubramanian at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86.td
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrPredicates.td
M llvm/lib/Target/X86/X86TargetTransformInfo.h
A llvm/test/CodeGen/X86/vpdpwssd.ll
Log Message:
-----------
[X86] Fast AVX-512-VNNI vpdpwssd tuning (#85375)
Adding a tuning feature to fix
https://github.com/llvm/llvm-project/issues/84182
Generates vpdpwssd (instead of vpmaddwd + vpaddd sequence)
Commit: cdb36d47b79fc782f71842c8ad12b7788d451fb0
https://github.com/llvm/llvm-project/commit/cdb36d47b79fc782f71842c8ad12b7788d451fb0
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] foldAndToUsubsat/foldSubToUSubSat - share the same SDLoc argument instead of recreating it over and over again.
Commit: f1d0a48b2740b506d0b476f7cac0ee47d659a6d2
https://github.com/llvm/llvm-project/commit/f1d0a48b2740b506d0b476f7cac0ee47d659a6d2
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAG] foldABSToABD - share the same SDLoc argument instead of recreating it over and over again.
Commit: 5334afcad827a6284ff56f5bde81d4e3416aae8c
https://github.com/llvm/llvm-project/commit/5334afcad827a6284ff56f5bde81d4e3416aae8c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/test/SemaCXX/decomposed-condition.cpp
Log Message:
-----------
[clang][Interp] Don't forget to visit condition variable decls
We did this for if statements, but switch and loop constructs
need to do it as well.
Commit: c7fc95baae8e662506c22511b29e1ad86b910248
https://github.com/llvm/llvm-project/commit/c7fc95baae8e662506c22511b29e1ad86b910248
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Object/ArchiveWriter.cpp
Log Message:
-----------
[Object][Archive][NFC] Create all symbolic files objects before calculating offsets. (#85229)
This is refactoring preparing to move UseECMap computation to the
archive writer. We currently require writeArchive caller to pass that.
This is not practical for llvm-ar, which currently interprets at most
one passed object. For a reliable UseECMap, we need to interpret all
symbolic objects: we may have, for example, a list of x86_64 files
followed by aarch64 file, which indicates that we should use EC map for
x86_64 objects.
This commit interprets symbolic files in a separated pass, which will be
a convenient place to implement UseECMap computation in the follow up.
It also makes accessing the next member for AIX big archive offset
computation a bit easier.
Commit: f623adbbbdea8ac6af06e44be218e4fa969e523d
https://github.com/llvm/llvm-project/commit/f623adbbbdea8ac6af06e44be218e4fa969e523d
Author: Bevin Hansson <59652494+bevin-hansson at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/test/Transforms/ExpandLargeFpConvert/X86/expand-large-fp-convert-si129tofp.ll
M llvm/test/Transforms/ExpandLargeFpConvert/X86/expand-large-fp-convert-ui129tofp.ll
Log Message:
-----------
[ExpandLargeFpConvert] Fix bug in int-to-fp expansion. (#85370)
When deciding whether to perform rounding on the significand,
the generated IR was using (width - leading zeros - 1) rather
than (width - leading zeros). This is different from how the
routine in compiler-rt does it:
int sd = srcBits - clzSrcT(a);
int e = sd - 1;
if (sd > dstMantDig) {
This bug means that the following code, when built on -O0:
#include <stdio.h>
_BitInt(233) v_1037 = 0;
int main(void)
{
v_1037 = 18014398509481982wb;
double d = v_1037;
printf("d = %f\n", d);
return 0;
}
prints "d = 9007199254740992.000000", which is incorrect.
The correct result is "d = 18014398509481982.000000".
Commit: e12b46fef76472b3eeb3c689dbd848c72ff8486f
https://github.com/llvm/llvm-project/commit/e12b46fef76472b3eeb3c689dbd848c72ff8486f
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
A flang/test/Fir/omp-reduction-embox-codegen.fir
Log Message:
-----------
[flang] support fir.alloca operations inside of omp reduction ops (#84952)
Advise to place the alloca at the start of the first block of whichever
region (init or combiner) we are currently inside.
It probably isn't safe to put an alloca inside of a combiner region
because this will be executed multiple times. But that would be a bug to
fix in Lower/OpenMP.cpp, not here.
OpenMP array reductions 1/6
Next PR: https://github.com/llvm/llvm-project/pull/84953
Commit: 41bdcaa7c687140c28ad46102784bb6c40449981
https://github.com/llvm/llvm-project/commit/41bdcaa7c687140c28ad46102784bb6c40449981
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/unittests/ADT/APIntTest.cpp
Log Message:
-----------
[ADT] APIntTest - use APInt::getMaxValue/getSignedMinValue/getSignedMaxValue instead of raw (U)INT_MAX/MIN defines
Fixes warnings on MSVC builds
Commit: a7f3d17de18a8be07b74484802582404a32c6527
https://github.com/llvm/llvm-project/commit/a7f3d17de18a8be07b74484802582404a32c6527
Author: Dhruv Chawla <dhruvc at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-vector-deinterleave2.ll
A llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-vector-interleave2.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-f16-add.ll
M llvm/test/CodeGen/AArch64/fixed-vector-deinterleave.ll
M llvm/test/CodeGen/AArch64/fixed-vector-interleave.ll
Log Message:
-----------
[GlobalISel] Add support for interleave and deinterleave intrinsics to IRTranslator (#85199)
This patch adds support for the @llvm.experimental.vector.{interleave2,
deinterleave2} intrinsics to IRTranslator for fixed-width vector types.
They are lowered to vector shuffles, in roughly the same manner as
SelectionDAG.
Commit: 61671e2500771dfbf502acd86e2ef70cba847a39
https://github.com/llvm/llvm-project/commit/61671e2500771dfbf502acd86e2ef70cba847a39
Author: David Stenberg <david.stenberg at ericsson.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/unittests/IR/MetadataTest.cpp
Log Message:
-----------
[DebugInfo] Fix faulty DIExpression::appendToStack assert (#85255)
The appendToStack() function asserts that no DW_OP_stack_value or
DW_OP_LLVM_fragment operations are present in the operations to be
appended. The function did that by iterating over all elements in the
array rather than just the operations, leading it to falsely asserting
on the following input produced by getExt(), since 159 (0x9f) is the
DWARF code for DW_OP_stack_value:
{dwarf::DW_OP_LLVM_convert, 159, dwarf::DW_ATE_signed}
Fix this by using expr_op iterators.
Commit: 03bad4b434eb9e10b8e970d69a583bc8d5b7a3d4
https://github.com/llvm/llvm-project/commit/03bad4b434eb9e10b8e970d69a583bc8d5b7a3d4
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/SVEInstrFormats.td
Log Message:
-----------
[NFC][LLVM][CodeGen][SVE] Standardise on SVEAllActive for all true isel patterns.
Commit: 63e70c05537c54edae975c8b5449ff87444abec2
https://github.com/llvm/llvm-project/commit/63e70c05537c54edae975c8b5449ff87444abec2
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.h
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
Log Message:
-----------
[flang][OpenMP] Convert repeatable clauses (except Map) in ClauseProc… (#81623)
…essor
Rename `findRepeatableClause` to `findRepeatableClause2`, and make the
new `findRepeatableClause` operate on new `omp::Clause` objects.
Leave `Map` unchanged, because it will require more changes for it to
work.
[Clause representation 3/6]
Commit: 36fd0e797974b75623d847e30d8ba0494e43af99
https://github.com/llvm/llvm-project/commit/36fd0e797974b75623d847e30d8ba0494e43af99
Author: Kyungwoo Lee <kyulee at meta.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
R llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64.dylib
R llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64_32.dylib
R llvm/test/tools/llvm-objdump/MachO/AArch64/macho-relative-method-lists.test
M llvm/tools/llvm-objdump/MachODump.cpp
Log Message:
-----------
Revert "[llvm-objdump][macho] Add support for ObjC relative method lists (#84250)"
This reverts llvm/llvm-project#84250, commit aa6100643c2c8f9a1b06ba557b68b0fba477e3c7.
See build failures:
https://lab.llvm.org/buildbot/#/builders/178/builds/7028
https://lab.llvm.org/buildbot/#/builders/182/builds/9282
https://lab.llvm.org/buildbot/#/builders/186/builds/15299
https://lab.llvm.org/buildbot/#/builders/187/builds/14564
Commit: 2c703ed7281cb0fb749bff75b1c313a0332bd9eb
https://github.com/llvm/llvm-project/commit/2c703ed7281cb0fb749bff75b1c313a0332bd9eb
Author: Eric <eric at efcs.ca>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libcxx/docs/Modules.rst
M libcxx/modules/CMakeLists.txt.in
Log Message:
-----------
Rework Modules CMake to be (more) idiomatic. (#84936)
- Fix bug in documentation regarding dependencies.
- Rework Modules CMake to be (more) idiomatic.
Commit: 5b5525d403f4b1e155c5fc50649b6c6d9e7d4de5
https://github.com/llvm/llvm-project/commit/5b5525d403f4b1e155c5fc50649b6c6d9e7d4de5
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
Log Message:
-----------
[flang][OpenMP] Remove unused variable (NFC)
llvm-project/flang/lib/Lower/OpenMP/ClauseProcessor.cpp:97:15:
error: unused variable 'allocatorOperand' [-Werror,-Wunused-variable]
mlir::Value allocatorOperand;
^
1 error generated.
Commit: 435d4c12de6fdc8e67ceffa04f4d9fba9f006b2d
https://github.com/llvm/llvm-project/commit/435d4c12de6fdc8e67ceffa04f4d9fba9f006b2d
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
A llvm/test/Bitcode/dbg-record-roundtrip.ll
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/verify-uselistorder/verify-uselistorder.cpp
Log Message:
-----------
Reapply [RemoveDIs] Read/write DbgRecords directly from/to bitcode (#83251)
Reaplying after revert in #85382 (861ebe6446296c96578807363aa292c69d827773).
Fixed intermittent test failure by avoiding piping output in some RUN lines.
If --write-experimental-debuginfo-iterators-to-bitcode is true (default false)
and --expermental-debuginfo-iterators is also true then the new debug info
format (non-instruction records) is written to bitcode directly.
Added the following records:
FUNC_CODE_DEBUG_RECORD_LABEL
FUNC_CODE_DEBUG_RECORD_VALUE
FUNC_CODE_DEBUG_RECORD_DECLARE
FUNC_CODE_DEBUG_RECORD_ASSIGN
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE
The last one has an abbrev in FUNCTION_BLOCK BLOCK_INFO. Incidentally, this uses
the last value available without widening the code-length for FUNCTION_BLOCK
from 4 to 5 bits.
Records are formatted as follows:
All DbgRecord start with:
1. DILocation
FUNC_CODE_DEBUG_RECORD_LABEL
2. DILabel
DPValues then share common fields:
2. DILocalVariable
3. DIExpression
FUNC_CODE_DEBUG_RECORD_VALUE
4. Location Metadata
FUNC_CODE_DEBUG_RECORD_DECLARE
4. Location Metadata
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE
4. Location Value (single)
FUNC_CODE_DEBUG_RECORD_ASSIGN
4. Location Metadata
5. DIAssignID
6. DIExpression (address)
7. Location Metadata (address)
Encoding the DILocation metadata reference directly appeared to yield smaller
bitcode files than encoding the operands seperately (as is done with instruction
DILocations).
FUNC_CODE_DEBUG_RECORD_VALUE_SIMPLE is by far the most common DbgRecord record
in optimized code (order of 5x-10x over other kinds). Unoptimized code should
only contain FUNC_CODE_DEBUG_RECORD_DECLARE.
Commit: 0bcec96f3fe919fc5fd1189d1901fa3a0e501e2c
https://github.com/llvm/llvm-project/commit/0bcec96f3fe919fc5fd1189d1901fa3a0e501e2c
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Reduce duplication in FLAT atomic definitions (#85383)
This simplifies the case where the tablegen name of the defm for the
Real is the same as the name of the Pseudo.
Commit: 9214e51925d202fd8463535d75f144b81173dd73
https://github.com/llvm/llvm-project/commit/9214e51925d202fd8463535d75f144b81173dd73
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Simplify GFX10+ FLAT saddr field definition
On GFX10+ has_saddr is effectively always true so there is no need to
test it.
Commit: e419084da7a00b269368aeb95698e0d36b24e8ec
https://github.com/llvm/llvm-project/commit/e419084da7a00b269368aeb95698e0d36b24e8ec
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/IR/BasicBlock.cpp
Log Message:
-----------
[RemoveDIs] Enable direct-to-bitcode writing by default
Follow on from #83251. This patch simply enables the behaviour by default in
order to provide an easily revertible capstone.
Commit: 64f76dea9c95fd59e383e7550de35786781d9662
https://github.com/llvm/llvm-project/commit/64f76dea9c95fd59e383e7550de35786781d9662
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/Bitcode/dbg-record-roundtrip.ll
Log Message:
-----------
[NFC] Fix comment in test from #83251
Commit: 0ae76a74985b3639ffb99d1dbb857068939547aa
https://github.com/llvm/llvm-project/commit/0ae76a74985b3639ffb99d1dbb857068939547aa
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/Bitcode/dbg-record-roundtrip.ll
Log Message:
-----------
[NFC] Fix incorrect RUN line in test from #83251
Note: This wasn't the cause of the strange behaviour mentioned in the NOTE
comment in the test.
Commit: 0b9f19a9880eb786871194af116f223d2ad30c52
https://github.com/llvm/llvm-project/commit/0b9f19a9880eb786871194af116f223d2ad30c52
Author: antoine moynault <antoine.moynault at linaro.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
M compiler-rt/test/sanitizer_common/TestCases/corelimit.cpp
Log Message:
-----------
Revert "[compiler-rt] Avoid generating coredumps when piped to a tool" (#85390)
This reverts commit 27e5312a8bc8935f9c5620ff061c647d9fbcec85.
This commit broke some bots:
- clang-aarch64-sve-vla
https://lab.llvm.org/buildbot/#/builders/197/builds/13609
- clang-aarch64-sve-vls
https://lab.llvm.org/buildbot/#/builders/184/builds/10988
- clang-aarch64-lld-2stage
https://lab.llvm.org/buildbot/#/builders/185/builds/6312
https://github.com/llvm/llvm-project/pull/83701
Commit: f4676b6be6ee0d908c92d64936d17bd6fa3fbda8
https://github.com/llvm/llvm-project/commit/f4676b6be6ee0d908c92d64936d17bd6fa3fbda8
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/test/Driver/tls-dialect.c
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/lib/Target/X86/X86InstrCompiler.td
M llvm/lib/Target/X86/X86InstrFragments.td
M llvm/lib/Target/X86/X86MCInstLower.cpp
A llvm/test/CodeGen/X86/tls-desc.ll
Log Message:
-----------
[X86] Add Support for X86 TLSDESC Relocations (#83136)
Commit: 092999e70b349ac521cab2648152ababeb12873f
https://github.com/llvm/llvm-project/commit/092999e70b349ac521cab2648152ababeb12873f
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/itofp.i128.ll
Log Message:
-----------
[AMDGPU] Update checks in new test after #85370
Commit: c957715d721b70591ef32dd9609d6d96de9f0554
https://github.com/llvm/llvm-project/commit/c957715d721b70591ef32dd9609d6d96de9f0554
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] isGuaranteedNotToBeUndefOrPoisonForTargetNode - generalize shuffle decoding to support more target shuffles in the future.
Commit: bf3f86623c4712bff146b5d168cad5f7e658ac56
https://github.com/llvm/llvm-project/commit/bf3f86623c4712bff146b5d168cad5f7e658ac56
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Simplify GFX11 and GFX12 FLAT saddr field definition
It is simpler to define this field correctly in the base class for the
Reals for each architecture, than to override it in subclasses for
different addressing modes.
Commit: 65284be2992fc7c6feafc44dda7c0f00df7aacfb
https://github.com/llvm/llvm-project/commit/65284be2992fc7c6feafc44dda7c0f00df7aacfb
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
M flang/test/Lower/CUDA/cuda-kernel-calls.cuf
Log Message:
-----------
[flang][cuda] Lower dim3 grid z correctly on calls (#85346)
Commit: 0e0bfacff71859d1f9212205f8f873d47029d3fb
https://github.com/llvm/llvm-project/commit/0e0bfacff71859d1f9212205f8f873d47029d3fb
Author: yonghong-song <yhs at fb.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Basic/Targets/BPF.cpp
M llvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp
M llvm/lib/Target/BPF/BPFInstrFormats.td
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
M llvm/test/MC/BPF/insn-unit.s
Log Message:
-----------
[BPF] Add support for may_goto insn (#85358)
Alexei added may_goto insn in [1]. The asm syntax for may_goto looks
like
may_goto <label>
The instruction represents a conditional branch but the condition is
implicit. Later in bpf kernel verifier, the 'may_goto <label>' insn will
be rewritten with an explicit condition. The encoding of 'may_goto' insn
is enforced in [2] and is also implemented in this patch.
In [3], 'may_goto' insn is encoded with raw bytes. I made the following
change
```
--- a/tools/testing/selftests/bpf/bpf_experimental.h
+++ b/tools/testing/selftests/bpf/bpf_experimental.h
@@ -328,10 +328,7 @@ l_true: \
#define cond_break \
({ __label__ l_break, l_continue; \
- asm volatile goto("1:.byte 0xe5; \
- .byte 0; \
- .long ((%l[l_break] - 1b - 8) / 8) & 0xffff; \
- .short 0" \
+ asm volatile goto("may_goto %l[l_break]" \
:::: l_break); \
goto l_continue; \
l_break: break;
```
and ran the selftest with the latest llvm with this patch. All tests are
passed.
[1]
https://lore.kernel.org/bpf/20240306031929.42666-1-alexei.starovoitov@gmail.com/
[2]
https://lore.kernel.org/bpf/20240306031929.42666-2-alexei.starovoitov@gmail.com/
[3]
https://lore.kernel.org/bpf/20240306031929.42666-4-alexei.starovoitov@gmail.com/
Commit: accf0af6ee617ccbcd1f764879232ce44fce603f
https://github.com/llvm/llvm-project/commit/accf0af6ee617ccbcd1f764879232ce44fce603f
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M .github/CODEOWNERS
M .github/new-prs-labeler.yml
Log Message:
-----------
[bazel] Add workflows to label and assign bazel PRs (#85352)
Bazel PRs aren't being tagged or auto assigned, so they're easily
missed, especially for those created by contributors w/o triage or
commit access.
I'm putting myself as the default auto reviewer, but only for the
purposes of making sure PRs don't get lost.
Commit: f337525ee8b44da0f1e98eecd7f51bf5805c3760
https://github.com/llvm/llvm-project/commit/f337525ee8b44da0f1e98eecd7f51bf5805c3760
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Compute a shuffle mask for SK_Broadcast shuffle (#85327)
This is the first of a couple of small patches to compute shuffle masks
for the couple of cases where we call getShuffleCost without one. My
goal is to add an invariant that all calls to getShuffleCost for fixed
length vectors have a mask.
---------
Co-authored-by: Alexey Bataev <a.bataev at gmx.com>
Commit: 6b53ada69a8cb2d91e7ad91d810137bc2860f450
https://github.com/llvm/llvm-project/commit/6b53ada69a8cb2d91e7ad91d810137bc2860f450
Author: XChy <xxs_chy at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
Log Message:
-----------
[DFAJumpThreading] Early exit if switch is not in a loop (#85360)
This patch prevents taking non-loop switch as candidate.
Commit: ec2b7522dbee1cb91111d6ade6e1768462247dcf
https://github.com/llvm/llvm-project/commit/ec2b7522dbee1cb91111d6ade6e1768462247dcf
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/cmake/modules/AddLLVM.cmake
M llvm/tools/llvm-shlib/CMakeLists.txt
Log Message:
-----------
llvm-shlib: Fix libLLVM-${MAJOR}.so symlink on MacOS (#85163)
This is a partial revert of 10c48a772742b7afe665a815b7eba2047f17dc4b
with a fix for the symlink target name on MacOS
See #84637
Commit: 86293a7c1377d1c795961f0e73799977eeb4829a
https://github.com/llvm/llvm-project/commit/86293a7c1377d1c795961f0e73799977eeb4829a
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
M flang/test/Lower/Intrinsics/modulo.f90
Log Message:
-----------
[flang] Lower REAL(16) MODULO to Float128Math library call. (#85322)
I did not test it through in #85005, and my assumption was wrong:
arith::RemFOp might be lowered to an fmodf128() call that does not
exist everywhere.
Commit: 92b56011e6b61e7dc1628c0431ece432f282b3cb
https://github.com/llvm/llvm-project/commit/92b56011e6b61e7dc1628c0431ece432f282b3cb
Author: Tom Honermann <tom.honermann at intel.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
[clang] Fix documentation markup in the Clang release notes and language extension docs. (#85310)
Commit: 45e41f9686ee9fbc0598da2acb8316cdfd12e08d
https://github.com/llvm/llvm-project/commit/45e41f9686ee9fbc0598da2acb8316cdfd12e08d
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Compute a shuffle mask for SK_InsertSubvector (#85408)
This is the third of a series of small patches to compute shuffle masks
for the couple of cases where we call getShuffleCost without one. My
goal is to add an invariant that all calls to getShuffleCost for fixed
length vectors have a mask.
After this change, there is one SK_InsertSubvector case left. I excluded
it from this patch just because I thought it worthy of individual
attention and review.
---------
Co-authored-by: Alexey Bataev <a.bataev at gmx.com>
Commit: 0674ed753a16b407609637eb775f26e7e18cbe76
https://github.com/llvm/llvm-project/commit/0674ed753a16b407609637eb775f26e7e18cbe76
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] Compute a shuffle mask for getGatherCost (#85330)
This is the second of a series of small patches to compute shuffle masks
for the couple of cases where we call getShuffleCost without one. My
goal is to add an invariant that all calls to getShuffleCost for fixed
length vectors have a mask.
---------
Co-authored-by: Alexey Bataev <a.bataev at gmx.com>
Commit: fc06c8efcbca6951f849b5c30e1c253929100a7c
https://github.com/llvm/llvm-project/commit/fc06c8efcbca6951f849b5c30e1c253929100a7c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
Log Message:
-----------
AMDGPU: Partially clean up canonicalized predicates in tablegen (#85404)
This was the easy case. There are more issues with some of the other
is_canonicalized* patterns. First there appears to be a tablegen bug
where the predicate is silently ignored if used as a ComplexPattern
source, and we also probably need a version with an operand.
Commit: 12c2a53e6ae5e1ee33de5811341a10bcdc7a8c4f
https://github.com/llvm/llvm-project/commit/12c2a53e6ae5e1ee33de5811341a10bcdc7a8c4f
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SOPInstructions.td
Log Message:
-----------
[AMDGPU] Simplify some uniform patterns. NFC. (#85407)
If the outer node is uniform then the inner nodes must be too, so there
is no need to check them explicitly.
Commit: 4f69c4b158969386deaf42028d4511ef7a015a20
https://github.com/llvm/llvm-project/commit/4f69c4b158969386deaf42028d4511ef7a015a20
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
M clang/test/AST/Interp/cxx98.cpp
Log Message:
-----------
[clang][Interp] Don't diagnose reading const ints in C++98
We _can_ read them, even in C++98.
Commit: 447691333f0a50a159a9924287d48a8266c8a480
https://github.com/llvm/llvm-project/commit/447691333f0a50a159a9924287d48a8266c8a480
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Don't suppress diagnostics for undefined+external funcs
Calling them should still generate a diagnostic.
Commit: a4ca07f13b560b4f6fa5459eef7159e4f9ee9a6b
https://github.com/llvm/llvm-project/commit/a4ca07f13b560b4f6fa5459eef7159e4f9ee9a6b
Author: FantasqueX <fantasquex at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/docs/fullbuild_mode.rst
Log Message:
-----------
[libc] Fix typo in libc fullbuild mode doc (#85204)
"In order to" is more appropriate.
Commit: 7337db72ed334f8389601f160b762e50c4e61c25
https://github.com/llvm/llvm-project/commit/7337db72ed334f8389601f160b762e50c4e61c25
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/Bitcode/dbg-record-roundtrip.ll
Log Message:
-----------
Add ALLOW_RETRIES to flaky test dbg-record-roundtrip.ll (#85410)
Something strange is happening in this test.
If the llvm-as output is piped into llvm-link in the final RUN lines
then this test fails on my machine (1 in 200) using WSL2. If the
verify-uselistorder RUN lines are removed then it doesn't fail on my
machine (in 10,000+). If the llvm-as and llvm-link RUN lines mentioned
at the start are removed then it doesn't fail on my machine (in
10,000+).
Writing the llvm-as output to a temporary file for llvm-link to read on
those final RUN lines, the test doesn't fail on my machine (in 10,000+).
But it _does_ fail on a bot:
https://lab.llvm.org/buildbot/#/builders/245/builds/21930. So clearly my
workaround doesn't solve the underlying problem (and I have no idea what
that is).
Commit: 0ed7a5a9a1d4297e30c7992379ff292cd1aa3828
https://github.com/llvm/llvm-project/commit/0ed7a5a9a1d4297e30c7992379ff292cd1aa3828
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Clean up GFX10 FLAT saddr field definition
On GFX10 only, saddr = EXEC_HI (instead of NULL) is use to distinguish
ST mode from other SCRATCH addressing modes. Handle this when defining
the saddr field instead of overriding it in subclasses.
Commit: 5a8a7ee9d12d7cd3680c7bc14a4750bd44d99c56
https://github.com/llvm/llvm-project/commit/5a8a7ee9d12d7cd3680c7bc14a4750bd44d99c56
Author: Ben Langmuir <blangmuir at apple.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/Support/VirtualFileSystem.h
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/unittests/Support/VirtualFileSystemTest.cpp
Log Message:
-----------
[llvm][vfs] Preserve paths for fallback/fallthrough in RedirectingFileSystem (#85307)
When we lookup in the external filesystem, do not remove . and ..
components from the original path. For .. this is a correctness issue in
the presence of symlinks, while for . it is simply better practice to
preserve the original path to better match the behaviour of other
filesystems. The only modification we need is to apply the working
directory, since it could differ from the external filesystem.
rdar://123655660
Commit: ea628f087e42b24c8188f782cb81f146e06be40e
https://github.com/llvm/llvm-project/commit/ea628f087e42b24c8188f782cb81f146e06be40e
Author: Kevin P. Neal <kevin.neal at sas.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/test/CodeGen/PowerPC/ctrloop-constrained-fp.ll
Log Message:
-----------
[FPEnv][PowerPC] Correct strictfp test.
Correct llvm-reduce strictfp test to follow the rules documented in the
LangRef:
https://llvm.org/docs/LangRef.html#constrained-floating-point-intrinsics
This test needed the strictfp attribute added to function definitions.
Test changes verified with D146845.
Commit: 6503eff6d3bcaf1158dc7e2b6d1fc3521833374e
https://github.com/llvm/llvm-project/commit/6503eff6d3bcaf1158dc7e2b6d1fc3521833374e
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/src/__support/blockstore.h
M libc/src/stdlib/atexit.cpp
M libc/test/src/__support/blockstore_test.cpp
Log Message:
-----------
[libc] remove BlockStore from cpp namespace (#85312)
The cpp namespace should only be used to mirror APIs from C++'s std::
namespace
(at least until we share more code with libc++, see
https://discourse.llvm.org/t/rfc-project-hand-in-hand-llvm-libc-libc-code-sharing/77701)
Commit: 864a88610594d8244e007e9a6e563e2c0f16d1cd
https://github.com/llvm/llvm-project/commit/864a88610594d8244e007e9a6e563e2c0f16d1cd
Author: Marc Auberer <marc.auberer at chillibits.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libcxx/include/limits
A libcxx/test/libcxx/diagnostics/limits.nodiscard_extensions.compile.pass.cpp
A libcxx/test/libcxx/diagnostics/limits.nodiscard_extensions.verify.cpp
Log Message:
-----------
[libc++] Add [[nodiscard]] to static numeric limit functions (#83748)
Fixes #83695
Commit: 2e8417680a9ab032859c936b2ceb773bb08e08ca
https://github.com/llvm/llvm-project/commit/2e8417680a9ab032859c936b2ceb773bb08e08ca
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libcxx/utils/ci/run-buildbot-container
Log Message:
-----------
[libc++] Fixes run-buildbot-container. (#84644)
Pulls the proper docker image instead of a non-existing image.
Commit: 186565513c57cd625ea7afd7b33897adfed7e9f8
https://github.com/llvm/llvm-project/commit/186565513c57cd625ea7afd7b33897adfed7e9f8
Author: SahilPatidar <patidarsahil2001 at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/combine-sra.ll
Log Message:
-----------
[X86][AVX] Fix handling of out-of-bounds SRA shift amounts in AVX2 vector shift nodes (#84426)
Commit: f01a32f5c58b199edf7cd1492a20578453852f0e
https://github.com/llvm/llvm-project/commit/f01a32f5c58b199edf7cd1492a20578453852f0e
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
A lldb/include/lldb/Host/Alarm.h
M lldb/source/Host/CMakeLists.txt
A lldb/source/Host/common/Alarm.cpp
A lldb/unittests/Host/AlarmTest.cpp
M lldb/unittests/Host/CMakeLists.txt
Log Message:
-----------
[lldb] Add an Alarm class for coalescing progress reports (#85329)
The commit introduces a new, generic, Alarm class. The class lets you to
schedule functions (callbacks) that will execute after a predefined
timeout. Once scheduled, you can cancel and reset a callback, given the
timeout hasn't expired yet.
The alarm class worker thread that sleeps until the next timeout
expires. When the thread wakes up, it checks for all the callbacks that
have expired and calls them in order. Because the callback is called
from the worker thread, the only guarantee is that a callback is called
no sooner than the timeout. A long running callback could potentially
block the worker threads and delay other callbacks from getting called.
I intentionally kept the implementation as simple as possible while
addressing the needs for the use case of coalescing progress events as
discussed in [1]. If we want to rely on this somewhere else, we can
reassess whether we need to address this class' limitations.
[1] https://discourse.llvm.org/t/rfc-improve-lldb-progress-reporting/75717/
Commit: f4335f075b3496bce6b49f9267e6160d1824b1bb
https://github.com/llvm/llvm-project/commit/f4335f075b3496bce6b49f9267e6160d1824b1bb
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
A llvm/test/CodeGen/X86/asm-dialect-module.ll
Log Message:
-----------
[X86,AsmPrinter] Set assembler dialect for module inline asm
`clang -c -masm=intel` compiling a source file with file scope basic asm
incorrectly uses the AT&T dialect.
```
% cat a.c
asm("mov rax, rax");
% clang a.c -c -masm=intel
<inline asm>:1:1: error: unknown use of instruction mnemonic without a size suffix
mov rax, rax
^
```
Fix this by setting the assembler dialect from the MCAsmInfo object.
Note: `clang -c -flto -masm=intel a.c` still fails because of
https://reviews.llvm.org/D82862 for #34830: it tried to support AT&T
syntax for clang-cl, but the forced AT&T syntax is not compatible with
intended Intel syntax.
Pull Request: https://github.com/llvm/llvm-project/pull/85367
Commit: 0b0e52836d2563afa4c968b93a633c2b17fa5820
https://github.com/llvm/llvm-project/commit/0b0e52836d2563afa4c968b93a633c2b17fa5820
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIDefines.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp
M llvm/test/MC/AMDGPU/gfx11_asm_sop1.s
M llvm/test/MC/AMDGPU/gfx12_asm_sop1.s
M llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_sop1.txt
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_sop1.txt
Log Message:
-----------
[AMDGPU] Fix GFX11 sendmsg codes (#85299)
The code MSG_RTN_GET_TBA_TO_PC was missing, and the next code is off by
1 as a result.
Commit: 9ecc72f39918d157a46ff1ea816a8756a9bbf75b
https://github.com/llvm/llvm-project/commit/9ecc72f39918d157a46ff1ea816a8756a9bbf75b
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Simplify definition of FLAT segment bits. NFC.
Commit: 58f7251820b14c93168726a24816d8a094599be5
https://github.com/llvm/llvm-project/commit/58f7251820b14c93168726a24816d8a094599be5
Author: Thurston Dang <thurston at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M compiler-rt/lib/msan/msan.cpp
M compiler-rt/lib/msan/msan.h
M compiler-rt/lib/msan/msan_linux.cpp
Log Message:
-----------
[msan] Re-exec with no ASLR if memory layout is incompatible on Linux (#85142)
This ports the change from TSan
(https://github.com/llvm/llvm-project/commit/0784b1eefa36d4acbb0dacd2d18796e26313b6c5).
Testing notes: run 'sudo sysctl vm.mmap_rnd_bits=32; ninja check-msan'
before and after this patch.
N.B. aggressive ASLR may also cause the app to overlap with the
allocator region; for MSan, this was fixed in
https://github.com/llvm/llvm-project/commit/af2bf86a372cacf5f536bae06e2f2d3886eefb7b
Commit: e115c00565be88677e8b7fe021a3e242249c67b8
https://github.com/llvm/llvm-project/commit/e115c00565be88677e8b7fe021a3e242249c67b8
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lld/ELF/Config.h
M lld/ELF/Driver.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/Options.td
M lld/docs/ld.lld.1
M lld/test/ELF/incompatible-section-types2.s
M lld/test/ELF/linkerscript/custom-section-type.s
A lld/test/ELF/unknown-section.test
Log Message:
-----------
[ELF] Reject certain unknown section types (#85173)
Unknown section sections may require special linking rules, and
rejecting such sections for older linkers may be desired. For example,
if we introduce a new section type to replace a control structure (e.g.
relocations), it would be nice for older linkers to reject the new
section type. GNU ld allows certain unknown section types:
* [SHT_LOUSER,SHT_HIUSER] and non-SHF_ALLOC
* [SHT_LOOS,SHT_HIOS] and non-SHF_OS_NONCONFORMING
but reports errors and stops linking for others (unless
--no-warn-mismatch is specified). Port its behavior. For convenience, we
additionally allow all [SHT_LOPROC,SHT_HIPROC] types so that we don't
have to hard code all known types for each processor.
Close https://github.com/llvm/llvm-project/issues/84812
Commit: 2d80505401835ed4c32d0d58f015efddf929c39d
https://github.com/llvm/llvm-project/commit/2d80505401835ed4c32d0d58f015efddf929c39d
Author: Sean Fertile <sd.fertile at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/include/llvm/MC/MCSymbolXCOFF.h
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
M llvm/lib/Target/PowerPC/PPCSubtarget.h
A llvm/test/CodeGen/PowerPC/aix-codemodel-attr.ll
Log Message:
-----------
[AIX] Support per global code model. (#79202)
Exploit the per global code model attribute on AIX. On AIX we need to
update both the code sequence used to access the global (either 1 or 2
instructions for small and large code model respectively) and the
storage mapping class that we emit the toc entry.
---------
Co-authored-by: Amy Kwan <akwan0907 at gmail.com>
Commit: 39a96bc7b276d0be856c7b51e92f0d77cf775385
https://github.com/llvm/llvm-project/commit/39a96bc7b276d0be856c7b51e92f0d77cf775385
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-icmp-to-trunc.ll
Log Message:
-----------
[SLP][NFC]Add a test for minbitwidth analysis of icmp, being transformed
to trunc.
Commit: fd09d510d066583c088e4dbcf23ac0b500c5cc7a
https://github.com/llvm/llvm-project/commit/fd09d510d066583c088e4dbcf23ac0b500c5cc7a
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lldb/include/lldb/Host/Alarm.h
Log Message:
-----------
[lldb] Add missing headers lldb/Host/Alarm.h
Commit: 9a42bdc0ae53f321966b1418430d4aaaf83877b5
https://github.com/llvm/llvm-project/commit/9a42bdc0ae53f321966b1418430d4aaaf83877b5
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFC]Fix signedness to avoid comparison warning.
Commit: 1e8dad3bef64ada8b293e6c538b1f41ad9727cc0
https://github.com/llvm/llvm-project/commit/1e8dad3bef64ada8b293e6c538b1f41ad9727cc0
Author: Billy Zhu <billyzhu at modular.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/include/mlir-c/Dialect/LLVM.h
M mlir/include/mlir/Dialect/LLVMIR/CMakeLists.txt
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrs.h
M mlir/include/mlir/Dialect/LLVMIR/LLVMInterfaces.td
M mlir/lib/CAPI/Dialect/LLVM.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.h
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.h
M mlir/test/CAPI/llvm.c
M mlir/test/Target/LLVMIR/Import/debug-info.ll
M mlir/test/Target/LLVMIR/Import/import-failure.ll
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[MLIR][LLVM] Support Recursive DITypes (#80251)
Following the discussion from [this
thread](https://discourse.llvm.org/t/handling-cyclic-dependencies-in-debug-info/67526/11),
this PR adds support for recursive DITypes.
This PR adds:
1. DIRecursiveTypeAttrInterface: An interface that DITypeAttrs can
implement to indicate that it supports recursion. See full description
in code.
2. Importer & exporter support (The only DITypeAttr that implements the
interface is DICompositeTypeAttr, so the exporter is only implemented
for composites too. There will be two methods that each llvm DI type
that supports mutation needs to implement since there's nothing
general).
---------
Co-authored-by: Tobias Gysi <tobias.gysi at nextsilicon.com>
Commit: ba2e3bd39678bdadabe8b606007d335e1cb4d213
https://github.com/llvm/llvm-project/commit/ba2e3bd39678bdadabe8b606007d335e1cb4d213
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Host/BUILD.gn
Log Message:
-----------
[gn build] Port f01a32f5c58b
Commit: bb9ca8afc0bd5a1abb8ef3d0f5c8e4928c2f7f60
https://github.com/llvm/llvm-project/commit/bb9ca8afc0bd5a1abb8ef3d0f5c8e4928c2f7f60
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
M llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
Log Message:
-----------
[Hexagon][TTI] Remove two overrides which simply proxy to base class [NFC]
These serve no point, and slightly complicate a refectoring I'm working
on for this API.
Commit: 2210c85a664463cdc11e3b7990c9663c739e6060
https://github.com/llvm/llvm-project/commit/2210c85a664463cdc11e3b7990c9663c739e6060
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
M openmp/libomptarget/plugins-nextgen/common/include/Utils/ELF.h
M openmp/libomptarget/plugins-nextgen/common/src/GlobalHandler.cpp
M openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp
M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
Log Message:
-----------
Reapply [libomptarget] Support BE ELF files in plugins-nextgen (#85246)
Code in plugins-nextgen reading ELF files is currently hard-coded to
assume a 64-bit little-endian ELF format. Unfortunately, this assumption
is even embedded in the interface between GlobalHandler and Utils/ELF
routines, which use ELF64LE types.
To fix this, I've refactored the interface to use generic types, in
particular by using (a unique_ptr to) ObjectFile instead of
ELF64LEObjectFile, and ELFSymbolRef instead of ELF64LE::Sym.
This allows properly templating over multiple ELF format variants inside
Utils/ELF; specifically, this patch adds support for 64-bit big-endian
ELF files in addition to 64-bit little-endian files.
Commit: b43965adacfafc4dc6b5ec17b4bea839372b7626
https://github.com/llvm/llvm-project/commit/b43965adacfafc4dc6b5ec17b4bea839372b7626
Author: Michael Flanders <mkf727 at cs.washington.edu>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/UInt.h
M libc/src/__support/integer_to_string.h
M libc/src/__support/str_to_float.h
M libc/src/__support/str_to_integer.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/nanf128.cpp
A libc/src/math/nanf128.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/nanf128_test.cpp
Log Message:
-----------
[libc][math][c23] adds `nanf128` (#85201)
Continuing #84689, this one required more changes than the others, so I
am making it a separate PR.
Extends some stuff in `str_to_float.h`, `str_to_integer.h` to work on
types wider than `unsigned long long` and `uint64_t`.
cc @lntue for review.
Commit: 0360f3218a13666123849f6699216bdbebe64833
https://github.com/llvm/llvm-project/commit/0360f3218a13666123849f6699216bdbebe64833
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Windows/bitfield_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_heap_allocation.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_host.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
R compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
M compiler-rt/test/asan/TestCases/deep_stack_uaf.cpp
M compiler-rt/test/asan/TestCases/double-free.cpp
M compiler-rt/test/asan/TestCases/malloc-size-too-big.cpp
M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
M compiler-rt/test/asan/TestCases/use-after-free.cpp
Log Message:
-----------
[asan][windows] Make tests more flexable (#85274)
Contains test changes from
https://github.com/llvm/llvm-project/pull/81677 that are simple test
changes. For the most part just makes the tests allow more flexibility
in the callstacks produced by asan.
Note: this PR has the exact changes from
https://github.com/llvm/llvm-project/pull/81677 in addition to a revert
commit to remove the ones that require other things from that PR. This
will be squashed, ofc. I just left things unsquashed for reviewing
pleasure :).
This is a non-functional-change
Commit: b8db3e7c7dddaa14c314a05b92c9fa3df38734e4
https://github.com/llvm/llvm-project/commit/b8db3e7c7dddaa14c314a05b92c9fa3df38734e4
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/test/Preprocessor/riscv-target-features.c
Log Message:
-----------
[RISCV,test] Change two -munaligned-access to GCC-supported -mno-strict-align
Commit: cd071253c70b3b37a0b9d113709ca9d49a83007e
https://github.com/llvm/llvm-project/commit/cd071253c70b3b37a0b9d113709ca9d49a83007e
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
M clang/lib/Driver/ToolChains/Arch/ARM.cpp
M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
M clang/test/Driver/apple-kext-mkernel.c
M clang/test/Driver/loongarch-munaligned-access.c
M clang/test/Driver/munaligned-access-unused.c
M clang/test/Driver/riscv-features.c
Log Message:
-----------
[Driver] Don't alias -mstrict-align to -mno-unaligned-access
GCC ports only supports one of the options, with -mstrict-align
preferred by newer ports. They reject adding -m[no-]unaligned-access to
newer ports that use -m[no-]strict-align.
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111555).
We should not support aliases, either. Since the behavior has been
long-time for ARM (a146a48349c965932dcf304ffb8155b25307f245), support
both forms for ARM for now but remove -m[no-]unaligned-access for
RISC-V/LoongArch (see also
https://github.com/riscv-non-isa/riscv-c-api-doc/pull/62).
While here, add TargetSpecific to ensure errors on unsupported targets
(https://reviews.llvm.org/D151590) and remove unneeded CC1 options.
Pull Request: https://github.com/llvm/llvm-project/pull/85350
Commit: b431546d41c4af1458d3c0706005665c9ab12e76
https://github.com/llvm/llvm-project/commit/b431546d41c4af1458d3c0706005665c9ab12e76
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M bolt/lib/Profile/StaleProfileMatching.cpp
M bolt/test/X86/reader-stale-yaml.test
Log Message:
-----------
[BOLT] Check BF state in stale matching (#85339)
Only apply stale matching if the binary function is in CFG state, i.e.
has basic blocks.
Test Plan:
Updated bolt/test/X86/reader-stale-yaml.test
Commit: d6722bcbd60af7d56a201cb6ff47097d98b03be9
https://github.com/llvm/llvm-project/commit/d6722bcbd60af7d56a201cb6ff47097d98b03be9
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
M libc/config/gpu/api.td
M libc/config/linux/api.td
M libc/include/llvm-libc-macros/stdio-macros.h
Log Message:
-----------
[libc] Move EOF macro to stdio-macros.h (#85159)
libc++ char_traits.h assumes EOF is always available
See #85158 for more details.
Commit: 500e05f5a29e8a8008f849788b385cfb0c72e3ef
https://github.com/llvm/llvm-project/commit/500e05f5a29e8a8008f849788b385cfb0c72e3ef
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
Log Message:
-----------
[libc] Match stdlib.h baremetal entrypoints with types (#85030)
To match the entrypoints and types for baremetal, we need to include
__qsortrcompare_t and omit __atexithandler_t.
Commit: d717e7f7be279c638faa696f16e1d860ef3cf9ed
https://github.com/llvm/llvm-project/commit/d717e7f7be279c638faa696f16e1d860ef3cf9ed
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
Log Message:
-----------
[libc] Include double_t and float_t in math.h on baremetal (#85028)
This matches other targets.
Commit: c9062e8f786864f86d330babce78a1926cc5b072
https://github.com/llvm/llvm-project/commit/c9062e8f786864f86d330babce78a1926cc5b072
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M llvm/lib/Frontend/OpenMP/OMPContext.cpp
M openmp/libomptarget/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/aarch64/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/ppc64/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/ppc64le/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/s390x/CMakeLists.txt
M openmp/libomptarget/plugins-nextgen/x86_64/CMakeLists.txt
M openmp/libomptarget/src/CMakeLists.txt
M openmp/libomptarget/test/api/omp_dynamic_shared_memory.c
M openmp/libomptarget/test/jit/empty_kernel_lvl1.c
M openmp/libomptarget/test/jit/empty_kernel_lvl2.c
M openmp/libomptarget/test/jit/type_punning.c
M openmp/libomptarget/test/mapping/auto_zero_copy.cpp
M openmp/libomptarget/test/mapping/auto_zero_copy_globals.cpp
M openmp/libomptarget/test/offloading/barrier_fence.c
M openmp/libomptarget/test/offloading/bug49334.cpp
M openmp/libomptarget/test/offloading/default_thread_limit.c
M openmp/libomptarget/test/offloading/ompx_bare.c
M openmp/libomptarget/test/offloading/ompx_coords.c
M openmp/libomptarget/test/offloading/ompx_saxpy_mixed.c
M openmp/libomptarget/test/offloading/parallel_target_teams_reduction.cpp
M openmp/libomptarget/test/offloading/small_trip_count.c
M openmp/libomptarget/test/offloading/small_trip_count_thread_limit.cpp
M openmp/libomptarget/test/offloading/spmdization.c
M openmp/libomptarget/test/offloading/target_critical_region.cpp
M openmp/libomptarget/test/offloading/thread_limit.c
M openmp/libomptarget/test/ompt/target_memcpy.c
M openmp/libomptarget/test/ompt/target_memcpy_emi.c
M openmp/libomptarget/test/ompt/veccopy.c
M openmp/libomptarget/test/ompt/veccopy_data.c
M openmp/libomptarget/test/ompt/veccopy_disallow_both.c
M openmp/libomptarget/test/ompt/veccopy_emi.c
M openmp/libomptarget/test/ompt/veccopy_emi_map.c
M openmp/libomptarget/test/ompt/veccopy_map.c
Log Message:
-----------
Reapply [libomptarget] Build plugins-nextgen for SystemZ (#83978)
The plugin was not getting built as the build_generic_elf64 macro
assumes the LLVM triple processor name matches the CMake processor name,
which is unfortunately not the case for SystemZ.
Fix this by providing two separate arguments instead.
Actually building the plugin exposed a number of other issues causing
various test failures. Specifically, I've had to add the SystemZ target
to
- CompilerInvocation::ParseLangArgs
- linkDevice in ClangLinuxWrapper.cpp
- OMPContext::OMPContext (to set the device_kind_cpu trait)
- LIBOMPTARGET_ALL_TARGETS in libomptarget/CMakeLists.txt
- a check_plugin_target call in libomptarget/src/CMakeLists.txt
Finally, I've had to set a number of test cases to UNSUPPORTED on
s390x-ibm-linux-gnu; all these tests were already marked as UNSUPPORTED
for x86_64-pc-linux-gnu and aarch64-unknown-linux-gnu and are failing on
s390x for what seem to be the same reason.
In addition, this also requires support for BE ELF files in
plugins-nextgen: https://github.com/llvm/llvm-project/pull/85246
Commit: 1b0072734ffb1297070ea37ad49c374f32b1d94d
https://github.com/llvm/llvm-project/commit/1b0072734ffb1297070ea37ad49c374f32b1d94d
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M .github/new-prs-labeler.yml
Log Message:
-----------
[new-prs-labeler] Add "DXContainer" patterns to the backend:DirectX label (#85446)
This should make sure PRs like #84409 get labelled.
Commit: 89b7b3b9952210fbd9bd0db95385bfed69ffc7a3
https://github.com/llvm/llvm-project/commit/89b7b3b9952210fbd9bd0db95385bfed69ffc7a3
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.h
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/test/CodeGen/Generic/ForceStackAlign.ll
M llvm/test/CodeGen/NVPTX/dynamic_stackalloc.ll
Log Message:
-----------
[NVPTX] support dynamic allocas with PTX alloca instruction (#84585)
Add support for dynamically sized alloca instructions with the PTX
alloca instruction introduced in PTX 7.3
([9.7.15.3. Stack Manipulation Instructions: alloca]
(https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#stack-manipulation-instructions-alloca))
Commit: 0e21672d996282973d9a7aca675a7f9510ba4bb8
https://github.com/llvm/llvm-project/commit/0e21672d996282973d9a7aca675a7f9510ba4bb8
Author: Felipe Cabarcas <110852406+fel-cab at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M openmp/libomptarget/src/OpenMP/Mapping.cpp
Log Message:
-----------
Fixing LIBOMPTARGET_INFO message, for Copying data from device to host (#85444)
When running OpenMP offloading application with LIBOMPTARGET_INFO=-1,
the addresses of the Copying data from **device** to **host**, the
address are swap.
As an example, Currently the address would be
```
omptarget device 0 info: Mapping exists with HstPtrBegin=0x00007ffddaf0fb90, TgtPtrBegin=0x00007fb385404000, Size=8000, DynRefCount=0 (decremented, delayed deletion), HoldRefCount=0
omptarget device 0 info: Copying data from device to host, TgtPtr=0x00007ffddaf0fb90, HstPtr=0x00007fb385404000, Size=8000, Name=d
```
And it should be
```
omptarget device 0 info: Copying data from device to host, TgtPtr=0x00007fb385404000, HstPtr=0x00007ffddaf0fb90, Size=8000, Name=d
```
---------
Co-authored-by: fel-cab <fel-cab at github.com>
Commit: b7dd6012ebc06b6383cf1449058bf916da0eb4bc
https://github.com/llvm/llvm-project/commit/b7dd6012ebc06b6383cf1449058bf916da0eb4bc
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Plugins/SymbolLocator/DebugSymbols/SymbolLocatorDebugSymbols.cpp
Log Message:
-----------
[lldb] Show module name in progress update for downloading symbols (#85342)
Currently, we always show the argument passed to dsymForUUID in the
corresponding progress update. Most of the time this is a UUID, but it
can also be an absolute path. The former is pretty uninformative and the
latter needlessly noisy.
This changes the progress update to print the UUID and the module name,
if both are available. Otherwise, we print the UUID or the module name
depending on which one is available.
We now also unconditionally pass the module file spec and architecture
to DownloadObjectAndSymbolFile, while previously this was conditional on
the file existing on-disk. This should be harmless:
- We already check that the file exists in DownloadObjectAndSymbolFile.
- It doesn't make sense to check the filesystem for the architecutre.
rdar://124643548
Commit: f75d164eeaf407b21ec6b2cff4bcc3ad2003af61
https://github.com/llvm/llvm-project/commit/f75d164eeaf407b21ec6b2cff4bcc3ad2003af61
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
M mlir/test/Dialect/Math/expand-math.mlir
Log Message:
-----------
Revert "[mlir][math] Implement alternative decomposition for tanh (#8… (#85429)
…5025)"
This reverts commit 58ef9bec071383744fb703ff08df9806f25e4095.
There is a bool to float casting issue that needs to be sorted out to
make sure this is target independent
Commit: e74bcecd36a59a9271c7d4133e73448a3def74c1
https://github.com/llvm/llvm-project/commit/e74bcecd36a59a9271c7d4133e73448a3def74c1
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
M mlir/test/Dialect/Math/polynomial-approximation.mlir
Log Message:
-----------
[mlir][math] Propagate scalability in polynomial approximation (#84949)
This simply updates the rewrites to propagate the scalable flags (which
as they do not alter the vector shape, is pretty simple).
The added tests are simply scalable versions of the existing vector
tests.
Commit: f0863a004e794b7cf90dd92869064e964400b52c
https://github.com/llvm/llvm-project/commit/f0863a004e794b7cf90dd92869064e964400b52c
Author: Billy Zhu <billyzhu at modular.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[MLIR][LLVM] Fix bazel build (#85462)
Fix bazel build after #80251.
Commit: 8ff96eb100d4811120f3050e5bc75848ea83a938
https://github.com/llvm/llvm-project/commit/8ff96eb100d4811120f3050e5bc75848ea83a938
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/spec/stdc.td
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/nextdown.cpp
A libc/src/math/generic/nextdownf.cpp
A libc/src/math/generic/nextdownf128.cpp
A libc/src/math/generic/nextup.cpp
A libc/src/math/generic/nextupf.cpp
A libc/src/math/generic/nextupf128.cpp
A libc/src/math/nextdown.h
A libc/src/math/nextdownf.h
A libc/src/math/nextdownf128.h
A libc/src/math/nextup.h
A libc/src/math/nextupf.h
A libc/src/math/nextupf128.h
M libc/test/UnitTest/FPMatcher.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/NextDownTest.h
A libc/test/src/math/smoke/NextUpTest.h
A libc/test/src/math/smoke/nextdown_test.cpp
A libc/test/src/math/smoke/nextdownf128_test.cpp
A libc/test/src/math/smoke/nextdownf_test.cpp
A libc/test/src/math/smoke/nextup_test.cpp
A libc/test/src/math/smoke/nextupf128_test.cpp
A libc/test/src/math/smoke/nextupf_test.cpp
Log Message:
-----------
[libc][math][c23] Add nextup{,f,f128} and nextdown{,f,f128} functions (#85431)
See https://github.com/llvm/llvm-project/issues/85283.
I had a test for `nextdownl` that was failing and I thought I should add
`nextupl` and `nextdownl` later and first make a PR for the other
functions.
cc @lntue
Commit: a4610c7182d35093e9e0fde5be91659a8b9da5b8
https://github.com/llvm/llvm-project/commit/a4610c7182d35093e9e0fde5be91659a8b9da5b8
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DebugNames.h
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugNames.cpp
M bolt/test/X86/dwarf5-debug-names-generate-debug-names.test
M bolt/test/X86/dwarf5-debug-names.test
M bolt/test/X86/dwarf5-df-debug-names-generate-debug-names.test
M bolt/test/X86/dwarf5-df-debug-names.test
M bolt/test/X86/dwarf5-df-main-debug-names-ftu-ltu-mix.test
M bolt/test/X86/dwarf5-df-one-cu-debug-names.test
M bolt/test/X86/dwarf5-df-types-debug-names.test
M bolt/test/X86/dwarf5-df-types-one-cu-debug-names.test
M bolt/test/X86/dwarf5-one-cu-debug-names.test
M bolt/test/X86/dwarf5-types-debug-names.test
M bolt/test/X86/dwarf5-types-one-cu-debug-names.test
Log Message:
-----------
[BOLT][DWARF] Add support for DW_IDX_parent (#85285)
This adds support for DW_IDX_parent. If DIE has a parent then
DW_IDX_parent in Entry will point to Entry for that parent DIE.
Otherwise it will have DW_FORM_flag_present in abbrev. Which takes zero
space in Entry.
This came from
https://discourse.llvm.org/t/rfc-improve-dwarf-5-debug-names-type-lookup-parsing-speed/74151
Commit: ca4c4a6758d184f209cb5d88ef42ecc011b11642
https://github.com/llvm/llvm-project/commit/ca4c4a6758d184f209cb5d88ef42ecc011b11642
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/Features.def
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/Type.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Sema/SemaAttr.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/Sema/nullability.c
M clang/test/SemaCXX/nullability.cpp
Log Message:
-----------
Revert "[clang][nullability] allow _Nonnull etc on nullable class types (#82705)"
This reverts commit 92a09c0165b87032e1bd05020a78ed845cf35661.
This is triggering a bunch of new -Wnullability-completeness warnings
in code with existing raw pointer nullability annotations.
The intent was the new nullability locations wouldn't affect those
warnings, so this is a bug at least for now.
Commit: 5e21fa23bb242d6e0575c1ca630e4d293413aed6
https://github.com/llvm/llvm-project/commit/5e21fa23bb242d6e0575c1ca630e4d293413aed6
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/runtime/edit-output.cpp
Log Message:
-----------
[flang][runtime] Fix off-by-one error in EX0.0 output editing (#85428)
The maximum number of significant hexadecimal digits in EX0.0 REAL
output editing is 29, not 28. Fix by computing it at build time from the
precision of REAL(16).
Commit: 60fa2b0670b874b702ddb9f81d098af692ea6875
https://github.com/llvm/llvm-project/commit/60fa2b0670b874b702ddb9f81d098af692ea6875
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/misc-parsers.h
M flang/lib/Parser/unparse.cpp
M flang/test/Lower/CUDA/cuda-kernel-loop-directive.cuf
M flang/test/Parser/cuf-sanity-tree.CUF
M flang/test/Semantics/cuf09.cuf
Log Message:
-----------
[flang] Parse !$CUF KERNEL DO <<< (*) (#85338)
Accept and represent asterisks within the parenthesized grid and block
specification lists.
Commit: 0481f049c37029d829dbc0c0cc5d1ee71c6d1c9a
https://github.com/llvm/llvm-project/commit/0481f049c37029d829dbc0c0cc5d1ee71c6d1c9a
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
A clang/docs/PointerAuthentication.rst
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/Features.def
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Basic/TargetInfo.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Sema/Sema.h
M clang/lib/Basic/TargetInfo.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Headers/CMakeLists.txt
M clang/lib/Headers/module.modulemap
A clang/lib/Headers/ptrauth.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGen/ptrauth-intrinsics.c
A clang/test/Preprocessor/ptrauth_feature.c
A clang/test/Sema/ptrauth-intrinsics-macro.c
A clang/test/Sema/ptrauth.c
M llvm/docs/PointerAuth.md
Log Message:
-----------
[AArch64][PAC] Support ptrauth builtins and -fptrauth-intrinsics. (#65996)
This defines the basic set of pointer authentication clang builtins
(provided in a new header, ptrauth.h), with diagnostics and IRGen
support. The availability of the builtins is gated on a new flag,
`-fptrauth-intrinsics`.
Note that this only includes the basic intrinsics, and notably excludes
`ptrauth_sign_constant`, `ptrauth_type_discriminator`, and
`ptrauth_string_discriminator`, which need extra logic to be fully
supported.
This also introduces clang/docs/PointerAuthentication.rst, which
describes the ptrauth model in general, in addition to these builtins.
Co-Authored-By: Akira Hatanaka <ahatanaka at apple.com>
Co-Authored-By: John McCall <rjmccall at apple.com>
Commit: 71e0261fb0c6c382f68eedddf6bbcf637e6709f2
https://github.com/llvm/llvm-project/commit/71e0261fb0c6c382f68eedddf6bbcf637e6709f2
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
A flang/include/flang/Common/optional.h
M flang/include/flang/Runtime/type-code.h
M flang/runtime/connection.h
M flang/runtime/descriptor-io.cpp
M flang/runtime/descriptor-io.h
M flang/runtime/edit-input.cpp
M flang/runtime/environment.cpp
M flang/runtime/environment.h
M flang/runtime/extrema.cpp
M flang/runtime/file.cpp
M flang/runtime/file.h
M flang/runtime/format-implementation.h
M flang/runtime/format.h
M flang/runtime/io-api.cpp
M flang/runtime/io-stmt.cpp
M flang/runtime/io-stmt.h
M flang/runtime/matmul-transpose.cpp
M flang/runtime/matmul.cpp
M flang/runtime/misc-intrinsic.cpp
M flang/runtime/namelist.cpp
M flang/runtime/random-templates.h
M flang/runtime/random.cpp
M flang/runtime/tools.h
M flang/runtime/type-code.cpp
M flang/runtime/type-info.cpp
M flang/runtime/type-info.h
M flang/runtime/unit-map.cpp
M flang/runtime/unit.cpp
M flang/runtime/unit.h
M flang/runtime/utf.cpp
M flang/runtime/utf.h
Log Message:
-----------
[flang][runtime] Added Fortran::common::optional for use on device.
This is a simplified implementation of std::optional that can be used
in the offload builds for the device code. The methods are properly
marked with RT_API_ATTRS so that the device compilation succedes.
Reviewers: klausler, jeanPerier
Reviewed By: jeanPerier
Pull Request: https://github.com/llvm/llvm-project/pull/85177
Commit: d4a8e979e4bd6c282e2b3645353f84a189bb4a9a
https://github.com/llvm/llvm-project/commit/d4a8e979e4bd6c282e2b3645353f84a189bb4a9a
Author: Sterling Augustine <saugustine at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
R llvm/test/CodeGen/NVPTX/common-linkage.ll
M llvm/test/CodeGen/NVPTX/weak-global.ll
Log Message:
-----------
Revert "[NVPTX] Use .common linkage for common globals (#84416)"
This reverts commit 8f0012d3dc2ae6d40e9f812cae111ca7a6eb2a2d.
The common-linkage.ll test fails with ptxas enabled.
Commit: 6e1959d0e79afdc3a8ff803638616813ccee558e
https://github.com/llvm/llvm-project/commit/6e1959d0e79afdc3a8ff803638616813ccee558e
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
Log Message:
-----------
[gn build] Port 0481f049c370
Commit: d8f97c067c9488f00bfaa17086c672d1fb7106d9
https://github.com/llvm/llvm-project/commit/d8f97c067c9488f00bfaa17086c672d1fb7106d9
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
A flang/include/flang/Common/reference-wrapper.h
M flang/runtime/io-stmt.h
Log Message:
-----------
[flang][runtime] Added Fortran::common::reference_wrapper for use on device.
This is a simplified implementation of std::reference_wrapper that can be used
in the offload builds for the device code. The methods are properly
marked with RT_API_ATTRS so that the device compilation succedes.
Reviewers: jeanPerier, klausler
Reviewed By: jeanPerier
Pull Request: https://github.com/llvm/llvm-project/pull/85178
Commit: 037a32a9a73286cf6e1bf439c61b03767658b564
https://github.com/llvm/llvm-project/commit/037a32a9a73286cf6e1bf439c61b03767658b564
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
Log Message:
-----------
[flang][OpenMP] Convert DataSharingProcessor to omp::Clause (#81629)
[Clause representation 6/6]
Commit: 8ebf4084f13d939eb33cd0a29d057158fa15a3a7
https://github.com/llvm/llvm-project/commit/8ebf4084f13d939eb33cd0a29d057158fa15a3a7
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M flang/include/flang/ISO_Fortran_binding.h
M flang/include/flang/Runtime/descriptor.h
M flang/runtime/derived-api.cpp
M flang/runtime/type-info.h
Log Message:
-----------
[NFC][flang] Reorder const and RT_API_ATTRS.
Clean-up to keep the type qualifier next to the type.
Reviewers: klausler
Reviewed By: klausler
Pull Request: https://github.com/llvm/llvm-project/pull/85180
Commit: d5a277d309e92b1d3e493da6036cffdf815105b1
https://github.com/llvm/llvm-project/commit/d5a277d309e92b1d3e493da6036cffdf815105b1
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lldb/include/lldb/Core/Disassembler.h
M lldb/include/lldb/Symbol/LineEntry.h
M lldb/include/lldb/Utility/SupportFile.h
M lldb/source/API/SBLineEntry.cpp
M lldb/source/API/SBThread.cpp
M lldb/source/Breakpoint/BreakpointResolver.cpp
M lldb/source/Breakpoint/BreakpointResolverFileLine.cpp
M lldb/source/Commands/CommandObjectBreakpoint.cpp
M lldb/source/Commands/CommandObjectSource.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Core/Address.cpp
M lldb/source/Core/Disassembler.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/IOHandlerCursesGUI.cpp
M lldb/source/Core/SourceManager.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Symbol/CompileUnit.cpp
M lldb/source/Symbol/Function.cpp
M lldb/source/Symbol/LineEntry.cpp
M lldb/source/Symbol/LineTable.cpp
M lldb/source/Symbol/SymbolContext.cpp
M lldb/source/Target/StackFrame.cpp
M lldb/source/Target/StackFrameList.cpp
M lldb/source/Target/Thread.cpp
M lldb/source/Target/TraceDumper.cpp
Log Message:
-----------
[lldb] Store SupportFile in FileEntry (NFC) (#85468)
This is another step towards supporting DWARF5 checksums and inline
source code in LLDB.
Commit: 047b2b241defcad79a6ac0fec9cda092bac0a922
https://github.com/llvm/llvm-project/commit/047b2b241defcad79a6ac0fec9cda092bac0a922
Author: Yichen Yan <oraluben at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/test/Driver/cuda-cross-compiling.c
Log Message:
-----------
[NVPTX] Add `-march=general` option to mirror default configuration (#85222)
This PR adds `-march=generic` support for the NVPTX backend. This
fulfills a TODO introduced in #79873.
With this PR, users can explicitly request the "default" CUDA
architecture, which makes sure that no specific architecture is
specified.
This PR does not address any compatibility issues between different CUDA
versions.
---------
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Commit: 01fa550ff654d6724e6da54c877032baeddff14b
https://github.com/llvm/llvm-project/commit/01fa550ff654d6724e6da54c877032baeddff14b
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M compiler-rt/test/tsan/signal_reset.cpp
Log Message:
-----------
[tsan][test] Switch SIGPROF to SIGALRM
Followup to #85188.
Commit: 6818c7b8efef16ff373a1d8a6d7e35ecf14541be
https://github.com/llvm/llvm-project/commit/6818c7b8efef16ff373a1d8a6d7e35ecf14541be
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/docs/gpu/building.rst
M libc/docs/gpu/testing.rst
M libc/docs/gpu/using.rst
Log Message:
-----------
[libc] Update GPU testing documentation (#85459)
Summary:
This documentation was lagging reality and didn't contain much. Update
it with some more information now that it's more mature.
Commit: ba97dc8c7a8fc26516fbdfe822343bc4d38fe3db
https://github.com/llvm/llvm-project/commit/ba97dc8c7a8fc26516fbdfe822343bc4d38fe3db
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M lldb/source/Host/common/Alarm.cpp
Log Message:
-----------
[lldb] Fix -Wctad-maybe-unsupported in Alarm.cpp (NFC)
llvm-project/lldb/source/Host/common/Alarm.cpp:37:5:
error: 'lock_guard' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
std::lock_guard alarm_guard(m_alarm_mutex);
^
Commit: 8f2632c45f54d1e91248be81db5d4908d1036213
https://github.com/llvm/llvm-project/commit/8f2632c45f54d1e91248be81db5d4908d1036213
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M lldb/unittests/Host/AlarmTest.cpp
Log Message:
-----------
[lldb][test] Fix -Wctad-maybe-unsupported in AlarmTest.cpp (NFC)
llvm-project/lldb/unittests/Host/AlarmTest.cpp:49:7:
error: 'lock_guard' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
std::lock_guard guard(m);
^
Commit: 4da2b542b142dac441722e044ee75da2475d9a20
https://github.com/llvm/llvm-project/commit/4da2b542b142dac441722e044ee75da2475d9a20
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
M lldb/test/API/commands/dwim-print/TestDWIMPrint.py
Log Message:
-----------
[lldb] Fix dwim-print to not delete non-result persistent variables (#85152)
`EvaluateExpression` does not always create a new persistent result. If the expression
is a bare persistent variable, then a new persistent result is not created. This means
the caller can't assume a new persistent result is created for each evaluation.
However, `dwim-print` was doing exactly that: assuming a new persistent result for each
evaluation. This resulted in a bug:
```
(lldb) p int $j = 23
(lldb) p $j
(lldb) p $j
```
The first `p $j` would not create a persistent result, and so `dwim-print` would
inadvertently delete `$j`. The second `p $j` would fail.
The fix is to try `expr` as a persistent variable, after trying `expr` as a frame
variable. For persistent variables, this avoids calling `EvaluateExpression`.
Resolves https://github.com/llvm/llvm-project/issues/84806
rdar://124688427
Commit: 8d7ee4691dadd3a9d831108f77d1f4e511191a44
https://github.com/llvm/llvm-project/commit/8d7ee4691dadd3a9d831108f77d1f4e511191a44
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/include/clang/Driver/Driver.h
M clang/lib/Driver/Driver.cpp
M clang/tools/driver/driver.cpp
Log Message:
-----------
[clang] Move CCC_OVERRIDE_OPTIONS implementation to Driver (#85425)
Move CCC_OVERRIDE_OPTIONS support to clangDriver so that it may be used outside of the
clang driver binary.
The override functionality will be used in LLDB, to apply adjustments to ClangImporter
flags. This will be useful as an escape hatch when there are issues that can be fixed
by adding or removing clang flags.
The only thing changed is the name, from `ApplyQAOverride` to `applyOverrideOptions`.
Commit: f128607b89b4818a2265f5ebd09313408277d975
https://github.com/llvm/llvm-project/commit/f128607b89b4818a2265f5ebd09313408277d975
Author: Tom Honermann <tom.honermann at intel.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/MicrosoftMangle.cpp
M clang/test/CodeGenCXX/mangle-ms-back-references.cpp
Log Message:
-----------
[clang][MSVC] Correct mangling of thread-safe static initialization variables. (#85300)
Static local variables with dynamic initializers depend on implicitly defined
guard variables to synchronize thread-safe initialization. These guard
variables may have external linkage and therefore require a stable name for
linkage purposes. The Microsoft ABI assigns these variables a local name of
'$TSS' followed by a discriminator and mangles them as a static local variable
of type 'int'. Previously, the '$TSS<discriminator>' portion of the name was
not registered as a back reference candidate and this resulted in incorrect
back references for enclosing class and/or namespace scopes that might be
referenced in the signature of the enclosing function. This change adds the
previously missing back reference registration. This matches the mangling
performed by MSVC and resolves incompatibilities when inline functions with
static local variables are inlined across DLL boundaries.
This is an ABI change and has the potential to cause backward compatibility
issues with previous Clang releases.
Fixes #83616
Commit: 83afcbf5f39b9766fd4e5c7d577e308d71f9edc1
https://github.com/llvm/llvm-project/commit/83afcbf5f39b9766fd4e5c7d577e308d71f9edc1
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
Log Message:
-----------
[mlir] Fix -Wunused-variable in DebugTranslation.cpp (NFC)
llvm-project/mlir/lib/Target/LLVMIR/DebugTranslation.cpp:226:10:
error: unused variable '[iter, inserted]' [-Werror,-Wunused-variable]
auto [iter, inserted] =
^
1 error generated.
Commit: 43fc921795bd130a325c013d60f209b5c6128fc7
https://github.com/llvm/llvm-project/commit/43fc921795bd130a325c013d60f209b5c6128fc7
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
M llvm/cmake/modules/AddLLVM.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[CMAKE] Enable FatLTO as a build option for LLVM (#80480)
Since LLVM supports `-ffat-lto-objects` we should enable this as an
option in the LLVM build. FatLTO should improve the time it takes to
build tests for LTO enabled builds of the compiler by not linking w/ the
bitcode portion of the object files, which should speed up build times
for LTO builds without disabling optimizations.
Commit: f3a8af07fa9e9dbc3bfa495b34846e3a5962cc27
https://github.com/llvm/llvm-project/commit/f3a8af07fa9e9dbc3bfa495b34846e3a5962cc27
Author: Aart Bik <ajcbik at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Bufferization/IR/BufferizationOps.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/StageSparseOperations.cpp
M mlir/test/Dialect/Bufferization/invalid.mlir
M mlir/test/Dialect/SparseTensor/invalid.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_empty.mlir
Log Message:
-----------
[mlir][sparse] best effort finalization of escaping empty sparse tensors (#85482)
This change lifts the restriction that purely allocated empty sparse
tensors cannot escape the method. Instead it makes a best effort to add
a finalizing operation before the escape.
This assumes that
(1) we never build sparse tensors across method boundaries
(e.g. allocate in one, insert in other method)
(2) if we have other uses of the empty allocation in the
same method, we assume that either that op will fail
or will do the finalization for us.
This is best-effort, but fixes some very obvious missing cases.
Commit: 470040bd4d54f39f9ac0868a2197fa2ae3e6d4f5
https://github.com/llvm/llvm-project/commit/470040bd4d54f39f9ac0868a2197fa2ae3e6d4f5
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M openmp/libomptarget/plugins-nextgen/common/include/PluginInterface.h
M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
Log Message:
-----------
[Libomptarget][NFC] Remove warning on return value const
Commit: 0ead2bd91bd5df4f1d285038d8ebd2f6a5ec569d
https://github.com/llvm/llvm-project/commit/0ead2bd91bd5df4f1d285038d8ebd2f6a5ec569d
Author: Bixia Zheng <bixia at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
Log Message:
-----------
[MLIR][LLVM] Suppress unused variable warning. (#85467)
Commit: 6c3049cd683bac91bd815288d82b25cf695690cc
https://github.com/llvm/llvm-project/commit/6c3049cd683bac91bd815288d82b25cf695690cc
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
Log Message:
-----------
Revert "[libc] Match stdlib.h baremetal entrypoints with types" (#85490)
Reverts llvm/llvm-project#85030
This patch causes build failures when building runtimes for armv6m
```
FAILED: /b/s/w/ir/x/w/llvm_build/include/armv6m-unknown-eabi/stdlib.h
cd /b/s/w/ir/x/w/llvm-llvm-project/libc/include && /b/s/w/ir/x/w/llvm_build/bin/libc-hdrgen -o /b/s/w/ir/x/w/llvm_build/include/armv6m-unknown-eabi/stdlib.h --header stdlib.h --def /b/s/w/ir/x/w/llvm-llvm-project/libc/include/stdlib.h.def -I /b/s/w/ir/x/w/llvm-llvm-project/libc --e=__assert_fail --e=isalnum --e=isalpha --e=isascii --e=isblank --e=iscntrl --e=isdigit --e=isgraph --e=islower --e=isprint --e=ispunct --e=isspace --e=isupper --e=isxdigit --e=toascii --e=tolower --e=toupper --e=__stack_chk_fail --e=errno --e=bcmp --e=bcopy --e=bzero --e=index --e=memccpy --e=memchr --e=memcmp --e=memcpy --e=memmem --e=memmove --e=mempcpy --e=memrchr --e=memset --e=memset_explicit --e=rindex --e=stpcpy --e=stpncpy --e=strcasecmp --e=strcasestr --e=strcat --e=strchr --e=strchrnul --e=strcmp --e=strcoll --e=strcpy --e=strcspn --e=strerror --e=strerror_r --e=strlcat --e=strlcpy --e=strlen --e=strncasecmp --e=strncat --e=strncmp --e=strncpy --e=strnlen --e=strpbrk --e=strrchr --e=strsep --e=strspn --e=strstr --e=strtok --e=strtok_r --e=strxfrm --e=imaxabs --e=imaxdiv --e=strtoimax --e=strtoumax --e=sprintf --e=snprintf --e=vsprintf --e=vsnprintf --e=stdc_leading_zeros_uc --e=stdc_leading_zeros_us --e=stdc_leading_zeros_ui --e=stdc_leading_zeros_ul --e=stdc_leading_zeros_ull --e=stdc_leading_ones_uc --e=stdc_leading_ones_us --e=stdc_leading_ones_ui --e=stdc_leading_ones_ul --e=stdc_leading_ones_ull --e=stdc_trailing_zeros_uc --e=stdc_trailing_zeros_us --e=stdc_trailing_zeros_ui --e=stdc_trailing_zeros_ul --e=stdc_trailing_zeros_ull --e=stdc_trailing_ones_uc --e=stdc_trailing_ones_us --e=stdc_trailing_ones_ui --e=stdc_trailing_ones_ul --e=stdc_trailing_ones_ull --e=stdc_first_leading_zero_uc --e=stdc_first_leading_zero_us --e=stdc_first_leading_zero_ui --e=stdc_first_leading_zero_ul --e=stdc_first_leading_zero_ull --e=stdc_first_leading_one_uc --e=stdc_first_leading_one_us --e=stdc_first_leading_one_ui --e=stdc_first_leading_one_ul --e=stdc_first_leading_one_ull --e=stdc_first_trailing_zero_uc --e=stdc_first_trailing_zero_us --e=stdc_first_trailing_zero_ui --e=stdc_first_trailing_zero_ul --e=stdc_first_trailing_zero_ull --e=stdc_first_trailing_one_uc --e=stdc_first_trailing_one_us --e=stdc_first_trailing_one_ui --e=stdc_first_trailing_one_ul --e=stdc_first_trailing_one_ull --e=stdc_count_zeros_uc --e=stdc_count_zeros_us --e=stdc_count_zeros_ui --e=stdc_count_zeros_ul --e=stdc_count_zeros_ull --e=stdc_count_ones_uc --e=stdc_count_ones_us --e=stdc_count_ones_ui --e=stdc_count_ones_ul --e=stdc_count_ones_ull --e=stdc_has_single_bit_uc --e=stdc_has_single_bit_us --e=stdc_has_single_bit_ui --e=stdc_has_single_bit_ul --e=stdc_has_single_bit_ull --e=stdc_bit_width_uc --e=stdc_bit_width_us --e=stdc_bit_width_ui --e=stdc_bit_width_ul --e=stdc_bit_width_ull --e=stdc_bit_floor_uc --e=stdc_bit_floor_us --e=stdc_bit_floor_ui --e=stdc_bit_floor_ul --e=stdc_bit_floor_ull --e=stdc_bit_ceil_uc --e=stdc_bit_ceil_us --e=stdc_bit_ceil_ui --e=stdc_bit_ceil_ul --e=stdc_bit_ceil_ull --e=abort --e=abs --e=atoi --e=atof --e=atol --e=atoll --e=bsearch --e=div --e=labs --e=ldiv --e=llabs --e=lldiv --e=qsort --e=qsort_r --e=rand --e=srand --e=strtod --e=strtof --e=strtol --e=strtold --e=strtoll --e=strtoul --e=strtoull --e=feclearexcept --e=fedisableexcept --e=feenableexcept --e=fegetenv --e=fegetexcept --e=fegetexceptflag --e=fegetround --e=feholdexcept --e=fesetenv --e=fesetexceptflag --e=fesetround --e=feraiseexcept --e=fetestexcept --e=feupdateenv --e=acosf --e=acoshf --e=asinf --e=asinhf --e=atanf --e=atanhf --e=ceil --e=ceilf --e=ceill --e=copysign --e=copysignf --e=copysignl --e=cosf --e=coshf --e=erff --e=exp --e=exp10 --e=exp10f --e=exp2 --e=exp2f --e=expf --e=expm1 --e=expm1f --e=fabs --e=fabsf --e=fabsl --e=fdim --e=fdimf --e=fdiml --e=floor --e=floorf --e=floorl --e=fma --e=fmaf --e=fmax --e=fmaxf --e=fmaxl --e=fmin --e=fminf --e=fminl --e=fmod --e=fmodf --e=fmodl --e=frexp --e=frexpf --e=frexpl --e=hypot --e=hypotf --e=ilogb --e=ilogbf --e=ilogbl --e=ldexp --e=ldexpf --e=ldexpl --e=llogb --e=llogbf --e=llogbl --e=llrint --e=llrintf --e=llrintl --e=llround --e=llroundf --e=llroundl --e=log --e=log10 --e=log10f --e=log1p --e=log1pf --e=log2 --e=log2f --e=logb --e=logbf --e=logbl --e=logf --e=lrint --e=lrintf --e=lrintl --e=lround --e=lroundf --e=lroundl --e=modf --e=modff --e=modfl --e=nan --e=nanf --e=nanl --e=nearbyint --e=nearbyintf --e=nearbyintl --e=nextafter --e=nextafterf --e=nextafterl --e=nexttoward --e=nexttowardf --e=nexttowardl --e=powf --e=remainder --e=remainderf --e=remainderl --e=remquo --e=remquof --e=remquol --e=rint --e=rintf --e=rintl --e=round --e=roundf --e=roundl --e=scalbn --e=scalbnf --e=scalbnl --e=sincosf --e=sinf --e=sinhf --e=sqrt --e=sqrtf --e=sqrtl --e=tanf --e=tanhf --e=trunc --e=truncf --e=truncl --e=abshk --e=abshr --e=absk --e=absr --e=abslk --e=abslr --e=exphk --e=expk --e=roundhk --e=roundhr --e=roundk --e=roundr --e=roundlk --e=roundlr --e=rounduhk --e=rounduhr --e=rounduk --e=roundur --e=roundulk --e=roundulr --e=sqrtuhk --e=sqrtuhr --e=sqrtuk --e=sqrtur --e=sqrtulr --e=uhksqrtus --e=uksqrtui /b/s/w/ir/x/w/llvm-llvm-project/libc/config/baremetal/api.td
error: __qsortrcompare_t not found in any standard spec.
```
Original failure:
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8753376051397217137/overview
I've tested that reverting this commit would make the build green again.
https://ci.chromium.org/raw/build/logs.chromium.org/fuchsia/led/paulkirth_google.com/29c31064b1fb757cb90a304e79086d644406406dff130569c2e77b066021eee6/+/build.proto?server=chromium-swarm.appspot.com
Commit: 113214e15b5ce3f3ec313eb1fa91a7038ecd072f
https://github.com/llvm/llvm-project/commit/113214e15b5ce3f3ec313eb1fa91a7038ecd072f
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Log Message:
-----------
[lldb] Update SymbolFilePDBTests for LineEntry change (d5a277d309e9)
Commit: 8386a388bd4f144889401cc503b2c51bf4bb9275
https://github.com/llvm/llvm-project/commit/8386a388bd4f144889401cc503b2c51bf4bb9275
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGenHLSL/builtins/clamp-builtin.hlsl
A clang/test/CodeGenHLSL/builtins/clamp.hlsl
A clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/mad-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
A llvm/test/CodeGen/DirectX/clamp-vec.ll
A llvm/test/CodeGen/DirectX/clamp.ll
A llvm/test/CodeGen/DirectX/fmax.ll
A llvm/test/CodeGen/DirectX/fmin.ll
A llvm/test/CodeGen/DirectX/smax.ll
A llvm/test/CodeGen/DirectX/smin.ll
M llvm/test/CodeGen/DirectX/umax.ll
A llvm/test/CodeGen/DirectX/umin.ll
Log Message:
-----------
[HLSL] implement `clamp` intrinsic (#85424)
closes #70071
- `CGBuiltin.cpp` - Add the unsigned\generic clamp intrinsic emitter.
- `IntrinsicsDirectX.td` - add the `dx.clamp` & `dx.uclamp` intrinsics
- `DXILIntrinsicExpansion.cpp` - add the `clamp` instruction expansion
while maintaining vector form.
- `SemaChecking.cpp` - Add `clamp` builtin Sema Checks.
- `Builtins.td` - add a `clamp` builtin
- `hlsl_intrinsics.h` - add the `clamp` api
Why `clamp` as instruction expansion for DXIL?
1. SPIR-V has a GLSL `clamp` extension via:
-
[FClamp](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#FClamp)
-
[UClamp](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#UClamp)
-
[SClamp](https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#SClamp)
2. Further Clamp lowers to `min(max( x, min_range ), max_range)` which
we have float, signed, & unsigned dixilOps.
Commit: 7c460c6205eedaa24f77d5de272dfd94dc3e9a38
https://github.com/llvm/llvm-project/commit/7c460c6205eedaa24f77d5de272dfd94dc3e9a38
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Fix a bug in annotating FunctionDeclarationName (#85361)
A name is not a FunctionDeclarationName if it's preceded by an
Objective-C keyword.
Fixes #84578.
Commit: fadc38efed815511c21032abab4b71e4320adc1c
https://github.com/llvm/llvm-project/commit/fadc38efed815511c21032abab4b71e4320adc1c
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M mlir/test/Integration/Dialect/Memref/reinterpret-cast-runtime-verification.mlir
M mlir/test/Integration/Dialect/Memref/subview-runtime-verification.mlir
Log Message:
-----------
[mlir][memref] Fix memory leaks in runtime verification tests (#85362)
Change `memref.alloc` to `memref.alloca`, which does not require manual
deallocation.
Commit: 513cdb82223a106f183b49a40d9acb1f7efbbe7e
https://github.com/llvm/llvm-project/commit/513cdb82223a106f183b49a40d9acb1f7efbbe7e
Author: Justin Fargnoli <justinfargnoli at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
M mlir/lib/Dialect/Arith/IR/ArithDialect.cpp
M mlir/lib/Dialect/ControlFlow/IR/ControlFlowOps.cpp
M mlir/lib/Dialect/Func/IR/FuncOps.cpp
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgDialect.cpp
M mlir/lib/Dialect/MemRef/IR/MemRefDialect.cpp
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/Shape/IR/Shape.cpp
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/Tensor/IR/TensorDialect.cpp
M mlir/lib/Dialect/Tosa/CMakeLists.txt
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
Log Message:
-----------
[mlir] Declare promised interfaces for all dialects (#78368)
This PR adds promised interface declarations for all interfaces declared
in `InitAllDialects.h`.
Promised interfaces allow a dialect to declare that it will have an
implementation of a particular interface, crashing the program if one
isn't provided when the interface is used.
Commit: 53c44187538794a749746339595aa62ec08b3f4a
https://github.com/llvm/llvm-project/commit/53c44187538794a749746339595aa62ec08b3f4a
Author: Matthias Springer <me at m-sp.org>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/canonicalize.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/mmt4d.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-matmul-masked-vec.mlir
M mlir/test/Integration/Dialect/Tosa/CPU/test-fully-connected.mlir
Log Message:
-----------
[mlir][linalg, tosa] Fix memory leaks in integration tests (#85366)
Buffers are no longer deallocation by One-Shot Bufferize. This is now
done by a separate buffer deallocation pass.
Also fix a bug in the `vector.mask` folding, which was triggered by
`-buffer-deallocation-pipeline`, which runs the canonicalizer.
Commit: 426e6945897afbec01c042bec4771522a2aac176
https://github.com/llvm/llvm-project/commit/426e6945897afbec01c042bec4771522a2aac176
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M clang/lib/Format/BreakableToken.h
M clang/lib/Format/ContinuationIndenter.h
M clang/lib/Format/Encoding.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatInternal.h
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.h
M clang/lib/Format/FormatTokenSource.h
M clang/lib/Format/Macros.h
M clang/lib/Format/SortJavaScriptImports.h
M clang/lib/Format/TokenAnalyzer.h
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineFormatter.h
M clang/lib/Format/UnwrappedLineParser.h
M clang/lib/Format/WhitespaceManager.h
Log Message:
-----------
[clang-format][NFC] Delete redundant and extraneous #include lines
Commit: 5a3cc7ba24c564a19a7812efd79ecd224b8193f5
https://github.com/llvm/llvm-project/commit/5a3cc7ba24c564a19a7812efd79ecd224b8193f5
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/lib/Passes/PassBuilder.cpp
Log Message:
-----------
[PassBuilder] Expose parametrized passes related functions (#85357)
Some targets have passes with parameters, e.g. ARM, AMDGPU and MIPS.
For example, AMDGPU has a pass `AMDGPUAtomicOptimizerPass`
which need a `ScanOption`, this commit enables the syntax
like `-passes=amdgpu-atomic-optimizer<strategy=dpp>` for backend passes.
Commit: 3e69e5a15782a5776a3245170aeb5d97ef746fa5
https://github.com/llvm/llvm-project/commit/3e69e5a15782a5776a3245170aeb5d97ef746fa5
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaConcept.cpp
M clang/test/SemaTemplate/concepts.cpp
Log Message:
-----------
[Concepts] Add Decls from the outer scope of the current lambda for conversion function constraints (#83420)
This fixes the case shown by
https://github.com/llvm/llvm-project/issues/64808#issuecomment-1929131611.
Similar to
https://github.com/llvm/llvm-project/commit/f9caa12328b265b77221fe7a310d4504673d814a,
we have some calls to constraint checking for a lambda's conversion
function while determining the conversion sequence.
This patch addresses the problem where the requires-expression within
such a lambda references to a Decl outside of the lambda by adding these
Decls to the current instantiation scope.
I'm abusing the flag `ForOverloadResolution` of
CheckFunctionConstraints, which is actually meant to consider the Decls
from parent DeclContexts.
---------
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
Commit: 426bf0c915aca9e9d78b6192898b95a44d9afcf4
https://github.com/llvm/llvm-project/commit/426bf0c915aca9e9d78b6192898b95a44d9afcf4
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/test/AST/Interp/builtin-functions.cpp
Log Message:
-----------
[clang][Interp] Try to fix builtin-functions test on AIX
See
https://github.com/llvm/llvm-project/commit/0a739eb75fe68b1cec4e4aaad8b5395bb5da9a89#commitcomment-139850284
Commit: dbbdee2ea2156170062813fb3d7f2c023d65e02d
https://github.com/llvm/llvm-project/commit/dbbdee2ea2156170062813fb3d7f2c023d65e02d
Author: Stella Laurenzo <stellaraccident at gmail.com>
Date: 2024-03-15 (Fri, 15 Mar 2024)
Changed paths:
M mlir/lib/Dialect/MLProgram/IR/CMakeLists.txt
M mlir/lib/Dialect/MLProgram/IR/MLProgramDialect.cpp
A mlir/test/Dialect/MLProgram/inlining.mlir
Log Message:
-----------
[mlir] Make the ml_program dialect allow all of its operations to be inlined. (#85479)
Commit: fce046ca5b7edb4c0d37a6eb580154ccb7dda966
https://github.com/llvm/llvm-project/commit/fce046ca5b7edb4c0d37a6eb580154ccb7dda966
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Move InliningUtils into a separate target. (#85411)
Various (in-tree as well as downstream) targets currently depend on
`InliningUtils.h` to avoid circular dependencies. E.g. `TransformUtils`
depends on `ArithDialect`, so `ArithDialect` can't depend on
`TransformUtils` exporting `InliningUtils.h`. This change exposes that
header and it's implementation as a separate target. Having targets that
implement all the declared functions is the preferred approach for bazel
build graphs.
See also PR #84878, which moves the interface definitions to a separate
file in the `Interfaces` directory. This turned out to be controversial
and putting it in a different directory didn't seem to have any support
either. Instead, this PR only changes the bazel build without moving any
C++ code.
Commit: dec63221d56e8092557f29f1f2c127828d7521bb
https://github.com/llvm/llvm-project/commit/dec63221d56e8092557f29f1f2c127828d7521bb
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M .github/workflows/pr-code-format.yml
Log Message:
-----------
[GitHub][workflows] Use latest clang-format version 18.1.1 (#85502)
Commit: a02b79f3fc765af77ad565e907989c25b2427fe5
https://github.com/llvm/llvm-project/commit/a02b79f3fc765af77ad565e907989c25b2427fe5
Author: Brad Smith <brad at comstyle.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Log Message:
-----------
[Mips][NFC] Garbage collect unused code (#85499)
Commit: 5ac784d1d00ce4733d07c3432ff946497a249e51
https://github.com/llvm/llvm-project/commit/5ac784d1d00ce4733d07c3432ff946497a249e51
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/include/clang/Format/.clang-format
M clang/lib/Format/.clang-format
M clang/tools/clang-format/.clang-format
M clang/unittests/Format/.clang-format
Log Message:
-----------
Revert "[clang-format][NFC] Don't use clang-format style in config files"
This reverts commit c69ec700adec315b3daa55742f2ef655242fa297, which has been
obsolete since commit dec63221d56e because the clang-format style was added
in version 18.
Commit: f1ca0b6ce85ba43faf5064e333080092b31eb4c9
https://github.com/llvm/llvm-project/commit/f1ca0b6ce85ba43faf5064e333080092b31eb4c9
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M .github/workflows/pr-code-format.yml
Log Message:
-----------
Revert "[GitHub][workflows] Use latest clang-format version 18.1.1 (#85502)"
This reverts commit dec63221d56e8092557f29f1f2c127828d7521bb.
This probably needs more discussion before we can land it. The consensus
(from what I can gather) in https://discourse.llvm.org/t/rfc-clang-format-all-the-things/76614
is that we should be careful with version upgrades for consistency.
Commit: ddff198e1133b02271fbb002756ec91b54cf1a68
https://github.com/llvm/llvm-project/commit/ddff198e1133b02271fbb002756ec91b54cf1a68
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependency for b43965adacfafc4dc6b5ec17b4bea839372b7626
Commit: 6f39c1e2844c96f222a0c6e564c0d3e52c0c2feb
https://github.com/llvm/llvm-project/commit/6f39c1e2844c96f222a0c6e564c0d3e52c0c2feb
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M .github/workflows/pr-code-format.yml
Log Message:
-----------
[GitHub][workflows] Use latest clang-format version 18.1.1 (#85502)
Commit: 367f355fbfe30b1769368c93f30e04b2ecba613e
https://github.com/llvm/llvm-project/commit/367f355fbfe30b1769368c93f30e04b2ecba613e
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/DeclCXX.cpp
M clang/test/SemaCXX/lambda-expressions.cpp
Log Message:
-----------
Reapply "[clang] Fix crash when declaring invalid lambda member" (#85427)
This re-applies #74110 with the crashing code disabled in C++11. I'll
try to fix the new crash in it's own patch.
Commit: 8e69052b0e2f3b1bc7dbcf56a0c771e30d2edbf7
https://github.com/llvm/llvm-project/commit/8e69052b0e2f3b1bc7dbcf56a0c771e30d2edbf7
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Handle ArrayTypeTraitExprs
Commit: 12978b3e23a2766732595391c193e5631f40a3db
https://github.com/llvm/llvm-project/commit/12978b3e23a2766732595391c193e5631f40a3db
Author: Jakub Mazurkiewicz <mazkuba3 at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/docs/Status/Cxx23Papers.csv
M libcxx/include/__compare/partial_order.h
M libcxx/include/__compare/strong_order.h
M libcxx/include/__compare/weak_order.h
M libcxx/include/__iterator/iter_move.h
M libcxx/include/__ranges/access.h
M libcxx/include/__ranges/rbegin.h
M libcxx/include/__ranges/rend.h
M libcxx/include/__ranges/size.h
M libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp
M libcxx/test/std/ranges/range.access/begin.pass.cpp
M libcxx/test/std/ranges/range.access/end.pass.cpp
M libcxx/test/std/ranges/range.access/rbegin.pass.cpp
M libcxx/test/std/ranges/range.access/rend.pass.cpp
M libcxx/test/std/ranges/range.access/size.pass.cpp
A libcxx/test/std/ranges/robust_against_poison_pills.compile.pass.cpp
Log Message:
-----------
[libc++] P2602R2 Poison Pills are Too Toxic (#74534)
Implements [P2602R2 Poison Pills are Too
Toxic](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2602r2.html)
as a DR in C++20 mode.
Commit: 5bcb78141c628d9bd7a0b6e398858282c16038d3
https://github.com/llvm/llvm-project/commit/5bcb78141c628d9bd7a0b6e398858282c16038d3
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/include/__format/format_context.h
M libcxx/include/__format/format_functions.h
M libcxx/include/__format/formatter_floating_point.h
M libcxx/include/format
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
Log Message:
-----------
[libc++] Remove <locale> includes from <format> (#85478)
This reduces the include time from 767ms to 691ms.
Commit: 6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e
https://github.com/llvm/llvm-project/commit/6d3cec01a6c29fa4e51ba129fa13dbf55d2b928e
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp.h
Log Message:
-----------
Revert "[openmp] __kmp_x86_cpuid fix for i386/PIC builds." (#85526)
Reverts llvm/llvm-project#84626
Commit: 662010e5398e07287242688c144bd11faaf73861
https://github.com/llvm/llvm-project/commit/662010e5398e07287242688c144bd11faaf73861
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/include/complex
Log Message:
-----------
[libc++][NFC] Use the tuple forward declaration header for tuple forward declarations
Commit: 9d5edfde5c3dbc4eb559d316e82e664f291fc2bf
https://github.com/llvm/llvm-project/commit/9d5edfde5c3dbc4eb559d316e82e664f291fc2bf
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
A llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64.dylib
A llvm/test/tools/llvm-objdump/MachO/AArch64/Inputs/rel-method-lists-arm64_32.dylib
A llvm/test/tools/llvm-objdump/MachO/AArch64/macho-relative-method-lists.test
M llvm/tools/llvm-objdump/MachODump.cpp
Log Message:
-----------
[llvm-objdump][macho] Add support for ObjC relative method lists (#85477)
For Mach-O, ld64 supports the -fobjc-relative-method-lists flag which
changes the format in which method lists are generated. The format uses
delta encoding vs the original direct-pointer encoding.
This change adds support to llvm-objdump and llvm-otool for
decoding/dumping of method lists in the delta format. Previously, if a
binary with this information format was passed to the tooling, it would
output invalid information, trying to parse the delta lists as pointer
lists.
After this change, the tooling will output correct information if a
binary in this format is encountered.
The output format is closest feasible match to XCode 15.1's otool
output. Tests are included for both 32bit and 64bit binaries.
The code style was matched as close as possible to existing
implementation of parsing non-delta method lists.
Diff between llvm-objdump and XCode 15.1 otool:
![image](https://github.com/llvm/llvm-project/assets/103613512/2277e3ff-d59c-4fff-b93a-e0587ee740a6)
Note: This is a retry of this PR:
https://github.com/llvm/llvm-project/pull/84250
On the original PR, the armv7+armv8 builds were failing due to absolute
offsets being different.
Co-authored-by: Alex B <alexborcan at meta.com>
Commit: 74d1a40915834cbf0629f8d34a7265734d4d9073
https://github.com/llvm/llvm-project/commit/74d1a40915834cbf0629f8d34a7265734d4d9073
Author: Sirraide <aeternalmail at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
M clang/test/SemaCXX/cxx23-assume.cpp
Log Message:
-----------
[Clang] Ignore assumptions with side effects at compile time (#85534)
Fixes #85519.
Commit: 618ce78603241cda3483da0532ef92254bd748cb
https://github.com/llvm/llvm-project/commit/618ce78603241cda3483da0532ef92254bd748cb
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/include/mutex
Log Message:
-----------
[libc++][NFC] Simplify scoped_lock::__unlock_unpack a bit (#85517)
Commit: f694f632d9f600601c3dd7a7385e1ab6e2385cd9
https://github.com/llvm/llvm-project/commit/f694f632d9f600601c3dd7a7385e1ab6e2385cd9
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/include/chrono
M libcxx/test/libcxx/transitive_includes/cxx20.csv
Log Message:
-----------
[libc++] Add <locale> include in <chrono> (#85521)
I accidentally removed this transitive include in #85478.
Commit: c51095f51b770f0663b65dd8a651601fca15701e
https://github.com/llvm/llvm-project/commit/c51095f51b770f0663b65dd8a651601fca15701e
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/include/clang/Basic/AllDiagnostics.h
M clang/include/clang/Basic/CMakeLists.txt
M clang/include/clang/Basic/Diagnostic.td
M clang/include/clang/Basic/DiagnosticIDs.h
A clang/include/clang/Basic/DiagnosticInstallAPI.h
A clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
A clang/include/clang/InstallAPI/DylibVerifier.h
A clang/include/clang/InstallAPI/InstallAPIDiagnostic.h
M clang/lib/Basic/DiagnosticIDs.cpp
M clang/test/InstallAPI/driver-invalid-options.test
M clang/test/InstallAPI/functions.test
M clang/tools/clang-installapi/CMakeLists.txt
M clang/tools/clang-installapi/ClangInstallAPI.cpp
A clang/tools/clang-installapi/InstallAPIOpts.td
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
M llvm/lib/TextAPI/TextStub.cpp
Log Message:
-----------
[InstallAPI] Add installapi specific options & diagnostics (#85100)
* A lot of `tapi installapi` options are already shared with clang, but
not all. This patch handles installapi-specific options by filtering for
them in the initial argv input, then passing the rest to the clang
driver.
* Installapi not only generates a text file but also reports to library
developers when there are inconsistencies between an interface and its
implementation. To allow this, add support for reporting installapi
diagnostics. This will be leveraged in the verifier service.
Commit: f2794ccede6d32a6b5ef7a376ced420331e2be27
https://github.com/llvm/llvm-project/commit/f2794ccede6d32a6b5ef7a376ced420331e2be27
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/include/clang/AST/Availability.h
M clang/include/clang/InstallAPI/Context.h
M clang/include/clang/InstallAPI/DylibVerifier.h
M clang/include/clang/InstallAPI/Frontend.h
M clang/include/clang/InstallAPI/FrontendRecords.h
M clang/include/clang/InstallAPI/MachO.h
M clang/lib/InstallAPI/CMakeLists.txt
A clang/lib/InstallAPI/DylibVerifier.cpp
M clang/lib/InstallAPI/Frontend.cpp
M clang/lib/InstallAPI/Visitor.cpp
A clang/test/InstallAPI/asm.test
M clang/tools/clang-installapi/ClangInstallAPI.cpp
M clang/tools/clang-installapi/Options.cpp
M llvm/include/llvm/TextAPI/Record.h
Log Message:
-----------
[InstallAPI] Introduce Basic Verifier (#85106)
This adds basic support for calling the verifier on global declarations
that are expected to represent symbol exports. The driver now
exclusively uses this for knowing what symbols make up a TBD file.
Future patches will check against the dylib's symbol table.
Commit: c9325f8a2e7ec9bb9e0b28320aab4034bcb94a0d
https://github.com/llvm/llvm-project/commit/c9325f8a2e7ec9bb9e0b28320aab4034bcb94a0d
Author: Usman Nadeem <mnadeem at quicinc.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
M llvm/test/Transforms/DFAJumpThreading/dfa-unfold-select.ll
A llvm/test/Transforms/DFAJumpThreading/unpredictable-heuristic.ll
Log Message:
-----------
[DFAJumpThreading] Add an early exit heuristic for unpredictable values (#85015)
Right now the algorithm does not exit on unpredictable values. It
waits until all the paths have been enumerated to see if any of
those paths have that value. Waiting this late leads to a lot of
wasteful computation and higher compile time.
In this patch I have added a heuristic that checks if the value
comes from the same inner loops as the switch, if so, then it is
likely that the value will also be seen on a threadable path and
the code in `getStateDefMap()` return an empty map.
I tested this on the llvm test suite and the only change in the
number of threaded switches was in 7zip (before 23, after 18).
In all of those cases the current algorithm was partially threading
the loop because it was hitting a limit on the number of paths to
be explored. On increasing this limit even the current algorithm
finds paths where the unpredictable value is seen.
Compile time(with pass enabled by default and this patch):
https://llvm-compile-time-tracker.com/compare.php?from=8c5e9cf737138aba22a4a8f64ef2c5efc80dd7f9&to=42c75d888058b35c6d15901b34e36251d8f766b9&stat=instructions:u
Commit: 0847c903c8a04a2bdf53d5f1b93be5705d998801
https://github.com/llvm/llvm-project/commit/0847c903c8a04a2bdf53d5f1b93be5705d998801
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
Log Message:
-----------
Revert "[libc++] Fix tests on musl (#85085)"
This reverts commit b61fb18456ecd798b2fc340367018ab3109ebfae.
This commit landed with build failures in the pre-commit CI
https://buildkite.com/llvm-project/libcxx-ci/builds/34153
Commit: e77378cc14ec712942452aca155addacbe904c8f
https://github.com/llvm/llvm-project/commit/e77378cc14ec712942452aca155addacbe904c8f
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
M llvm/test/Transforms/LowerMatrixIntrinsics/multiply-fused-lifetime-ends.ll
Log Message:
-----------
[Matrix] Adjust lifetime.ends during multiply fusion. (#84914)
At the moment, loads introduced by multiply fusion may be placed after
an objects lifetime has been terminated by lifetime.end. This introduces
reads to dead objects.
To avoid this, first collect all lifetime.end calls in the function.
During fusion, we deal with any lifetime.end calls that may alias any of
the loads.
Such lifetime.end calls are either moved when possible (both the
lifetime.end and the store are in the same block) or deleted.
PR: https://github.com/llvm/llvm-project/pull/84914
Commit: 2867095917cef0d01a68b112bcb01e2f85de4308
https://github.com/llvm/llvm-project/commit/2867095917cef0d01a68b112bcb01e2f85de4308
Author: alirezamoshtaghi <124719818+alirezamoshtaghi at users.noreply.github.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/tweaks/ExtractVariableTests.cpp
M clang/lib/AST/Expr.cpp
Log Message:
-----------
[clang] Skip implicit designators in DesignatedInitExpr::getBeginLoc (#83369)
Fixes https://github.com/llvm/llvm-project/issues/83185
Commit: 84b5178124e47f6019b56c04abcfb978a94b1c3c
https://github.com/llvm/llvm-project/commit/84b5178124e47f6019b56c04abcfb978a94b1c3c
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Correctly parse C++11 attributes in enum specifiers (#85498)
Fixes #85476.
Commit: a2bad75879c33c0e6a2834bb0abcd3e1599d377d
https://github.com/llvm/llvm-project/commit/a2bad75879c33c0e6a2834bb0abcd3e1599d377d
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/ManipulationFunctions.h
A libc/src/__support/FPUtil/x86_64/NextUpDownLongDouble.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/nextdownl.cpp
A libc/src/math/generic/nextupl.cpp
A libc/src/math/nextdownl.h
A libc/src/math/nextupl.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/nextdownl_test.cpp
A libc/test/src/math/smoke/nextupl_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][math][c23] Add nextupl and nextdownl functions (#85484)
Fixes #85283.
cc @lntue
Commit: d33d5630b281debe6eabd67e323bcf767340fb6a
https://github.com/llvm/llvm-project/commit/d33d5630b281debe6eabd67e323bcf767340fb6a
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix a bug in SpaceInEmptyBlock option (#85508)
Fixes #84695.
Commit: 8f878c501886e6dc8b0cf062320a803593972bed
https://github.com/llvm/llvm-project/commit/8f878c501886e6dc8b0cf062320a803593972bed
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/arm/headers.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/baremetal/riscv/headers.txt
Log Message:
-----------
[libc] Include time.h in baremetal targets (#85026)
These types and conversion functions are used in embedded development.
Note that we cannot yet include other entrypoints such as asctime
because `src/time/time_utils.h` unconditionally uses `EOVERFLOW`, which
is only defined in POSIX and not in C standard. This issue is tracked by
#85556.
Commit: 65058a8d732c3c41664a4dad1a1ae2a504d5c98e
https://github.com/llvm/llvm-project/commit/65058a8d732c3c41664a4dad1a1ae2a504d5c98e
Author: Takuya Shimizu <shimizu2486 at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/fexplog.ll
M llvm/test/CodeGen/AArch64/fp-intrinsics.ll
M llvm/test/CodeGen/AArch64/fpow.ll
M llvm/test/CodeGen/AArch64/fsincos.ll
M llvm/test/CodeGen/AArch64/llvm.exp10.ll
Log Message:
-----------
[AArch64][SelectionDAG] Expand v1f64-typed sin,cos,pow,log,exp intrinsics (#83745)
This patch makes NEON-enabled AArch64 backend expand the `sin, cos, pow,
log, log2, log10, exp, exp2, exp10` intrinsics for `v1f64` data type,
all of which caused selection failure before this patch.
Fixes https://github.com/llvm/llvm-project/issues/83729
Commit: b92d6dd704d789240685a336ad8b25a9f381b4cc
https://github.com/llvm/llvm-project/commit/b92d6dd704d789240685a336ad8b25a9f381b4cc
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M clang/lib/Format/AffectedRangeManager.cpp
M clang/lib/Format/BreakableToken.cpp
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/DefinitionBlockSeparator.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/MacroCallReconstructor.cpp
M clang/lib/Format/MacroExpander.cpp
M clang/lib/Format/NamespaceEndCommentsFixer.cpp
M clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/SortJavaScriptImports.cpp
M clang/lib/Format/TokenAnalyzer.cpp
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UsingDeclarationsSorter.cpp
M clang/lib/Format/WhitespaceManager.cpp
M clang/tools/clang-format/ClangFormat.cpp
Log Message:
-----------
[clang-format][NFC] Delete 100+ redundant #include lines in .cpp files
Commit: 6666b3fca848c2562ad2e7470827561894246a6e
https://github.com/llvm/llvm-project/commit/6666b3fca848c2562ad2e7470827561894246a6e
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libc/config/baremetal/api.td
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
Log Message:
-----------
[libc] Match baremetal stdlib.h entrypoints with types
To match the entrypoints and types we need to exclude __atexithandler_t
and __qsortrcompare_t, as well as qsort_r, which is a GNU extension.
This is a reland of llvm/llvm-project#85030.
Commit: f84980570d3f85bdf5c9432647c05bae04a735a0
https://github.com/llvm/llvm-project/commit/f84980570d3f85bdf5c9432647c05bae04a735a0
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M llvm/tools/llvm-shlib/CMakeLists.txt
Log Message:
-----------
[llvm-shlib] Fix libLLVM-18 symlink on mingw (#85554)
The TARGET_SONAME_FILE_NAME generator expression is not available on dll
target platforms.
Commit: 252d01952c087cf0d141f7f281cf60efeb98be41
https://github.com/llvm/llvm-project/commit/252d01952c087cf0d141f7f281cf60efeb98be41
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/intrinsic-select.ll
Log Message:
-----------
[InstCombine] Drop UB-implying attrs/metadata after speculating an instruction (#85542)
When speculating an instruction in `InstCombinerImpl::FoldOpIntoSelect`,
the call may result in undefined behavior. This patch drops all
UB-implying attrs/metadata to fix this.
Fixes #85536.
Commit: 5a75242bc898886b9833e328ad5f656246424a81
https://github.com/llvm/llvm-project/commit/5a75242bc898886b9833e328ad5f656246424a81
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-16 (Sat, 16 Mar 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
A libc/src/stdio/baremetal/CMakeLists.txt
A libc/src/stdio/baremetal/remove.cpp
Log Message:
-----------
[libc] Include empty remove in baremetal stdio.h (#85336)
This is required to avoid compilation error in libc++.
See #85335 for more details.
Commit: f3c5278efa3b783ada9e7a34b751cf4c5b864535
https://github.com/llvm/llvm-project/commit/f3c5278efa3b783ada9e7a34b751cf4c5b864535
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
Log Message:
-----------
[clang-format][NFC] Don't export IsCpp in Format.h
Commit: bfb868201f821047015465fb3f0afa6daa321b5f
https://github.com/llvm/llvm-project/commit/bfb868201f821047015465fb3f0afa6daa321b5f
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Fix predicates on FLAT scratch ST/SVS mode Pseudos (#85442)
Definitions like this did not work as intended:
let is_flat_scratch = 1 in {
let SubtargetPredicate = HasFlatScratchSVSMode in
def _SVS : FLAT_Scratch_Load_Pseudo<opName, regClass, HasTiedOutput, 1,
1>,
FlatScratchInst<opName, "SVS">;
let SubtargetPredicate = HasFlatScratchSTMode in
def _ST : FLAT_Scratch_Load_Pseudo<opName, regClass, HasTiedOutput, 0,
0, 0>,
FlatScratchInst<opName, "ST">;
}
They tried to override SubtargetPredicate, but then it was overridden
again (back to its default value) by setting is_flat_scratch, which
caused SubtargetPredicate to be recalculated in the base class. (This
patch also removes some overrides of SubtargetPredicate that are
redundant due to being recalculated in the base class.)
Fix this by pushing overrides of is_flat_scratch and is_flat_global "in"
as far as possible. This has the added benefit that there is no need to
override them around groups of Pseudo definitions like this:
let is_flat_global = 1 in {
defm GLOBAL_ATOMIC_CMPSWAP : FLAT_Global_Atomic_Pseudo
<"global_atomic_cmpswap",
VGPR_32, i32, v2i32, VReg_64>;
...
}
which are plainly Global instructions anyway.
Verified by inspecting the output of TableGen. It seems to be NFC in
practice.
Commit: 7b766a6f505577bbb7d2cd2c553b6207306c0df9
https://github.com/llvm/llvm-project/commit/7b766a6f505577bbb7d2cd2c553b6207306c0df9
Author: XinWang10 <108658776+XinWang10 at users.noreply.github.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
M llvm/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
M llvm/lib/Target/X86/X86FastISel.cpp
M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
M llvm/lib/Target/X86/X86InstrAsmAlias.td
M llvm/lib/Target/X86/X86InstrCMovSetCC.td
M llvm/lib/Target/X86/X86InstrFormats.td
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrInfo.h
M llvm/lib/Target/X86/X86InstrPredicates.td
M llvm/test/CodeGen/X86/apx/add.ll
A llvm/test/CodeGen/X86/apx/cfcmov.ll
M llvm/test/CodeGen/X86/apx/flags-copy-lowering.mir
M llvm/test/CodeGen/X86/apx/inc.ll
M llvm/test/CodeGen/X86/apx/shift-eflags.ll
M llvm/test/CodeGen/X86/apx/sub.ll
M llvm/test/CodeGen/X86/cmov.ll
M llvm/test/CodeGen/X86/cmp.ll
M llvm/test/CodeGen/X86/isel-select-cmov.ll
A llvm/test/MC/Disassembler/X86/apx/cfcmov.txt
A llvm/test/MC/Disassembler/X86/apx/cmov.txt
M llvm/test/MC/Disassembler/X86/apx/evex-format.txt
M llvm/test/MC/Disassembler/X86/apx/reverse-encoding.txt
A llvm/test/MC/X86/apx/cfcmov-att.s
A llvm/test/MC/X86/apx/cfcmov-intel.s
A llvm/test/MC/X86/apx/cmov-att.s
A llvm/test/MC/X86/apx/cmov-intel.s
M llvm/test/MC/X86/apx/evex-format-att.s
M llvm/test/MC/X86/apx/evex-format-intel.s
M llvm/test/TableGen/x86-fold-tables.inc
M llvm/utils/TableGen/X86ManualFoldTables.def
M llvm/utils/TableGen/X86RecognizableInstr.cpp
M llvm/utils/TableGen/X86RecognizableInstr.h
Log Message:
-----------
[X86] Support APX CMOV/CFCMOV instructions (#82592)
This patch support ND CMOV instructions and CFCMOV instructions.
RFC:
https://discourse.llvm.org/t/rfc-design-for-apx-feature-egpr-and-ndd-support/73031/4
Commit: daa350c1995015daac552548c34b87220f21156d
https://github.com/llvm/llvm-project/commit/daa350c1995015daac552548c34b87220f21156d
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
M mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
M mlir/tools/mlir-pdll/mlir-pdll.cpp
Log Message:
-----------
[mlir] Work around MSVC bug
MSVC fails to parse this construct, leading to
MlirTranslateMain.cpp(70): error C2065: 'inputSplitMarker': undeclared identifier
Just switching to brace init works around the issue
Commit: 0269790c9894aaf882b939a6802aa3501d610b3c
https://github.com/llvm/llvm-project/commit/0269790c9894aaf882b939a6802aa3501d610b3c
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Fix a missing comma from a2bad75879c33c0e6a2834bb0abcd3e1599d377d
Commit: 0e1e1fc8f0eae6ebdce40ef2154aa90e35e5bed7
https://github.com/llvm/llvm-project/commit/0e1e1fc8f0eae6ebdce40ef2154aa90e35e5bed7
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/Driver.cpp
A clang/test/Driver/modules-print-library-module-manifest-path.cpp
Log Message:
-----------
Reland Print library module manifest path again (#84881)
Following of https://github.com/llvm/llvm-project/pull/82160
The reason why the above PR fails is that the `--sysroot` has lower
priority than the libc++ built from the same source. On the one hand, it
matches the codes behavior. We will add the built libc++ project paths
in the ToolChain class. But we will only add the path related to sysroot
in Linux class, which is derived from the ToolChain classes. So the
paths of just built libc++ is in the front of the paths relative to
sysroot. On the other hand, the behavior should be good from the higher
level. Since the just built libc++ has the same version number with the
just built clang, so it makes sense that these 2 compilers just matches.
So for patch it self, I hacked it by using resource dir in the test
since the resource dir has the higher priority, which is not strongly
correct since we won't do that in practice.
@kaz7 would you like to test on your environment to avoid this get
reverted again?
On the libc++ side, it shows that it lacks a `modules.json` file for the
just built libc++ directory. If we don't have that, it will be
problematic to use std modules from the just built clang and libc++
pair. Then it is not good. And I feel it may be problematic for future
compiler/standard library developers. So I feel this is somewhat a
libc++ issue that need to be fixed.
Also if we don't like the hacked test in the current patch, we must wait
for libc++ to fix this to proceed. But I feel this is somewhat odd since
the test of clang shouldn't dependent on libc++.
CC: @mordante
---------
Co-authored-by: Mark de Wever <koraq at xs4all.nl>
Commit: 62361fe5dd035ab43a52e6aaa62960d320224fee
https://github.com/llvm/llvm-project/commit/62361fe5dd035ab43a52e6aaa62960d320224fee
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
Log Message:
-----------
[bazel] Port c51095f51b770f0663b65dd8a651601fca15701e
Commit: 56d45b09dcd6c880215481bcc3c6d6281a04d264
https://github.com/llvm/llvm-project/commit/56d45b09dcd6c880215481bcc3c6d6281a04d264
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/CMakeLists.txt
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
A lldb/source/Plugins/Language/CPlusPlus/LibCxxSliceArray.cpp
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/valarray/TestDataFormatterLibcxxValarray.py
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/valarray/main.cpp
Log Message:
-----------
[lldb][libc++] Adds slice_array data formatters. (#85544)
Co-authored-by: Michael Buch <michaelbuch12 at gmail.com>
Commit: c5818c3abcafbd4c473a584e98df2ede1437347b
https://github.com/llvm/llvm-project/commit/c5818c3abcafbd4c473a584e98df2ede1437347b
Author: yronglin <yronglin777 at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M libcxx/docs/Status/Cxx23Issues.csv
Log Message:
-----------
[libc++][NFC] Update LWG3477(Simplify constraints for `semiregular-box`) status (#85399)
Since we implemented `copyable-box` in
(https://reviews.llvm.org/D102135,
https://github.com/llvm/llvm-project/commit/6829db727e9e67dfdb70dd0846ffd4e48e00a98d),
this issue got addressed.
---------
Signed-off-by: yronglin <yronglin777 at gmail.com>
Commit: 0211389064a1d493e826512a54ae547cb9859223
https://github.com/llvm/llvm-project/commit/0211389064a1d493e826512a54ae547cb9859223
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/SemaCXX/datasizeof.cpp
Log Message:
-----------
[clang][Interp] Handle __datasizeof.
Commit: 2c6fb7ce99dfad615ccf64464c79e65b26c1bc93
https://github.com/llvm/llvm-project/commit/2c6fb7ce99dfad615ccf64464c79e65b26c1bc93
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
Log Message:
-----------
[bazel] Add a missing dependency for f2794ccede6d32a6b5ef7a376ced420331e2be27
Commit: d39ac3a8e010582c25e5d7e193ad3153402b1c4f
https://github.com/llvm/llvm-project/commit/d39ac3a8e010582c25e5d7e193ad3153402b1c4f
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
M mlir/test/Dialect/Math/expand-math.mlir
M mlir/test/mlir-cpu-runner/test-expand-math-approx.mlir
Log Message:
-----------
[mlir][math] Reland 58ef9bec071383744fb703ff08df9806f25e4095 (#85436)
The previous implementation decomposes tanh(x) into
`(exp(2x) - 1)/(exp(2x)+1), x < 0`
`(1 - exp(-2x))/(1 + exp(-2x)), x >= 0`
This is fine as it avoids overflow with the exponential, but the whole
decomposition is computed for both cases unconditionally, then the
result is chosen based off the sign of the input. This results in doing
two expensive exp computations.
The proposed change avoids doing the whole computation twice by
exploiting the reflection symmetry `tanh(-x) = -tanh(x)`. We can
"normalize" the input to be positive by setting `y = sign(x) * x`, where
the sign of `x` is computed as `sign(x) = (float)(x > 0) * (-2) + 1`.
Then compute `z = tanh(y) `with the decomposition above for `x >=0` and
"denormalize" the result `z * sign(x)` to retain the sign. The reason it
is done this way is that it is very amenable to vectorization.
This method trades the duplicate decomposition computations (which takes
5 instructions including an extra expensive exp and div) for 4 cheap
instructions to compute the signs value
`arith.cmpf `(which is a pre-existing instruction in the previous impl)
`arith.sitofp`
`arith.mulf`
`arith.addf`
and 1 more instruction to get the right sign in the result
5. `arith.mulf`.
Moreover, numerically, this implementation will yield the exact same
results as the previous implementation.
As part of the relanding, a casting issue from the original commit has
been fixed, i.e. casting bool to float with `uitofp`. Additionally a
correctness test with `mlir-cpu-runner` has been added.
Commit: 192be3c9c13363847d176f2c4bba2bd4be5e822f
https://github.com/llvm/llvm-project/commit/192be3c9c13363847d176f2c4bba2bd4be5e822f
Author: sethp <seth at codecopse.net>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprConstant.cpp
M clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp
Log Message:
-----------
fix: constexpr bit_cast with empty base classes (#82383)
Prior to this commit, clang would fail to produce a constant value for
`b` in:
```c++
struct base {
};
struct s : base {
int z;
};
constexpr auto b = std::bit_cast<s>(0x12);
```
e.g. https://godbolt.org/z/srrbTMPq4
Commit: a4b39f651536c5cd8835a93cdea61039db004252
https://github.com/llvm/llvm-project/commit/a4b39f651536c5cd8835a93cdea61039db004252
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Lazily visit const-qualified static data members in C++
Commit: dff3e28df9b92e4d3102a0f8012352cebfc9461d
https://github.com/llvm/llvm-project/commit/dff3e28df9b92e4d3102a0f8012352cebfc9461d
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/Disasm.cpp
Log Message:
-----------
[clang][Interp][NFC] Print qualified name of Descriptor sources
Commit: ca876711aee31e5ec7f4f6f0210de664c8ec7ce4
https://github.com/llvm/llvm-project/commit/ca876711aee31e5ec7f4f6f0210de664c8ec7ce4
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
Log Message:
-----------
[clang][Interp][NFC] Make local pointer const
Commit: 5143a1241362616840af826d18c067025dae1111
https://github.com/llvm/llvm-project/commit/5143a1241362616840af826d18c067025dae1111
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/test/AST/Interp/builtins.cpp
M clang/test/SemaCXX/warn-constant-evaluated-constexpr.cpp
Log Message:
-----------
[clang][Interp] Add __builtin_is_constant_evaluated warnings
Add the same warnings the current interpreter emits.
Commit: 601e102bdb55e12a2f791e0d68fd6f81ffc21e21
https://github.com/llvm/llvm-project/commit/601e102bdb55e12a2f791e0d68fd6f81ffc21e21
Author: David Green <david.green at arm.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/include/llvm/Analysis/MemoryLocation.h
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/include/llvm/CodeGen/MachineMemOperand.h
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/DFAPacketizer.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
M llvm/lib/CodeGen/MIRVRegNamerUtils.cpp
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/MachineInstr.cpp
M llvm/lib/CodeGen/MachineOperand.cpp
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/CodeGen/MachineStableHash.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/ModuloSchedule.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/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/TargetInstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/ARM/ARMHazardRecognizer.cpp
M llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp
M llvm/lib/Target/Hexagon/HexagonStoreWidening.cpp
M llvm/lib/Target/Mips/MipsInstructionSelector.cpp
M llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
M llvm/lib/Target/Mips/MipsPreLegalizerCombiner.cpp
M llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
M llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
M llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
M llvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
Log Message:
-----------
[CodeGen] Use LocationSize for MMO getSize (#84751)
This is part of #70452 that changes the type used for the external
interface of MMO to LocationSize as opposed to uint64_t. This means the
constructors take LocationSize, and convert ~UINT64_C(0) to
LocationSize::beforeOrAfter(). The getSize methods return a
LocationSize.
This allows us to be more precise with unknown sizes, not accidentally
treating them as unsigned values, and in the future should allow us to
add proper scalable vector support but none of that is included in this
patch. It should mostly be an NFC.
Global ISel is still expected to use the underlying LLT as it needs, and
are not expected to see unknown sizes for generic operations. Most of
the changes are hopefully fairly mechanical, adding a lot of getValue()
calls and protecting them with hasValue() where needed.
Commit: 07b18c5e1b7a8ac9347f945da5ffaecc4515f391
https://github.com/llvm/llvm-project/commit/07b18c5e1b7a8ac9347f945da5ffaecc4515f391
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M libcxx/benchmarks/CMakeLists.txt
A libcxx/benchmarks/algorithms/fill.bench.cpp
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/include/__algorithm/fill_n.h
M libcxx/include/__bit_reference
M libcxx/test/libcxx/containers/sequences/vector/robust_against_adl.pass.cpp
M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.count/count.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.count/ranges.count.pass.cpp
Log Message:
-----------
[libc++] Optimize ranges::fill{,_n} for vector<bool>::iterator (#84642)
```
------------------------------------------------------
Benchmark old new
------------------------------------------------------
bm_ranges_fill_n/1 1.64 ns 3.06 ns
bm_ranges_fill_n/2 3.45 ns 3.06 ns
bm_ranges_fill_n/3 4.88 ns 3.06 ns
bm_ranges_fill_n/4 6.46 ns 3.06 ns
bm_ranges_fill_n/5 8.03 ns 3.06 ns
bm_ranges_fill_n/6 9.65 ns 3.07 ns
bm_ranges_fill_n/7 11.5 ns 3.06 ns
bm_ranges_fill_n/8 13.0 ns 3.06 ns
bm_ranges_fill_n/16 25.9 ns 3.06 ns
bm_ranges_fill_n/64 103 ns 4.62 ns
bm_ranges_fill_n/512 711 ns 4.40 ns
bm_ranges_fill_n/4096 5642 ns 9.86 ns
bm_ranges_fill_n/32768 45135 ns 33.6 ns
bm_ranges_fill_n/262144 360818 ns 243 ns
bm_ranges_fill_n/1048576 1442828 ns 982 ns
bm_ranges_fill/1 1.63 ns 3.17 ns
bm_ranges_fill/2 3.43 ns 3.28 ns
bm_ranges_fill/3 4.97 ns 3.31 ns
bm_ranges_fill/4 6.53 ns 3.27 ns
bm_ranges_fill/5 8.12 ns 3.33 ns
bm_ranges_fill/6 9.76 ns 3.32 ns
bm_ranges_fill/7 11.6 ns 3.29 ns
bm_ranges_fill/8 13.2 ns 3.26 ns
bm_ranges_fill/16 26.3 ns 3.26 ns
bm_ranges_fill/64 104 ns 4.92 ns
bm_ranges_fill/512 716 ns 4.47 ns
bm_ranges_fill/4096 5772 ns 8.21 ns
bm_ranges_fill/32768 45778 ns 33.1 ns
bm_ranges_fill/262144 351422 ns 241 ns
bm_ranges_fill/1048576 1404710 ns 965 ns
```
Commit: 8e5de66af3da8c2fc79b8fe2cbc26f94b677434d
https://github.com/llvm/llvm-project/commit/8e5de66af3da8c2fc79b8fe2cbc26f94b677434d
Author: scythris <118685935+scythris at users.noreply.github.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Fix clang-format issue with 'new' and 'delete' keywords in C files (#85470)
This resolves an issue in clang-format where `new` and `delete` were
incorrectly formatted as keywords in C files. The fix modifies
`TokenAnnotator::spaceRequiredBetween` to handle `new` and `delete` when
used as identifiers for function pointers in structs in C code.
Commit: 31775e1894959a92425106de2442159b33e478a6
https://github.com/llvm/llvm-project/commit/31775e1894959a92425106de2442159b33e478a6
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
A llvm/test/Transforms/InstCombine/icmp-select-implies-common-op.ll
Log Message:
-----------
[ValueTracking] Add tests for implied cond with swapped operands; NFC
Commit: 01d8e1ca01223bdeda74096be2a1d869b2d52ea2
https://github.com/llvm/llvm-project/commit/01d8e1ca01223bdeda74096be2a1d869b2d52ea2
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstCombine/assume.ll
M llvm/test/Transforms/InstCombine/icmp-select-implies-common-op.ll
M llvm/test/Transforms/InstCombine/select.ll
M llvm/test/Transforms/InstCombine/shift.ll
Log Message:
-----------
[ValueTracking] Handle non-canonical operand order in `isImpliedCondICmps`
We don't always have canonical order here, so do it manually.
Closes #85575
Commit: 4dc037019f3876c3cf3c63b2c89839a588dd3b2f
https://github.com/llvm/llvm-project/commit/4dc037019f3876c3cf3c63b2c89839a588dd3b2f
Author: Xiang Li <python3kgae at outlook.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/include/llvm/BinaryFormat/DXContainer.h
M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
M llvm/include/llvm/ObjectYAML/DXContainerYAML.h
M llvm/lib/ObjectYAML/DXContainerYAML.cpp
M llvm/lib/Target/DirectX/DXContainerGlobals.cpp
M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
M llvm/lib/Target/DirectX/DXILShaderFlags.h
M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
M llvm/test/CodeGen/DirectX/ShaderFlags/double-extensions.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/doubles.ll
M llvm/test/CodeGen/DirectX/lib_entry.ll
Log Message:
-----------
[DirectX] Add DXIL_MODULE_FLAG for ShaderFlags. (#83217)
Add DXIL module flag bit offset for SHADER_FEATURE_FLAG.
Added DXIL_MODULE_FLAG for DXIL module flag which does not have feature flag.
Use DXILModuleFlags for ComputedShaderFlags instead of
ShaderFeatureFlags.
ComputedShaderFlags::getFeatureFlags() was added to get FeatureFlags.
Rename DXContainerGlobals::getShaderFlags to DXContainerGlobals::getFeatureFlags.
Fixes #57925
Commit: 5a4bbaf8c07d3d4b5ccf654d496faace264ff795
https://github.com/llvm/llvm-project/commit/5a4bbaf8c07d3d4b5ccf654d496faace264ff795
Author: Petr Hosek <phosek at google.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M libc/src/stdio/baremetal/CMakeLists.txt
M libc/src/stdio/linux/CMakeLists.txt
Log Message:
-----------
[libc] remove.cpp dependency on libc.include.stdio
This addresses a build error introduced by
5a75242bc898886b9833e328ad5f656246424a81.
Commit: 75473cf07e1b62325412843d58212ad896cba677
https://github.com/llvm/llvm-project/commit/75473cf07e1b62325412843d58212ad896cba677
Author: Nico Weber <thakis at chromium.org>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
M llvm/utils/gn/secondary/clang/tools/clang-installapi/BUILD.gn
Log Message:
-----------
[gn] port c51095f51b77 (InstallAPI diag tablegen)
Commit: f98b556e0f4ecd2ec1dcb636d74d494f2284b630
https://github.com/llvm/llvm-project/commit/f98b556e0f4ecd2ec1dcb636d74d494f2284b630
Author: Nico Weber <thakis at chromium.org>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/InstallAPI/BUILD.gn
Log Message:
-----------
[gn] port f2794ccede6d
Commit: c0d03d28c58f3016eb25ce8d1160e11183d01735
https://github.com/llvm/llvm-project/commit/c0d03d28c58f3016eb25ce8d1160e11183d01735
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Plugins/Language/CPlusPlus/BUILD.gn
Log Message:
-----------
[gn build] Port 56d45b09dcd6
Commit: 6cc8d54a75939b18b72cc631d457613de3bef3a4
https://github.com/llvm/llvm-project/commit/6cc8d54a75939b18b72cc631d457613de3bef3a4
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/__functional/function.h
Log Message:
-----------
[libc++] Add missing hide-from-ABI annotations on virtual functions (#85439)
Commit: 843a978b6f387e807a44c8861e5c3728a380098b
https://github.com/llvm/llvm-project/commit/843a978b6f387e807a44c8861e5c3728a380098b
Author: Dhruv Chawla <dhruvc at nvidia.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/fcmp.ll
M llvm/test/CodeGen/AArch64/sext.ll
M llvm/test/CodeGen/AArch64/vecreduce-add.ll
M llvm/test/CodeGen/AArch64/zext.ll
Log Message:
-----------
[GlobalISel] Add support to moreElementsVector for G_SEXT, G_ZEXT and G_ANYEXT (#85038)
Commit: 208a9850e6a4b64ad6311361735d27a9c6cbd8ec
https://github.com/llvm/llvm-project/commit/208a9850e6a4b64ad6311361735d27a9c6cbd8ec
Author: Dhruv Chawla <dhruvc at nvidia.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store.mir
M llvm/test/CodeGen/AArch64/vecreduce-add.ll
Log Message:
-----------
[AArch64][GlobalISel] Avoid splitting loads of large vector types into individual element loads (#85042)
This patch fixes an issue with the legalization of G_LOAD where the
presence of .lowerIfMemSizeNotByteSizePow2 before .clampMaxNumElements
was causing issues for vectors which matched that condition.
Such vectors would be lowered into per-element loads instead of being
split up into 128-bit chunks.
Commit: 55a02d10d9819b485f67546c6c1aee856a3cd62c
https://github.com/llvm/llvm-project/commit/55a02d10d9819b485f67546c6c1aee856a3cd62c
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-03-17 (Sun, 17 Mar 2024)
Changed paths:
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format][NFC] Minor changes to a unit test in 8e5de66af3da
See https://github.com/llvm/llvm-project/pull/85470#discussion_r1527297517
Commit: ec34699f750efc5292db503c6700ddeede59ff03
https://github.com/llvm/llvm-project/commit/ec34699f750efc5292db503c6700ddeede59ff03
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
M llvm/lib/CodeGen/MIRParser/MIParser.cpp
M llvm/lib/IR/ConvergenceVerifier.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
M llvm/test/CodeGen/AMDGPU/convergence-tokens.ll
R llvm/test/CodeGen/MIR/AArch64/parse-low-level-type-invalid4.mir
M llvm/test/CodeGen/MIR/AArch64/parse-low-level-type-invalid6.mir
Log Message:
-----------
[GlobalISel] convergence control tokens and intrinsics (#67006)
[GlobalISel] Implement convergence control tokens and intrinsics in GMIR
In the IR translator, convert the LLVM token type to LLT::token(), which is an
alias for the s0 type. These show up as implicit uses on convergent operations.
Differential Revision: https://reviews.llvm.org/D158147
Commit: c8da99959df412fdbf9c3d0d4c0c3e0689609c31
https://github.com/llvm/llvm-project/commit/c8da99959df412fdbf9c3d0d4c0c3e0689609c31
Author: Carlos Alberto Enciso <47597242+CarlosAlbertoEnciso at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
M llvm/tools/llvm-debuginfo-analyzer/README.txt
Log Message:
-----------
[llvm-debuginfo-analyzer][DOC] Change .wasm references to .o (#85566)
As part of the WebAssembly support work
https://github.com/llvm/llvm-project/pull/82588
As the object files used in the test cases are a single object (just
produced by clang without being processed by wasm-ld), it was determined
to use .o intead of .wasm.
Update the README.txt to reflect that the tool now supports WebAssembly.
Commit: c1ccf0781bf96f8609066bbed1389751926818c1
https://github.com/llvm/llvm-project/commit/c1ccf0781bf96f8609066bbed1389751926818c1
Author: Carlos Alberto Enciso <47597242+CarlosAlbertoEnciso at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
A llvm/include/llvm/DebugInfo/LogicalView/Readers/LVDWARFReader.h
R llvm/include/llvm/DebugInfo/LogicalView/Readers/LVELFReader.h
M llvm/lib/DebugInfo/LogicalView/CMakeLists.txt
M llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp
A llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
R llvm/lib/DebugInfo/LogicalView/Readers/LVELFReader.cpp
M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/dw-at-specification.test
M llvm/test/tools/llvm-debuginfo-analyzer/DWARF/pr-57040-ignored-DW_FORM_implicit_const.test
M llvm/tools/llvm-debuginfo-analyzer/README.txt
M llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
A llvm/unittests/DebugInfo/LogicalView/DWARFReaderTest.cpp
R llvm/unittests/DebugInfo/LogicalView/ELFReaderTest.cpp
M llvm/utils/gn/secondary/llvm/lib/DebugInfo/LogicalView/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/DebugInfo/LogicalView/BUILD.gn
Log Message:
-----------
[llvm-debuginfo-analyzer][NFC] Rename LVElfReader.cpp[h] (#85530)
As part of the WebAssembly support work review
https://github.com/llvm/llvm-project/pull/82588
It was decided to rename:
Files: LVElfReader.cpp[h] -> LVDWARFReader.cpp[h]
ELFReaderTest.cpp -> DWARFReaderTest.cpp
Class: LVELFReader -> LVDWARFReader
The name LVDWARFReader would match the another reader LVCodeViewReader
as they will reflect the type of
debug information format that they are parsing.
Commit: 65ae09eeb6773b14189fc67051870c8fc4eb9ae3
https://github.com/llvm/llvm-project/commit/65ae09eeb6773b14189fc67051870c8fc4eb9ae3
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-error.c
M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-rotate.c
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/test/CodeGen/PowerPC/rldimi.ll
M llvm/test/CodeGen/PowerPC/rlwimi.ll
M llvm/test/CodeGen/PowerPC/rlwinm.ll
Log Message:
-----------
[PowerPC] Fix behavior of rldimi/rlwimi/rlwnm builtins (#85040)
rldimi is 64-bit instruction, so the corresponding builtin should not
be available in 32-bit mode. Rotate amount should be in range and
cases when mask is zero needs special handling.
This change also swaps the first and second operands of rldimi/rlwimi
to match previous behavior. For masks not ending at bit 63-SH,
rotation will be inserted before rldimi.
Commit: 580f60484e193b4f7f853ea34cc35f4a3240dfa7
https://github.com/llvm/llvm-project/commit/580f60484e193b4f7f853ea34cc35f4a3240dfa7
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/copy_backward.h
M libcxx/include/__algorithm/copy_move_common.h
M libcxx/include/__algorithm/equal_range.h
M libcxx/include/__algorithm/lexicographical_compare_three_way.h
M libcxx/include/__algorithm/move.h
M libcxx/include/__algorithm/move_backward.h
M libcxx/include/__algorithm/partial_sort.h
M libcxx/include/__algorithm/pop_heap.h
M libcxx/include/__algorithm/push_heap.h
M libcxx/include/__algorithm/rotate.h
M libcxx/include/__algorithm/sort_heap.h
M libcxx/include/__algorithm/stable_sort.h
M libcxx/include/__algorithm/unwrap_iter.h
M libcxx/include/__algorithm/upper_bound.h
M libcxx/include/__atomic/atomic_base.h
M libcxx/include/__concepts/swappable.h
M libcxx/include/__exception/nested_exception.h
M libcxx/include/__expected/expected.h
M libcxx/include/__functional/bind_front.h
M libcxx/include/__functional/function.h
M libcxx/include/__functional/hash.h
M libcxx/include/__functional/not_fn.h
M libcxx/include/__hash_table
M libcxx/include/__iterator/cpp17_iterator_concepts.h
M libcxx/include/__iterator/reverse_iterator.h
M libcxx/include/__mdspan/mdspan.h
M libcxx/include/__memory/allocator_traits.h
M libcxx/include/__memory/compressed_pair.h
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/__memory/uninitialized_algorithms.h
M libcxx/include/__memory/unique_ptr.h
M libcxx/include/__mutex/mutex.h
M libcxx/include/__ranges/iota_view.h
M libcxx/include/__ranges/movable_box.h
M libcxx/include/__ranges/zip_view.h
M libcxx/include/__split_buffer
M libcxx/include/__tree
M libcxx/include/__type_traits/is_assignable.h
M libcxx/include/__type_traits/is_constructible.h
R libcxx/include/__type_traits/is_copy_assignable.h
R libcxx/include/__type_traits/is_copy_constructible.h
R libcxx/include/__type_traits/is_default_constructible.h
M libcxx/include/__type_traits/is_implicitly_default_constructible.h
R libcxx/include/__type_traits/is_move_assignable.h
R libcxx/include/__type_traits/is_move_constructible.h
M libcxx/include/__type_traits/is_nothrow_assignable.h
M libcxx/include/__type_traits/is_nothrow_constructible.h
R libcxx/include/__type_traits/is_nothrow_copy_assignable.h
R libcxx/include/__type_traits/is_nothrow_copy_constructible.h
R libcxx/include/__type_traits/is_nothrow_default_constructible.h
R libcxx/include/__type_traits/is_nothrow_move_assignable.h
R libcxx/include/__type_traits/is_nothrow_move_constructible.h
M libcxx/include/__type_traits/is_swappable.h
M libcxx/include/__type_traits/is_trivially_assignable.h
M libcxx/include/__type_traits/is_trivially_constructible.h
R libcxx/include/__type_traits/is_trivially_copy_assignable.h
R libcxx/include/__type_traits/is_trivially_copy_constructible.h
R libcxx/include/__type_traits/is_trivially_default_constructible.h
R libcxx/include/__type_traits/is_trivially_move_assignable.h
R libcxx/include/__type_traits/is_trivially_move_constructible.h
M libcxx/include/__type_traits/noexcept_move_assign_container.h
M libcxx/include/__utility/exception_guard.h
M libcxx/include/__utility/exchange.h
M libcxx/include/__utility/move.h
M libcxx/include/__utility/pair.h
M libcxx/include/__utility/small_buffer.h
M libcxx/include/__utility/swap.h
M libcxx/include/any
M libcxx/include/array
M libcxx/include/forward_list
M libcxx/include/libcxx.imp
M libcxx/include/list
M libcxx/include/module.modulemap
M libcxx/include/optional
M libcxx/include/string
M libcxx/include/tuple
M libcxx/include/type_traits
M libcxx/include/variant
M libcxx/include/vector
Log Message:
-----------
[libc++][NFC] Merge is{,_nothrow,_trivially}{,_copy,_move,_default}{_assignable,_constructible} (#85308)
These headers have become very small by using compiler builtins, often
containing only two declarations. This merges these headers, since
there doesn't seem to be much of a benefit keeping them separate.
Specifically, `is_{,_nothrow,_trivially}{assignable,constructible}` are
kept and the `copy`, `move` and `default` versions of these type traits
are moved in to the respective headers.
Commit: a2fe4105812531f944f174f2ecfe0c67b8cffaed
https://github.com/llvm/llvm-project/commit/a2fe4105812531f944f174f2ecfe0c67b8cffaed
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/__algorithm/equal.h
Log Message:
-----------
[libc++][NFC] Simplify the implementation of equal a bit (#84754)
We can simplify the implementation of the two range overload of `equal`
a bit since we can now use `if constexpr`.
Commit: 3e2992f0706db7089b42c54c4eb40c65afc98ec6
https://github.com/llvm/llvm-project/commit/3e2992f0706db7089b42c54c4eb40c65afc98ec6
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/include/mlir/Transforms/Mem2Reg.h
M mlir/lib/Transforms/Mem2Reg.cpp
M mlir/test/Dialect/LLVMIR/mem2reg-intrinsics.mlir
Log Message:
-----------
[MLIR][Mem2Reg] Replace pattern based approach with a bulk one (#85426)
This commit changes MLIR's Mem2Reg implementation back from being
pattern based into a full pass. Using Mem2Reg as a pattern is
wasteful, as each application can invalidate the dominance info.
Applying changes in bulk allows for reuse of the same dominance info.
Unfortunately, this requires some test changes, due to the `IRBuilder`
not simplifying IR.
Commit: 63897a595a75e9dfc3313610432171f44287db11
https://github.com/llvm/llvm-project/commit/63897a595a75e9dfc3313610432171f44287db11
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/include/mlir/Transforms/SROA.h
M mlir/lib/Transforms/SROA.cpp
M mlir/test/Dialect/LLVMIR/sroa-intrinsics.mlir
Log Message:
-----------
[MLIR][SROA] Replace pattern based approach with a one-shot one (#85437)
This commit changes MLIR's SROA implementation back from being pattern
based into a full pass. This is beneficial for upcoming changes that
rely more heavily on the datalayout.
Unfortunately, this change required substantial test changes, as the
IRBuilder no cleans up the IR.
Commit: b1e10d761817c548a96df711ec88bd89c7e4a9f9
https://github.com/llvm/llvm-project/commit/b1e10d761817c548a96df711ec88bd89c7e4a9f9
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 580f60484e19
Commit: 99a8ffe6b1e78d16f5dc528048a7c34a236b62bb
https://github.com/llvm/llvm-project/commit/99a8ffe6b1e78d16f5dc528048a7c34a236b62bb
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/__type_traits/is_scoped_enum.h
Log Message:
-----------
[libc++] Use __is_scoped_enum for the implementation of is_scoped_enum if it's available (#85580)
Commit: 9b98692eedb78aa106539c36ba02944f32cae1ff
https://github.com/llvm/llvm-project/commit/9b98692eedb78aa106539c36ba02944f32cae1ff
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
A llvm/test/CodeGen/AMDGPU/lto-lower-module-lds.ll
Log Message:
-----------
[AMDGPU] Run LowerLDS at the end of the fullLTO pipeline (#75333)
This change allows us to use `--lto-partitions` in some cases (not at
all guaranteed it works perfectly), as LDS is lowered before the module
is split for parallel codegen.
We must run LowerLDS before splitting modules as it needs to see all
callers of functions with LDS to properly lower them.
Commit: 5d45757ec1f507a52b9ee10e5cab6965feca064d
https://github.com/llvm/llvm-project/commit/5d45757ec1f507a52b9ee10e5cab6965feca064d
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Partial fix for 513cdb82223a106f183b49a40d9acb1f7efbbe7e. (#85604)
Adds a separate target for bufferization interfaces.
`//mlir:ArithDialect` would need to depend on
`//mlir:ValueBoundsOpInterface` as well, but that's creating a circular
dependency.
Commit: c07c1c47d31c437f3ac7b82ed65eb88bb57ba5e6
https://github.com/llvm/llvm-project/commit/c07c1c47d31c437f3ac7b82ed65eb88bb57ba5e6
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Log Message:
-----------
[VPlan] Remove redundant cast (NFCI).
SinkCandidate is a VPSingleDefRecipe now, so no cast is needed to access
getUnderlyingInstr directly.
Commit: 5cc228148e800b75adfc778f8b5fbace04478dd3
https://github.com/llvm/llvm-project/commit/5cc228148e800b75adfc778f8b5fbace04478dd3
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Target/Cpp/common-cpp.mlir
M mlir/test/Target/Cpp/const.mlir
M mlir/test/Target/Cpp/for.mlir
M mlir/test/Target/Cpp/stdops.mlir
Log Message:
-----------
TranslateToCpp: Emit floating point literals with suffix (#85392)
Emits `2.0e+00f` instead of `(float)2.0e+00`.
This helps consumers of the emitted code, especially when there are
large numbers of floating point literals, to have a simple AST.
Commit: 3128c202f193c39a23a192446899cb5832d8df5e
https://github.com/llvm/llvm-project/commit/3128c202f193c39a23a192446899cb5832d8df5e
Author: Alfie Richards <156316945+AlfieRichardsArm at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
[TableGen] Bug fix for tied optional operands resolution (#83588)
This fixes tied operand resolution in cases where there are optional operands before the tied operand.
Commit: 6854f6f1b102d1c767388e0ed3a58f0eeed69b62
https://github.com/llvm/llvm-project/commit/6854f6f1b102d1c767388e0ed3a58f0eeed69b62
Author: Alfie Richards <156316945+AlfieRichardsArm at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/Target/Target.td
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
[TableGen] Add `PreferSmallerInstructions` for Targets. (#83587)
This option means that in assembly matching instructions with smaller
encodings will be preferred.
This will be used for the ARM instruction set where this is the correct
behavior after some other refactoring.
Commit: 68342ed1ac90a2a9a18762add1db69df194820bb
https://github.com/llvm/llvm-project/commit/68342ed1ac90a2a9a18762add1db69df194820bb
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Fix for 513cdb82223a106f183b49a40d9acb1f7efbbe7e. (#85617)
Follow-up from https://github.com/llvm/llvm-project/pull/85604, this
change also fixes the ArithDialect target.
Commit: 7fad304a0310836c88aefd2a01f825e70bb14aed
https://github.com/llvm/llvm-project/commit/7fad304a0310836c88aefd2a01f825e70bb14aed
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/test/CodeGen/AArch64/sme-call-streaming-compatible-to-normal-fn-wihout-sme-attr.ll
Log Message:
-----------
[AArch64][SME] Make coalescer barrier available without +sme. (#85311)
For each call that changes the streaming-mode ISel inserts a
COALESCER_BARRIER node for the FP and (non-scalable) vector arguments to
the callee.
When calling a non-streaming function from a streaming-compatible
function, it's not required to have +sme (in case the SME code-path is
not actually executed at runtime). The patterns to match the
COALESCER_BARRIER however were still predicated with `HasSME`, which is
incorrect. This patch tries to fix that.
Commit: 87cee71b3738547465481740fcbde7d73283678f
https://github.com/llvm/llvm-project/commit/87cee71b3738547465481740fcbde7d73283678f
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
A flang/test/Lower/OpenMP/delayed-privatization-allocatable-firstprivate.f90
A flang/test/Lower/OpenMP/delayed-privatization-allocatable-private.f90
A flang/test/Lower/OpenMP/delayed-privatization-pointer.f90
Log Message:
-----------
[flang][MLIR][OpenMP] Extend delayed privatization for scalar allocatables and pointers (#84740)
One more step in extending support for delayed privatization. This diff
adds support for scalar allocatables and pointers.
Commit: 0d313ee3938758b3f2026fdb28497567d1023d9d
https://github.com/llvm/llvm-project/commit/0d313ee3938758b3f2026fdb28497567d1023d9d
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port dbbdee2ea2156170062813fb3d7f2c023d65e02d
Commit: 3ab1481f9aea30fd994d887c9e0801db6a219a31
https://github.com/llvm/llvm-project/commit/3ab1481f9aea30fd994d887c9e0801db6a219a31
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
Log Message:
-----------
[RemoveDIs] Use getFirstNonPHIIt to fix crash #85472 (#85618)
Commit: 40d29537fcea7db91f39c0d7bc7feeb499b8e627
https://github.com/llvm/llvm-project/commit/40d29537fcea7db91f39c0d7bc7feeb499b8e627
Author: Christian Sigg <csigg at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][bazel] Fix BUILD after dbbdee2ea2156170062813fb3d7f2c023d65e02d.
Commit: 6f60ad7e9a3508f19d54c827cf11f7930a0685ee
https://github.com/llvm/llvm-project/commit/6f60ad7e9a3508f19d54c827cf11f7930a0685ee
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/test/CodeGenObjC/debug-info-blocks.m
Log Message:
-----------
[RemoveDIs] Update Clang front end to handle DbgRecords (#84756)
This patch fixes problems that pop up when clang emits DbgRecords
instead of debug intrinsics.
Note: this doesn't mean clang is emitting DbgRecords yet, because the
modules it creates are still always in the old debug mode. That will
come in a future patch.
Depends on #84739
Commit: b097b3dc2ba2517621a5e3da3237a77ed0e7586f
https://github.com/llvm/llvm-project/commit/b097b3dc2ba2517621a5e3da3237a77ed0e7586f
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
Log Message:
-----------
Fix formatting in #84756
Commit: 3e4170a587adb789b77ede799d09139b50ebe5bc
https://github.com/llvm/llvm-project/commit/3e4170a587adb789b77ede799d09139b50ebe5bc
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
Log Message:
-----------
Revert "Fix formatting in #84756"
This reverts commit b097b3dc2ba2517621a5e3da3237a77ed0e7586f.
Buildbots: https://lab.llvm.org/buildbot/#/builders/196/builds/47206
Commit: 92122b0b4b514ea6c081e428f47ef1bf9d4f0f17
https://github.com/llvm/llvm-project/commit/92122b0b4b514ea6c081e428f47ef1bf9d4f0f17
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/test/CodeGenObjC/debug-info-blocks.m
Log Message:
-----------
Revert "[RemoveDIs] Update Clang front end to handle DbgRecords (#84756)"
This reverts commit 6f60ad7e9a3508f19d54c827cf11f7930a0685ee.
Buildbots: https://lab.llvm.org/buildbot/#/builders/196/builds/47206
Commit: 3493438605079c001b554327c02a4432204aab69
https://github.com/llvm/llvm-project/commit/3493438605079c001b554327c02a4432204aab69
Author: pvanhout <pierre.vanhoutryve at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
R llvm/test/CodeGen/AMDGPU/lto-lower-module-lds.ll
Log Message:
-----------
Revert "[AMDGPU] Run LowerLDS at the end of the fullLTO pipeline (#75333)"
This reverts commit 9b98692eedb78aa106539c36ba02944f32cae1ff.
Commit: f362e12aab9ce07b836a2622fc987cda8b6ab6f8
https://github.com/llvm/llvm-project/commit/f362e12aab9ce07b836a2622fc987cda8b6ab6f8
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/Format/FormatInternal.h
Log Message:
-----------
[clang-format] Make header self-contained
These includes were removed in 426e6945897afbec01c042bec4771522a2aac176
Commit: 38a44bdc93db5b00310230f6542df39017b9a41b
https://github.com/llvm/llvm-project/commit/38a44bdc93db5b00310230f6542df39017b9a41b
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/test/CodeGen/AArch64/isinf.ll
M llvm/test/CodeGen/AMDGPU/fp-classify.ll
M llvm/test/CodeGen/AMDGPU/fract-match.ll
M llvm/test/CodeGen/PowerPC/fp-classify.ll
A llvm/test/Transforms/CodeGenPrepare/AArch64/fpclass-test.ll
A llvm/test/Transforms/CodeGenPrepare/RISCV/fpclass-test.ll
A llvm/test/Transforms/CodeGenPrepare/X86/fpclass-test.ll
Log Message:
-----------
[CodeGenPrepare] Reverse the canonicalization of isInf/isNanOrInf (#81572)
In commit
https://github.com/llvm/llvm-project/commit/2b582440c16c72b6b021ea5c212ceda3bdfb2b9b,
we canonicalize the isInf/isNanOrInf idiom into fabs+fcmp for better
analysis/codegen (See also the discussion in
https://github.com/llvm/llvm-project/pull/76338).
This patch reverses the fabs+fcmp to `is.fpclass`. If the `is.fpclass`
is not supported by the target, it will be expanded by TLI.
Fixes the regression introduced by
https://github.com/llvm/llvm-project/commit/2b582440c16c72b6b021ea5c212ceda3bdfb2b9b
and
https://github.com/llvm/llvm-project/pull/80414#issuecomment-1936374206.
Commit: 59f34e8c2b5463dcf39fbafffeb30a84ef7b6887
https://github.com/llvm/llvm-project/commit/59f34e8c2b5463dcf39fbafffeb30a84ef7b6887
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/lib/MC/SPIRVObjectWriter.cpp
M llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.h
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVMCInstLower.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.h
M llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
M llvm/lib/Target/SPIRV/SPIRVSubtarget.h
M llvm/test/CodeGen/SPIRV/ComparePointers.ll
A llvm/test/CodeGen/SPIRV/llvm-intrinsics/lifetime.ll
M llvm/test/CodeGen/SPIRV/transcoding/AtomicCompareExchangeExplicit_cl20.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_arithmetics.ll
M llvm/test/CodeGen/SPIRV/transcoding/builtin_vars_opt.ll
Log Message:
-----------
[SPIRV] Add Lifetime intrinsics/instructions (#85391)
This PR:
* adds Lifetime intrinsics/instructions
* fixes how the binary header is emitted (correct version and better
approximation of Bound)
* add validation into more test cases
Commit: 3e6db602918435b6a5ac476f63f8b259e7e73af4
https://github.com/llvm/llvm-project/commit/3e6db602918435b6a5ac476f63f8b259e7e73af4
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/test/CodeGenObjC/debug-info-blocks.m
Log Message:
-----------
[RemoveDIs] Update Clang front end to handle DbgRecords (#84756)
This patch fixes problems that pop up when clang emits DbgRecords
instead of debug intrinsics.
Note: this doesn't mean clang is emitting DbgRecords yet, because the
modules it creates are still always in the old debug mode. That will
come in a future patch.
Depends on #84739
Commit: 295cdd5c3dbd14406bf9cce01e3dfd787fb1ddda
https://github.com/llvm/llvm-project/commit/295cdd5c3dbd14406bf9cce01e3dfd787fb1ddda
Author: Alfie Richards <156316945+AlfieRichardsArm at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/Target/Target.td
M llvm/lib/Target/ARM/ARM.td
M llvm/lib/Target/ARM/ARMInstrFormats.td
M llvm/lib/Target/ARM/ARMInstrThumb.td
M llvm/lib/Target/ARM/ARMInstrThumb2.td
M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
M llvm/test/MC/ARM/arm-branch-errors.s
M llvm/test/MC/ARM/arm11-hint-instr.s
M llvm/test/MC/ARM/cde-fp-vec.s
M llvm/test/MC/ARM/cde-vec-pred.s
M llvm/test/MC/ARM/cps.s
M llvm/test/MC/ARM/diagnostics.s
M llvm/test/MC/ARM/directive-arch_extension-crypto.s
M llvm/test/MC/ARM/invalid-fp-armv8.s
M llvm/test/MC/ARM/lsl-zero-errors.s
M llvm/test/MC/ARM/mve-load-store.s
M llvm/test/MC/ARM/mve-misc.s
M llvm/test/MC/ARM/neon-complex.s
M llvm/test/MC/ARM/no-mve.s
M llvm/test/MC/ARM/not-armv4.s
M llvm/test/MC/ARM/register-token-source-loc.s
M llvm/test/MC/ARM/tMOVSr.s
M llvm/test/MC/ARM/thumb-diagnostics.s
M llvm/test/MC/ARM/thumb-mov.s
M llvm/test/MC/ARM/thumb2-diagnostics.s
M llvm/test/MC/ARM/vfp4.s
M llvm/test/tools/llvm-mca/ARM/cortex-a57-basic-instructions.s
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
[ARM][TableGen][MC] Change the ARM mnemonic operands to be optional for ASM parsing (#83436)
This changs the way the assembly matcher works for Aarch32 parsing.
Previously there was a pile of hacks which dictated whether the CC,
CCOut, and VCC operands should be present which de-facto chose if the
wide/narrow (or thumb1/thumb2/arm) instruction version were chosen.
This meant much of the TableGen machinery present for the assembly
matching was effectively being bypassed and worked around.
This patch makes the CC and CCOut operands optional which allows the ASM
matcher operate as it was designed and means we can avoid doing some of
the hacks done previously. This also adds the option for the target to
allow the prioritizing the smaller instruction encodings as is required
for Aarch32.
Commit: a60deaa2046b2aafc4ba2542d6ad42b80af054b0
https://github.com/llvm/llvm-project/commit/a60deaa2046b2aafc4ba2542d6ad42b80af054b0
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
M llvm/test/Transforms/ConstantHoisting/AArch64/large-immediate.ll
Log Message:
-----------
[ConstantHoisting] Don't attempt to hoist ConstantInt vectors. (#85416)
The pass uses the TTI hook getIntImmCostIntrin that only supports scalar
integer types. Whilst hoisting expensive vector constant is likely
worthwhile, this is new behaviour and so I've followed the path taken by
the GEP variant of collectConstantCandidates and simply bail for vector
types.
Commit: f0dbcfe3526e2d8e1c4863828877ac21e08023a0
https://github.com/llvm/llvm-project/commit/f0dbcfe3526e2d8e1c4863828877ac21e08023a0
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/include/llvm-c/Core.h
M llvm/include/llvm-c/DebugInfo.h
M llvm/include/llvm-c/Types.h
M llvm/include/llvm/IR/DebugProgramInstruction.h
M llvm/lib/IR/Core.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/tools/llvm-c-test/debuginfo.c
M llvm/tools/llvm-c-test/llvm-c-test.h
M llvm/tools/llvm-c-test/main.c
Log Message:
-----------
[RemoveDIs] Update DIBuilder C API with DbgRecord functions [1/2] (#84915)
Follow on from #84739, which updates the DIBuilder class.
All the functions that have been added are temporary and will be
deprecated in the future. The intention is that they'll help downstream
projects adapt during the transition period.
```
New functions (all to be deprecated)
------------------------------------
LLVMIsNewDbgInfoFormat # Returns true if the module is in the new non-instruction mode.
LLVMSetIsNewDbgInfoFormat # Convert to the requested debug info format.
LLVMDIBuilderInsertDeclareIntrinsicBefore # Insert a debug intrinsic (old debug info format).
LLVMDIBuilderInsertDeclareIntrinsicAtEnd # Same as above.
LLVMDIBuilderInsertDbgValueIntrinsicBefore # Same as above.
LLVMDIBuilderInsertDbgValueIntrinsicAtEnd # Same as above.
LLVMDIBuilderInsertDeclareRecordBefore # Insert a debug record (new debug info format).
LLVMDIBuilderInsertDeclareRecordAtEnd # Same as above.
LLVMDIBuilderInsertDbgValueRecordBefore # Same as above.
LLVMDIBuilderInsertDbgValueRecordAtEnd # Same as above.
```
The existing `LLVMDIBuilderInsert...` functions call through to the
intrinsic versions (old debug info format) currently.
In the next patch, I'll swap them to call the debug records versions
(new debug info format). Downstream users of this API can query and
change the current format using the first two functions above, or can
instead opt to temporarily use intrinsics or records explicitly.
Commit: c18fc4fcf3adeb9b7084bf6b873500404d39bf96
https://github.com/llvm/llvm-project/commit/c18fc4fcf3adeb9b7084bf6b873500404d39bf96
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
Remove unused include. NFC
Commit: 4c5bc7667728d5383c41eb8a20dd5e49257904d2
https://github.com/llvm/llvm-project/commit/4c5bc7667728d5383c41eb8a20dd5e49257904d2
Author: Rodrigo Salazar <4rodrigosalazar at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/replace_filename.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/ctor.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/increment.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.nonmembers/begin_end.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ctor.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/depth.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/disable_recursion_pending.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/increment.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/pop.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/recursion_pending.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.nonmembers/begin_end.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/canonical.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_symlink/copy_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory_symlink/create_directory_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_hard_link/create_hard_link.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_symlink/create_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/current_path.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/equivalent.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_block_file/is_block_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_char_file/is_character_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_directory/is_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_fifo/is_fifo.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_other/is_other.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_regular_file/is_regular_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_socket/is_socket.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/is_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.read_symlink/read_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/relative.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove/remove.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.rename/rename.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.resize_file/resize_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.space/space.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
M libcxx/utils/libcxx/test/features.py
Log Message:
-----------
[libcxx][test] Create feature host-can-create-symlinks (#82204)
On Windows you can not create symlinks without elevated privileges
unless you have Windows developer mode enabled. There's ~67 libcxx tests
that run into failures on windows if your environment is not set up
correctly (Go to windows settings and enable "developer mode").
This change:
- Adds a feature check for whether the host can create symlinks. (see
libcxx/utils/libcxx/test/features.py)
- Mark the feature as required for the 67 tests that hit failures on
windows due to this. This will allow lit to correctly mark these tests
as unsupported instead of unexpectedly failed (this is helpful since
then you know you didn't break something with your change, it's just
that it's not supported with your environment).
Commit: 6825081162b69b84c0f4af6f5f71db1bab34e143
https://github.com/llvm/llvm-project/commit/6825081162b69b84c0f4af6f5f71db1bab34e143
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
M llvm/lib/Target/AArch64/SVEInstrFormats.td
Log Message:
-----------
[NFC][LLVM][SVE][ISel] Remove redundant type information from Pat targets. (#85409)
Commit: 6598f631bdaf6885de867a1d253203d92dd6b76c
https://github.com/llvm/llvm-project/commit/6598f631bdaf6885de867a1d253203d92dd6b76c
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Log Message:
-----------
Remove another layering violation by unused include. NFC
Commit: c2f75c7159518e238e0185c0f4e615fedcd8a167
https://github.com/llvm/llvm-project/commit/c2f75c7159518e238e0185c0f4e615fedcd8a167
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Handle CXXDefaultInitExpr of composite type
Commit: a9f78a3c67790f16b60765be6091840bc1e5f8de
https://github.com/llvm/llvm-project/commit/a9f78a3c67790f16b60765be6091840bc1e5f8de
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/IR/DebugProgramInstruction.h
Log Message:
-----------
Fix Werror buildbots after #84915
e.g. https://lab.llvm.org/buildbot/#/builders/77/builds/35540
Commit: daebe5c4f27ba140ac8d13abf41e3fe4db72b91a
https://github.com/llvm/llvm-project/commit/daebe5c4f27ba140ac8d13abf41e3fe4db72b91a
Author: Chao Chen <116223022+chencha3 at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUDialect.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
A mlir/test/Dialect/XeGPU/XeGPUOps.mlir
Log Message:
-----------
[MLIR][XeGPU] Adding XeGPU 2d block operators (#84692)
Hi @joker-eph, This PR adds XeGPU 2D block operators. It contains:
1. `TensorDescType` and `TensorDescAttr` definitions
2. `MemoryScopeAttr` and `CacheHintAttr` definitions which are used by
`TensorDescAttr`.
3. `CreateNdDescOp`, `PrefetchNdOp`, `LoadNdOp`, and `StoreNdOp`
definitions, and their corresponding testcases for illustration.
---------
Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
Commit: ab28c1de23f3880d7d2becf936fe560abe68e020
https://github.com/llvm/llvm-project/commit/ab28c1de23f3880d7d2becf936fe560abe68e020
Author: Bhuminjay Soni <Soni5Happy at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaChecking.cpp
M clang/test/Sema/warn-bitwise-and-bool.c
M clang/test/Sema/warn-bitwise-or-bool.c
Log Message:
-----------
fix unnecessary warning when using bitand with boolean operators (#81976)
This pull request fixes #77601 where using the `bitand` operator with
boolean operands should not trigger the warning, as it would indicate an
intentional use of bitwise AND rather than a typo or error.
Fixes #77601
Commit: 24692088181dd18e491a413d98d9c2ae30464454
https://github.com/llvm/llvm-project/commit/24692088181dd18e491a413d98d9c2ae30464454
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependencies for daebe5c4f27ba140ac8d13abf41e3fe4db72b91a
Commit: 27d504998ec7ec596bc9ff5d16333aea7a1bac18
https://github.com/llvm/llvm-project/commit/27d504998ec7ec596bc9ff5d16333aea7a1bac18
Author: martinboehme <mboehme at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Fix `getResultObjectLocation()` on `CXXDefaultArgExpr`. (#85072)
This patch includes a test that causes an assertion failure without the
other
changes in this patch.
Commit: a10aa4485e833d7805dab8eaed4a7ffea1a08f72
https://github.com/llvm/llvm-project/commit/a10aa4485e833d7805dab8eaed4a7ffea1a08f72
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/__type_traits/remove_reference.h
M libcxx/include/cwchar
M libcxx/include/execution
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
Log Message:
-----------
[libc++] Simplify the implementation of remove_reference (#85207)
GCC 13 introduced the type trait `__remove_reference`. We can simplify
the implementation of `remove_reference` a bit by using it.
Commit: bc70f60418f5edad1aaee91fef832a6e2301c62f
https://github.com/llvm/llvm-project/commit/bc70f60418f5edad1aaee91fef832a6e2301c62f
Author: zicwangupa <87221359+ZiCong-Wang at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[SelectionDAG] Add m_Neg and m_Not pattern matcher and update DAGCombiner (#85365)
Resolves #85065
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
Commit: 4ea850b52ffbb6ca6a40242558ee005a2a894daf
https://github.com/llvm/llvm-project/commit/4ea850b52ffbb6ca6a40242558ee005a2a894daf
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/include/__algorithm/inplace_merge.h
M libcxx/include/__iterator/reverse_iterator.h
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/greater-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/greater.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/less-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/less.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/not-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/assign.LWG3435.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.default.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.iter.explicit.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.iter.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.reverse_iterator.LWG3435.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.conv/base.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/arrow.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/bracket.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/dereference.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/decrement-assign.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/increment-assign.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/minus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/plus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/postdecrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/postincrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/predecrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/preincrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nonmember/minus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/types.compile.pass.cpp
Log Message:
-----------
[libc++] Remove __unconstrained_reverse_iterator (#85582)
`__unconstrained_reverse_iterator` has outlived its usefullness, since
the standard and subsequently the compilers have been fixed.
Commit: 4109b18ee5de1346c2b89a5c89b86bae5c8631d3
https://github.com/llvm/llvm-project/commit/4109b18ee5de1346c2b89a5c89b86bae5c8631d3
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/CMakeLists.txt
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/test/tools/CMakeLists.txt
M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
M libcxx/utils/ci/buildkite-pipeline.yml
M libcxx/utils/ci/run-buildbot
Log Message:
-----------
[libc++][CMake] Removes LIBCXX_ENABLE_CLANG_TIDY. (#85262)
The clang-tidy selection in CMake was refactored in
https://github.com/llvm/llvm-project/pull/81362. During review it was
suggested to remove this CMake option.
Commit: 1d9fb2ee612f0ccf588d40dc4b5445cffd36e8af
https://github.com/llvm/llvm-project/commit/1d9fb2ee612f0ccf588d40dc4b5445cffd36e8af
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/test/AST/Interp/builtin-functions.cpp
Log Message:
-----------
[clang][Interp] Disable CFStringMakeConstantString test on AIX
It's not only the fist CFSTR call that's broken on AIX.
See https://github.com/llvm/llvm-project/commit/0a739eb75fe68b1cec4e4aaad8b5395bb5da9a89#commitcomment-139910542
Commit: 4294841ebcbb22076a24267cdf5164c7aeed9941
https://github.com/llvm/llvm-project/commit/4294841ebcbb22076a24267cdf5164c7aeed9941
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/AST/ExprConstant.cpp
M clang/test/AST/Interp/c.c
M clang/test/Sema/const-eval.c
A clang/test/Sema/constexpr-void-cast.c
Log Message:
-----------
[clang][ExprConst] Can't be past an invalid LValue designator (#84293)
For the test case in C, both `LV.getLValueOffset()` and
`Ctx.getTypeSizeInChars(Ty)` are zero, so we return `true` from
`isOnePastTheEndOfCompleteObject()` and ultimately diagnose this as
being one past the end, but the diagnostic doesn't make sense.
Commit: a8bda0b4a6eb454cb437105efc98c807bd5c4f6d
https://github.com/llvm/llvm-project/commit/a8bda0b4a6eb454cb437105efc98c807bd5c4f6d
Author: Benji Smith <6193112+Benjins at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/lib/IR/Core.cpp
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/tools/llvm-c-test/echo.cpp
Log Message:
-----------
[C API] Add accessors for function prefix and prologue data (#82193)
A test is added to echo.ll, and the echo.cpp part of llvm-c-test is
updated to clone a function's prefix and prologue.
Commit: 276847a65af67bdc4eb79989f196d1968cb50ae6
https://github.com/llvm/llvm-project/commit/276847a65af67bdc4eb79989f196d1968cb50ae6
Author: Miguel Raz Guzmán Macedo <miguelraz at ciencias.unam.mx>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/Intrinsics.td
M llvm/lib/IR/Verifier.cpp
A llvm/test/Verifier/intrinsic-cmp.ll
Log Message:
-----------
[LangRef][IR] Add 3-way compare intrinsics llvm.scmp/llvm.ucmp (#83227)
This PR adds the `[us]cmp` intrinsics to the LangRef, `Intrinsics.td`
and some tests to the IRVerifier.
RFC: https://discourse.llvm.org/t/rfc-add-3-way-comparison-intrinsics/76685
Commit: eb264d825beb048c6e673ddaf5aca069511fcfb3
https://github.com/llvm/llvm-project/commit/eb264d825beb048c6e673ddaf5aca069511fcfb3
Author: ykiko <ykikoykikoykiko at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/bindings/python/clang/cindex.py
M clang/docs/ReleaseNotes.rst
M clang/include/clang-c/Index.h
Log Message:
-----------
Add some missing Kinds to libclang python bindings (#85571)
Add some Kinds existing in Index.h but missing in cindex.py.
Commit: bfd1d95de270fe38a287b5f48928df56a39ff8ad
https://github.com/llvm/llvm-project/commit/bfd1d95de270fe38a287b5f48928df56a39ff8ad
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
Log Message:
-----------
[mlir] Fix unused variable error in builds with asserts enabled.
Commit: fd93a5e3c06a90e931c645948aa73ee9894699d7
https://github.com/llvm/llvm-project/commit/fd93a5e3c06a90e931c645948aa73ee9894699d7
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Log Message:
-----------
[VPlan] Support match unary and binary recipes in pattern matcher (NFC).
Generalize pattern matchers to take recipe types to match as template
arguments and use it to provide matchers for unary and binary recipes
with specific opcodes and a list of recipe types (VPWidenRecipe,
VPReplicateRecipe, VPWidenCastRecipe, VPInstruction)
The new matchers are used to simplify and generalize the code in
simplifyRecipes.
Commit: cb84f130b724f64f88f780c1731a4c6e9cba99cd
https://github.com/llvm/llvm-project/commit/cb84f130b724f64f88f780c1731a4c6e9cba99cd
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/FLATInstructions.td
Log Message:
-----------
[AMDGPU] Remove unneeded addr mode predicates on FLAT Real instructions (#85641)
These predicates should be copied from the corresponding Pseudo
instruction. Previously that did not work because of a problem with
setting the right predicates on the Pseudos, but #85442 fixed that.
Commit: e5b20c83e5ba25e6e0650df30352ce54c2f6ea2f
https://github.com/llvm/llvm-project/commit/e5b20c83e5ba25e6e0650df30352ce54c2f6ea2f
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/test/CodeGen/PowerPC/scalar-double-ldst.ll
M llvm/test/CodeGen/PowerPC/scalar-float-ldst.ll
Log Message:
-----------
[PowerPC] Update chain uses when emitting lxsizx (#84892)
Commit: 9cea288bf789c74146cb211a2b5a84895e6866ac
https://github.com/llvm/llvm-project/commit/9cea288bf789c74146cb211a2b5a84895e6866ac
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/utils/release/export.sh
Log Message:
-----------
[release] Fix version extraction in export.sh (#85328)
The LLVM_VERSION_* variables were moved to a new file in
81e20472a0c5a4a8edc5ec38dc345d580681af81.
Commit: e2e3624fae669f85de1445bf7037ff29feb30905
https://github.com/llvm/llvm-project/commit/e2e3624fae669f85de1445bf7037ff29feb30905
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/test/Sema/constexpr-void-cast.c
Log Message:
-----------
[clang][test] Try to fix constexpr-void-cast test
The test currenlty fails:
https://lab.llvm.org/buildbot/#/builders/139/builds/61628
because it emits a C11 warning when compiling as C. Try to fix that
be defining the C standard to use.
Commit: 9253950ec1690e786ba1cdaaf3234fb30b633eab
https://github.com/llvm/llvm-project/commit/9253950ec1690e786ba1cdaaf3234fb30b633eab
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libclc/CMakeLists.txt
M libclc/check_external_calls.sh
M libclc/cmake/CMakeLLAsmInformation.cmake
Log Message:
-----------
[libclc] Convert tabs to spaces in CMake (#85634)
Having a mix of tabs and spaces makes the diff of any changes to the
build system noisier than necessary. This commit unifies them to two
spaces.
This includes some minor cosmetic changes such as with joining things on
one line where appropriate.
There are other files in libclc which have tabs but those haven't been
touched at this time. Those could come at another time if desired,
though they might be more contentious as the project isn't
clang-formatted at all and so that might invite larger discussions
around formatting.
Commit: 09bc6abba6e226ad5e9d18d4365690d6f04de21a
https://github.com/llvm/llvm-project/commit/09bc6abba6e226ad5e9d18d4365690d6f04de21a
Author: Jonas Paulsson <paulson1 at linux.ibm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineFrameInfo.h
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/lib/CodeGen/FinalizeISel.cpp
M llvm/lib/CodeGen/MachineFrameInfo.cpp
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
M llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/AArch64/avoid-zero-copy.mir
M llvm/test/CodeGen/AArch64/stack-probing-no-scratch-reg.mir
M llvm/test/CodeGen/AArch64/stack-probing-shrink-wrap.mir
M llvm/test/CodeGen/AArch64/wrong-callee-save-size-after-livedebugvariables.mir
M llvm/test/CodeGen/AMDGPU/av_spill_cross_bb_usage.mir
M llvm/test/CodeGen/Hexagon/livephysregs-regmask-clobber.mir
M llvm/test/CodeGen/MIR/AMDGPU/stack-id-assert.mir
M llvm/test/CodeGen/Mips/avoid-zero-copy.mir
M llvm/test/CodeGen/Mips/msa/emergency-spill.mir
M llvm/test/CodeGen/RISCV/live-sp.mir
M llvm/test/CodeGen/RISCV/rvv/addi-rvv-stack-object.mir
M llvm/test/CodeGen/RISCV/rvv/rvv-stack-align.mir
M llvm/test/CodeGen/RISCV/rvv/wrong-stack-offset-for-rvv-object.mir
M llvm/test/CodeGen/RISCV/stack-inst-compress.mir
M llvm/test/CodeGen/SystemZ/cond-move-04.mir
M llvm/test/CodeGen/SystemZ/cond-move-08.mir
M llvm/test/CodeGen/SystemZ/cond-move-regalloc-hints-02.mir
M llvm/test/CodeGen/SystemZ/cond-move-regalloc-hints.mir
M llvm/test/CodeGen/SystemZ/frame-28.mir
M llvm/test/CodeGen/X86/fast-regalloc-live-out-debug-values.mir
M llvm/test/CodeGen/X86/heap-alloc-markers.mir
M llvm/test/CodeGen/X86/instr-symbols.mir
M llvm/test/CodeGen/X86/statepoint-fixup-undef.mir
M llvm/test/CodeGen/X86/statepoint-vreg.mir
M llvm/test/DebugInfo/MIR/X86/debug-loc-0.mir
M llvm/test/DebugInfo/MIR/X86/prolog-epilog-indirection.mir
M llvm/test/DebugInfo/X86/live-debug-vars-dse.mir
M llvm/test/DebugInfo/X86/prolog-params.mir
Log Message:
-----------
[MachineFrameInfo] Refactoring around computeMaxcallFrameSize() (NFC) (#78001)
- Use computeMaxCallFrameSize() in PEI::calculateCallFrameInfo() instead of duplicating the code.
- Set AdjustsStack in FinalizeISel instead of in computeMaxCallFrameSize().
Commit: c5177f149b43dcc5a39c2c1aefaf1bba8518fd2e
https://github.com/llvm/llvm-project/commit/c5177f149b43dcc5a39c2c1aefaf1bba8518fd2e
Author: Martin Wehking <martin.wehking at codeplay.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Log Message:
-----------
Silence potential overflow warning (#83272)
Cast Offset variable to int64_t type directly inside a multiplication
and function call to utilize 64-bit arithmetic.
Ensure that the multiplication will not overflow.
A static analyzer warned about this since the function expects a 64-bit
argument, but the multiplication is evaluated inside a 32-bit context.
Commit: 487f356b20860a3eeb29b836483c639735f9393c
https://github.com/llvm/llvm-project/commit/487f356b20860a3eeb29b836483c639735f9393c
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/IR/AsmWriter.cpp
M llvm/test/DebugInfo/print-non-instruction-debug-info.ll
Log Message:
-----------
[RemoveDIs][AsmWriter] Add empty-metadata operands to the SlotTracker (#85636)
Commit: 0c21377aeafc523bd4a8c40bd27e33498f3199f7
https://github.com/llvm/llvm-project/commit/0c21377aeafc523bd4a8c40bd27e33498f3199f7
Author: Kelvin Li <kkwli at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/include/flang/Semantics/tools.h
M flang/lib/Semantics/check-do-forall.cpp
M flang/lib/Semantics/tools.cpp
M flang/test/Semantics/doconcurrent08.f90
Log Message:
-----------
[flang] Diagnose the impure procedure reference in finalization according to the rank of the entity (#85475)
Use the rank of the array section to determine which final procedure
would be called in diagnosing whether that procedure is impure or not.
Commit: d56110fa025b58e57602a254c841e6e41ea46a42
https://github.com/llvm/llvm-project/commit/d56110fa025b58e57602a254c841e6e41ea46a42
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/complex.cpp
Log Message:
-----------
[clang][Interp] Fix _Complex comma operators
Handle them before shelling out to visitComplexBinOp().
Commit: 73381a8df80674bd5198a89e8e879c64c48121b8
https://github.com/llvm/llvm-project/commit/73381a8df80674bd5198a89e8e879c64c48121b8
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
Log Message:
-----------
[CodeGen] Fix -Wunused-variable in PrologEpilogInserter.cpp (NFC)
llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp:369:12:
error: unused variable 'MaxCFSIn' [-Werror,-Wunused-variable]
uint32_t MaxCFSIn =
^
1 error generated.
Commit: 0c423af59c971ddf1aa12d94529edf8293608157
https://github.com/llvm/llvm-project/commit/0c423af59c971ddf1aa12d94529edf8293608157
Author: Hirofumi Nakamura <k.nakamura.hirofumi at gmail.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTestTableGen.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Add Options to break inside the TableGen DAGArg. (#83149)
Add two options to control the line break inside TableGen DAGArg.
- TableGenBreakInsideDAGArg
- TableGenBreakingDAGArgOperators
Commit: f6f42af06f6fe6a78f044686a36e4995d4f42ac5
https://github.com/llvm/llvm-project/commit/f6f42af06f6fe6a78f044686a36e4995d4f42ac5
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/api.td
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/dev/undefined_behavior.rst
M libc/spec/posix.td
M libc/src/__support/CPP/string_view.h
M libc/src/sys/mman/CMakeLists.txt
M libc/src/sys/mman/linux/CMakeLists.txt
A libc/src/sys/mman/linux/shm_common.h
A libc/src/sys/mman/linux/shm_open.cpp
A libc/src/sys/mman/linux/shm_unlink.cpp
A libc/src/sys/mman/shm_open.h
A libc/src/sys/mman/shm_unlink.h
M libc/test/src/__support/CPP/stringview_test.cpp
M libc/test/src/sys/mman/linux/CMakeLists.txt
A libc/test/src/sys/mman/linux/shm_test.cpp
Log Message:
-----------
[libc] Add `shm_open/shm_unlink` (#84974)
Commit: 57914f647e2551ea19758038345bb8bc2c4762c1
https://github.com/llvm/llvm-project/commit/57914f647e2551ea19758038345bb8bc2c4762c1
Author: Mike Rice <michael.p.rice at intel.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
Log Message:
-----------
[clang-tidy][NFC] Remove unnecessary nullptr check on cast subexpr (#85473)
The value of SubExpr is not null since getSubExpr would assert in that
case. Remove the nullptr check. This avoids confusion since SubExpr is
used without check later in the function.
Commit: 12b802ac0bc6ddf0742aa3fe8caecd8204d70ca5
https://github.com/llvm/llvm-project/commit/12b802ac0bc6ddf0742aa3fe8caecd8204d70ca5
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-return-value-avoid-assignment.cpp
Log Message:
-----------
[clang-tidy]bugprone-unused-return-value ignore `++` and `--` operator overloading (#84922)
Fixes: #84705
Further fix for #84489
Commit: 39c739eec9148a2f4e04c7fa9ca11f23db79bb15
https://github.com/llvm/llvm-project/commit/39c739eec9148a2f4e04c7fa9ca11f23db79bb15
Author: Andrei Golubev <andrey.golubev at intel.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/tools/mlir-tblgen/OpInterfacesGen.cpp
Log Message:
-----------
[mlir][OpInterfacesGen][NFC] Add newline after traits declaration (#85633)
Slightly improve the readability of the tablegen-generated code.
Co-authored-by: Orest Chura <orest.chura at intel.com>
Commit: f8042171552ca16e77a5e9367188e7f218474380
https://github.com/llvm/llvm-project/commit/f8042171552ca16e77a5e9367188e7f218474380
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libcxx/CMakeLists.txt
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/test/tools/CMakeLists.txt
M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
M libcxx/utils/ci/buildkite-pipeline.yml
M libcxx/utils/ci/run-buildbot
Log Message:
-----------
Revert "[libc++][CMake] Removes LIBCXX_ENABLE_CLANG_TIDY. (#85262)"
This reverts commit 4109b18ee5de1346c2b89a5c89b86bae5c8631d3.
It looks like the automatic detection has false positives. This broke
the following build https://github.com/llvm/llvm-project/pull/85262
Commit: ca04b56a8b26cbe9327eaab113e1e4af096d902a
https://github.com/llvm/llvm-project/commit/ca04b56a8b26cbe9327eaab113e1e4af096d902a
Author: Shourya Goel <shouryagoel10000 at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/src/stdio/CMakeLists.txt
A libc/src/stdio/fileno.h
M libc/src/stdio/generic/CMakeLists.txt
A libc/src/stdio/generic/fileno.cpp
M libc/test/src/stdio/fileop_test.cpp
Log Message:
-----------
[libc] Implement fileno (#85628)
fixes: #85150
Commit: 8d142043e8c4c1144cd94f39f3cc7c88da5cec3f
https://github.com/llvm/llvm-project/commit/8d142043e8c4c1144cd94f39f3cc7c88da5cec3f
Author: Balaji V. Iyer <43187390+bviyer at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPU.h
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUDialect.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
M mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
R mlir/test/Dialect/XeGPU/XeGPUOps.mlir
Log Message:
-----------
Revert "[MLIR][XeGPU] Adding XeGPU 2d block operators (#84692)" (#85653)
This reverts commit daebe5c4f27ba140ac8d13abf41e3fe4db72b91a.
This commit causes the following asan issue:
```
<snip>/llvm-project/build/bin/mlir-opt <snip>/llvm-project/mlir/test/Dialect/XeGPU/XeGPUOps.mlir | <snip>/llvm-project/build/bin/FileCheck <snip>/llvm-project/mlir/test/Dialect/XeGPU/XeGPUOps.mlir
# executed command: <snip>/llvm-project/build/bin/mlir-opt <snip>/llvm-project/mlir/test/Dialect/XeGPU/XeGPUOps.mlir
# .---command stderr------------
# | =================================================================
# | ==2772558==ERROR: AddressSanitizer: stack-use-after-return on address 0x7fd2c2c42b90 at pc 0x55e406d54614 bp 0x7ffc810e4070 sp 0x7ffc810e4068
# | READ of size 8 at 0x7fd2c2c42b90 thread T0
# | #0 0x55e406d54613 in operator()<long int const*> /usr/include/c++/13/bits/predefined_ops.h:318
# | #1 0x55e406d54613 in __count_if<long int const*, __gnu_cxx::__ops::_Iter_pred<mlir::verifyListOfOperandsOrIntegers(Operation*, llvm::StringRef, unsigned int, llvm::ArrayRef<long int>, ValueRange)::<lambda(int64_t)> > > /usr/include/c++/13/bits/stl_algobase.h:2125
# | #2 0x55e406d54613 in count_if<long int const*, mlir::verifyListOfOperandsOrIntegers(Operation*,
...
```
Commit: bd9a2afa8015a3f0bcc214a053816f4275f8d891
https://github.com/llvm/llvm-project/commit/bd9a2afa8015a3f0bcc214a053816f4275f8d891
Author: zhongyunde 00443407 <zhongyunde at huawei.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/select.ll
Log Message:
-----------
[InstCombine] Add tests for selects with same conditions (NFC)
Commit: 705788c84623b4f1dab72a108e039a0de2d53cf6
https://github.com/llvm/llvm-project/commit/705788c84623b4f1dab72a108e039a0de2d53cf6
Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
M clang/test/Analysis/block-in-critical-section.cpp
Log Message:
-----------
[clang][analyzer] Improve BlockInCriticalSectionsChecker (#80029)
* Add support for multiple, potentially overlapping critical sections:
The checker can now simultaneously handle several mutex's critical
sections without confusing them.
* Implement the handling of recursive mutexes:
By identifying the lock events, recursive mutexes are now supported.
A lock event is a pair of a lock expression, and the SVal of the mutex
that it locks, so even multiple locks of the same mutex (and even by
the same expression) is now supported.
* Refine the note tags generated by the checker:
The note tags now correctly show just for mutexes that are
active at the point of error, and multiple acquisitions of the same mutex
are also noted.
Commit: 9a784303a3666e9d9b93088a1519e1dc2ba4d015
https://github.com/llvm/llvm-project/commit/9a784303a3666e9d9b93088a1519e1dc2ba4d015
Author: David Green <david.green at arm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-xtn.mir
M llvm/test/CodeGen/AArch64/bitcast.ll
M llvm/test/CodeGen/AArch64/itofp.ll
Log Message:
-----------
[AArch64][GlobalISel] Legalize small G_TRUNC (#85625)
This is an alternative to #85610, that moreElement's small G_TRUNC
vectors to widen the vectors. It needs to disable one of the existing
Unmerge(Trunc(..)) combines, and some of the code is not as optimal as
it could be. I believe with some extra optimizations it could look
better (I was thinking combining trunc(buildvector) -> buildvector and
possibly improving buildvector lowering by generating
insert_vector_element earlier).
Commit: ece2903ce730392e5236d27f1f387fa8067fcb1b
https://github.com/llvm/llvm-project/commit/ece2903ce730392e5236d27f1f387fa8067fcb1b
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lld/MachO/Driver.cpp
M lld/MachO/InputSection.h
M lld/MachO/ObjC.cpp
M lld/MachO/ObjC.h
M lld/MachO/Options.td
A lld/test/MachO/objc-category-merging-complete-test.s
A lld/test/MachO/objc-category-merging-extern-class-minimal.s
Log Message:
-----------
[lld-macho] Implement ObjC category merging (-objc_category_merging) (#82928)
This change adds a flag to lld to enable category merging for MachoO +
ObjC.
It adds the '-objc_category_merging' flag for enabling this option and
uses the existing '-no_objc_category_merging' flag for disabling it.
In ld64, this optimization is enabled by default, but in lld, for now,
we require explicitly passing the '-objc_category_merging' flag in order
to enable it.
Behavior: if in the same link unit, multiple categories are extending
the same class, then they get merged into a single category.
Ex: `Cat1(method1+method2,protocol1) + Cat2(method3+method4,protocol2,
property1) = Cat1_2(method1+method2+method3+method4,
protocol1+protocol2, property1)`
Notes on implementation decisions made in this diff:
1. There is a possibility to further improve the current implementation
by directly merging the category data into the base class (if the base
class is present in the link unit) - this improvement may be done as a
follow-up. This improved functionality is already present in ld64.
2. We do the merging on the raw inputSections - after dead-stripping
(categories can't be dead stripped anyway).
3. The changes are mostly self-contained to ObjC.cpp, except for adding
a new flag (linkerOptimizeReason) to ConcatInputSection and StringPiece
to mark that this data has been optimized away. Another way to do it
would have been to just mark the pieces as not 'live' but this would
cause the old symbols to show up in the linker map as being
dead-stripped - even if dead-stripping is disabled. This flag allows us
to match the ld64 behavior.
---------
Co-authored-by: Alex B <alexborcan at meta.com>
Commit: 280c7a9526a9ae7f959117c9cec94f8c8887f15c
https://github.com/llvm/llvm-project/commit/280c7a9526a9ae7f959117c9cec94f8c8887f15c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/lib/Driver/Driver.cpp
Log Message:
-----------
[Clang] Fix preprocessing device only in HIP mode
Summary:
A recent change made the HIP compilation bundle by default. However we
don't want to do this for `-E`, which silently broke some handling.
Commit: 0db2e1e91a9124c276fd00f674b71f038a53ddec
https://github.com/llvm/llvm-project/commit/0db2e1e91a9124c276fd00f674b71f038a53ddec
Author: Alex Richardson <alexrichardson at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
M compiler-rt/test/sanitizer_common/TestCases/corelimit.cpp
Log Message:
-----------
Reland "[compiler-rt] Avoid generating coredumps when piped to a tool"
Updated the corelimit.cpp test to handle buildbots with RLIMIT_CORE
rlim_max already set to zero.
Original commit message:
I was trying to debug why `ninja check-compiler-rt` was taking so long
to run on my system and after some debugging it turned out that most of
the time was being spent generating core dumps.
On many current Linux systems, coredumps are no longer dumped in the CWD
but instead piped to a utility such as systemd-coredumpd that stores
them in a deterministic location. This can be done by setting the
kernel.core_pattern sysctl to start with a '|'. However, when using such
a setup the kernel ignores a coredump limit of 0 (since there is no file
being written) and we can end up piping many gigabytes of data to
systemd-coredumpd which causes the test suite to freeze for a long time.
While most piped coredump handlers do respect the crashing processes'
RLIMIT_CORE, this is notable not the case for Debian's systemd-coredump
due to a local patch that changes sysctl.d/50-coredump.conf to ignore
the specified limit and instead use RLIM_INFINITY
(https://salsa.debian.org/systemd-team/systemd/-/commit/64599ffe44f0d).
Fortunately there is a workaround: the kernel recognizes the magic value
of 1 for RLIMIT_CORE to disable coredumps when piping. One byte is also
too small to generate any coredump, so it effectively behaves as if we
had set the value to zero.
The alternative to using RLIMIT_CORE=1 would be to use prctl() with the
PR_SET_DUMPABLE flag, however that also prevents ptrace(), so makes it
impossible to attach a debugger.
Fixes: https://github.com/llvm/llvm-project/issues/45797
This reverts commit 0b9f19a9880eb786871194af116f223d2ad30c52.
Commit: 67c5a98caea419a9720712d3977d487ab95f6356
https://github.com/llvm/llvm-project/commit/67c5a98caea419a9720712d3977d487ab95f6356
Author: Fraser Cormack <fraser at codeplay.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/IR/AutoUpgrade.cpp
Log Message:
-----------
[IR][NFC] Suppress warnings in ternary operators
Just doing this the same way as in AMDGPUPromoteAlloca.cpp
Commit: 44c579f5b56e89c44ad508805f742601ce3db2b1
https://github.com/llvm/llvm-project/commit/44c579f5b56e89c44ad508805f742601ce3db2b1
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/X86/minbitwidth-user-not-min.ll
Log Message:
-----------
[SLP][NFC]Add a test with minbitwidth operand, but not a user.
Commit: 27d7bb861613a09e852b7d9979a1b6fdfe517a84
https://github.com/llvm/llvm-project/commit/27d7bb861613a09e852b7d9979a1b6fdfe517a84
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/test/src/stdio/CMakeLists.txt
M libc/test/src/stdio/fileop_test.cpp
Log Message:
-----------
[libc] fix up fileno tests (#85660)
Fixes #85628
Commit: c48d8182f172ac24244d5fb038b7ab983f67def4
https://github.com/llvm/llvm-project/commit/c48d8182f172ac24244d5fb038b7ab983f67def4
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCV.td
M llvm/lib/Target/RISCV/RISCVProcessors.td
A llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
Log Message:
-----------
[RISCV] Add SiFiveP600Model SchedModel that is used by sifive-p670 (#84962)
This PR includes an initial scheduler model shows improvement on
multiple workloads over NoSchedModel and SiFive7Model for sifive-p670.
We plan on making significant changes to this model in the future so
that it is more accurate. This patch would close
https://github.com/llvm/llvm-project/pull/80612.
Commit: e5f2ed37e58d5d3e8d8ab8a688ed9fadcd665083
https://github.com/llvm/llvm-project/commit/e5f2ed37e58d5d3e8d8ab8a688ed9fadcd665083
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
Log Message:
-----------
[RISCV] Add IMinMax sched resources to P600SchedModel
CI checks were passing in #84962 (c48d8182f172ac24244d5fb038b7ab983f67def4) but
that commit caused failures once merged due to ships passing since the
PR was not rebased on #85131. This commit fixes this problem by adding
sched resources for integer min max instructions from Zbb in P600 model.
Commit: 85d7fef6c1ea08c944c8e0eda6ea520d49e595b4
https://github.com/llvm/llvm-project/commit/85d7fef6c1ea08c944c8e0eda6ea520d49e595b4
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
Log Message:
-----------
[flang][NFC] Fix include style (#85655)
Commit: 457f762651e331341872abccbb7d7724c89cbf50
https://github.com/llvm/llvm-project/commit/457f762651e331341872abccbb7d7724c89cbf50
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
Log Message:
-----------
[cmake] Disable FatLTO in clang build for Fuchsia (#85677)
We're seeing an issue on Macs, which shouldn't be using this config, so
we will temporarily disable this while we investigate.
Commit: 1261c02be4829984f025f258f3717277d04a8332
https://github.com/llvm/llvm-project/commit/1261c02be4829984f025f258f3717277d04a8332
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/test/Transforms/LICM/expr-reassociate-int.ll
Log Message:
-----------
[LICM] Drop nsw/nuw flags on affected instructions in hoistMulAddAssociation. (#85486)
Since we are introducing new multiplies earlier in the arithmetic, the
nsw/nuw flags on later instructions are no longer accurate.
Fixes #85457.
Commit: 7d55b916a5e5091ff21d6fea4aaa54efe73535a7
https://github.com/llvm/llvm-project/commit/7d55b916a5e5091ff21d6fea4aaa54efe73535a7
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
A mlir/test/Integration/GPU/CUDA/sm90/tma_load_128x128_stride_noswizzle.mlir
Log Message:
-----------
[mlir][nvgpu] Support strided memref when creating TMA descriptor (#85652)
Commit: 6800f422c22ffd672b1e31f0d0a3fa29d19b7a13
https://github.com/llvm/llvm-project/commit/6800f422c22ffd672b1e31f0d0a3fa29d19b7a13
Author: Kazu Hirata <kazu at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lld/MachO/ObjC.cpp
Log Message:
-----------
[lld] Fix warnings
This patch fixes:
lld/MachO/ObjC.cpp:633:12: error: unused variable 'expectedListSize'
[-Werror,-Wunused-variable]
lld/MachO/ObjC.cpp:1034:12: error: unused variable 'newCatDef'
[-Werror,-Wunused-variable]
Commit: 20f5bcfb1a3b58c430a5df6dd837b30c22a2b788
https://github.com/llvm/llvm-project/commit/20f5bcfb1a3b58c430a5df6dd837b30c22a2b788
Author: nicebert <110385235+nicebert at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M openmp/libomptarget/include/OpenMP/Mapping.h
M openmp/libomptarget/include/Shared/Debug.h
M openmp/libomptarget/include/omptarget.h
M openmp/libomptarget/src/OpenMP/API.cpp
M openmp/libomptarget/src/OpenMP/Mapping.cpp
M openmp/libomptarget/src/exports
A openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp
M openmp/runtime/src/include/omp.h.var
Log Message:
-----------
[OpenMP] Add OpenMP extension API to dump mapping tables (#85381)
This adds an API call ompx_dump_mapping_tables.
This allows users to debug the mapping tables and can be especially
useful for unified shared memory applications to check if the code
behaves in the way it should. The implementation reuses code already
present to dump mapping tables (in a debug setting).
---------
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Commit: 8578b6e9120cb2fc8a7fc102587d617144c35532
https://github.com/llvm/llvm-project/commit/8578b6e9120cb2fc8a7fc102587d617144c35532
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
Log Message:
-----------
[VPlan] Store VPlan directly in VPRecipeBuilder (NFCI).
Instead of passing VPlan in a number of places, just store it directly
in VPRecipeBuilder. A single instance is only used for a single VPlan.
This simplifies the code and was suggested by @nikolaypanchenko in
https://github.com/llvm/llvm-project/pull/84464.
Commit: 9a5c0d6af93ee1abbdfd47a37927ecc5d5ab6d02
https://github.com/llvm/llvm-project/commit/9a5c0d6af93ee1abbdfd47a37927ecc5d5ab6d02
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/IR/BasicBlock.cpp
Log Message:
-----------
Revert "[RemoveDIs] Enable direct-to-bitcode writing by default"
This reverts commit e419084da7a00b269368aeb95698e0d36b24e8ec.
Likely cause of buildbot failure:
https://lab.llvm.org/buildbot/#/builders/179/builds/9629
Commit: cf835b96b13bec3b5df1962bae609934edda6d55
https://github.com/llvm/llvm-project/commit/cf835b96b13bec3b5df1962bae609934edda6d55
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/config/gpu/entrypoints.txt
Log Message:
-----------
[libc] Remove fileno from GPU entrypoints
Commit: 9936ac308332796bf16024ce30a4aa1fba2cce66
https://github.com/llvm/llvm-project/commit/9936ac308332796bf16024ce30a4aa1fba2cce66
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M clang/www/get_started.html
M openmp/docs/SupportAndFAQ.rst
Log Message:
-----------
[docs] Prefer --gcc-install-dir= to deprecated GCC_INSTALL_PREFIX (#85458)
Setting GCC_INSTALL_PREFIX leads to a warning (#77537).
Link:
https://discourse.llvm.org/t/add-gcc-install-dir-deprecate-gcc-toolchain-and-remove-gcc-install-prefix/65091
Link:
https://discourse.llvm.org/t/correct-cmake-parameters-for-building-clang-and-lld-for-riscv/72833
Commit: ff63d628c46459437df21e09f70993685eba4bc3
https://github.com/llvm/llvm-project/commit/ff63d628c46459437df21e09f70993685eba4bc3
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
M llvm/test/Transforms/HotColdSplit/outline-disjoint-diamonds.ll
M llvm/test/Transforms/IROutliner/outlining-no-return-functions.ll
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.generated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.generated.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.nogenerated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.nogenerated.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.generated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.generated.globals.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.nogenerated.expected
M llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs_prefix_reuse.ll.nogenerated.globals.expected
Log Message:
-----------
[CodeExtractor] Terminate callsite blocks to new `noreturn` functions with `unreachable`
Since some of the users of `CodeExtractor` like `HotColdSplitting` run
late in the pipeline, returns are not cleaned to `unreachable`. So,
just emit `unreachable` directly if the function is `noreturn`.
Closes #84682
Commit: 6984ba7b94e13694caeea6a8dada9f79b2cc644a
https://github.com/llvm/llvm-project/commit/6984ba7b94e13694caeea6a8dada9f79b2cc644a
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
Log Message:
-----------
[InstSimply] Add tests for simplify `(fmul -x, +/-0)`; NFC
Commit: 5265be11b1bbf5d744cf564dce91e789e2ab4c9e
https://github.com/llvm/llvm-project/commit/5265be11b1bbf5d744cf564dce91e789e2ab4c9e
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
Log Message:
-----------
[InstSimply] Simplify `(fmul -x, +/-0)` -> `-/+0`
We already handle the `+x` case, and noticed it was missing in the bug
affecting #82555
Proofs: https://alive2.llvm.org/ce/z/WUSvmV
Closes #85345
Commit: 18da51b2b227bcaee0efd13c4bc9ba408ea6b6e6
https://github.com/llvm/llvm-project/commit/18da51b2b227bcaee0efd13c4bc9ba408ea6b6e6
Author: David Green <david.green at arm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/Analysis/MemoryLocation.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Log Message:
-----------
[CodeGen] More uses of LocationSize::beforeOrAfterPointer().
As an extension to #84751, this adds some extra uses of beforeOrAfterPointer()
instead of UnknownSize.
Commit: ea72c082bc29fdceca33f37477b7588f31630a5f
https://github.com/llvm/llvm-project/commit/ea72c082bc29fdceca33f37477b7588f31630a5f
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lld/ELF/InputSection.cpp
M lld/ELF/OutputSections.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
Log Message:
-----------
[ELF] Change getSymbolIndex to use const reference. NFC
Commit: 0007d7eac9367d184df173a0b7450dfdaaf8a551
https://github.com/llvm/llvm-project/commit/0007d7eac9367d184df173a0b7450dfdaaf8a551
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/include/flang/Common/visit.h
Log Message:
-----------
[flang] Reduce recursion in common::visit (#85483)
This patch yields small speed-ups in compiler build and execution times,
but more importantly, reduces the stack depth needed in a build
environment where tail call optimization does not appear to occur.
Commit: 606a997a3cb83437e1aeef9fee55144863b0ad76
https://github.com/llvm/llvm-project/commit/606a997a3cb83437e1aeef9fee55144863b0ad76
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/include/flang/Evaluate/real.h
M flang/test/Evaluate/fold-scale.f90
Log Message:
-----------
[flang] Fix SCALE() folding with big scale factors (#85576)
The folding of the SCALE() intrinsic function is implemented via
multiplication by a power of two; this simplifies handling of
exceptional cases. But sometimes scaling by a power of two requires an
exponent larger or smaller than a floating-point format can represent,
and two multiplications are required.
Commit: 7eb5d4fc129a9b99b4dfe8f84507a08a72b55ecf
https://github.com/llvm/llvm-project/commit/7eb5d4fc129a9b99b4dfe8f84507a08a72b55ecf
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/runtime/edit-input.cpp
M flang/unittests/Runtime/NumericalFormatTest.cpp
Log Message:
-----------
[flang][runtime] Round hex REAL input correctly with excess digits (#85587)
Excess hexadecimal digits were too significant for rounding purposes,
leading to inappropriate rounding away from zero for some modes.
Commit: 53e8d501e2653f416bea9ddf2687bb0aff0c9e46
https://github.com/llvm/llvm-project/commit/53e8d501e2653f416bea9ddf2687bb0aff0c9e46
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/declarations02.f90
Log Message:
-----------
[flang] Catch inappropriate attributes for PARAMETERs (#85588)
There's several symbol attributes that cannot be applied to named
constants, but that weren't being checked.
Commit: d0d9839b146692160aa3e0efed86faefde949f49
https://github.com/llvm/llvm-project/commit/d0d9839b146692160aa3e0efed86faefde949f49
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/lib/Semantics/data-to-inits.cpp
Log Message:
-----------
[flang] Fix crash on erroneous program (#85615) (#85659)
Replace a pointer that should never be null with a reference argument so
that it's always defined.
Fixes https://github.com/llvm/llvm-project/issues/85615.
Commit: 5d56b34807e0f6e7a6684e57bec7c1751778862c
https://github.com/llvm/llvm-project/commit/5d56b34807e0f6e7a6684e57bec7c1751778862c
Author: Michael Jones <michaelrj at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/fuzzing/CMakeLists.txt
M libc/fuzzing/math/RemQuoDiff.h
M libc/fuzzing/math/SingleInputSingleOutputDiff.h
M libc/fuzzing/math/TwoInputSingleOutputDiff.h
M libc/fuzzing/stdlib/strtofloat_fuzz.cpp
M libc/src/__support/FPUtil/FEnvImpl.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/math/generic/math_utils.h
M libc/test/UnitTest/FPMatcher.h
M libc/test/src/__support/uint_test.cpp
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/CeilTest.h
M libc/test/src/math/CopySignTest.h
M libc/test/src/math/FAbsTest.h
M libc/test/src/math/FDimTest.h
M libc/test/src/math/FMaxTest.h
M libc/test/src/math/FMinTest.h
M libc/test/src/math/FModTest.h
M libc/test/src/math/FloorTest.h
M libc/test/src/math/FrexpTest.h
M libc/test/src/math/HypotTest.h
M libc/test/src/math/ILogbTest.h
M libc/test/src/math/LdExpTest.h
M libc/test/src/math/LogbTest.h
M libc/test/src/math/ModfTest.h
M libc/test/src/math/NextAfterTest.h
M libc/test/src/math/RIntTest.h
M libc/test/src/math/RemQuoTest.h
M libc/test/src/math/RoundTest.h
M libc/test/src/math/RoundToIntegerTest.h
M libc/test/src/math/SqrtTest.h
M libc/test/src/math/TruncTest.h
M libc/test/src/math/acosf_test.cpp
M libc/test/src/math/acoshf_test.cpp
M libc/test/src/math/asinf_test.cpp
M libc/test/src/math/asinhf_test.cpp
M libc/test/src/math/atanf_test.cpp
M libc/test/src/math/atanhf_test.cpp
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/cosf_test.cpp
M libc/test/src/math/coshf_test.cpp
M libc/test/src/math/erff_test.cpp
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/fmod_generic_impl_test.cpp
M libc/test/src/math/exp10_test.cpp
M libc/test/src/math/exp10f_test.cpp
M libc/test/src/math/exp2_test.cpp
M libc/test/src/math/exp2f_test.cpp
M libc/test/src/math/exp_test.cpp
M libc/test/src/math/expf_test.cpp
M libc/test/src/math/explogxf_test.cpp
M libc/test/src/math/expm1_test.cpp
M libc/test/src/math/expm1f_test.cpp
M libc/test/src/math/fdim_test.cpp
M libc/test/src/math/fdimf_test.cpp
M libc/test/src/math/fdiml_test.cpp
M libc/test/src/math/ilogb_test.cpp
M libc/test/src/math/ilogbf_test.cpp
M libc/test/src/math/ilogbl_test.cpp
M libc/test/src/math/inv_trigf_utils_test.cpp
M libc/test/src/math/log10_test.cpp
M libc/test/src/math/log10f_test.cpp
M libc/test/src/math/log1p_test.cpp
M libc/test/src/math/log1pf_test.cpp
M libc/test/src/math/log2_test.cpp
M libc/test/src/math/log2f_test.cpp
M libc/test/src/math/log_test.cpp
M libc/test/src/math/logf_test.cpp
M libc/test/src/math/powf_test.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/sincosf_test.cpp
M libc/test/src/math/sinf_test.cpp
M libc/test/src/math/sinhf_test.cpp
M libc/test/src/math/smoke/CeilTest.h
M libc/test/src/math/smoke/CopySignTest.h
M libc/test/src/math/smoke/FAbsTest.h
M libc/test/src/math/smoke/FModTest.h
M libc/test/src/math/smoke/FloorTest.h
M libc/test/src/math/smoke/HypotTest.h
M libc/test/src/math/smoke/ModfTest.h
M libc/test/src/math/smoke/NextAfterTest.h
M libc/test/src/math/smoke/NextTowardTest.h
M libc/test/src/math/smoke/RIntTest.h
M libc/test/src/math/smoke/RemQuoTest.h
M libc/test/src/math/smoke/RoundTest.h
M libc/test/src/math/smoke/RoundToIntegerTest.h
M libc/test/src/math/smoke/SqrtTest.h
M libc/test/src/math/smoke/TruncTest.h
M libc/test/src/math/smoke/acosf_test.cpp
M libc/test/src/math/smoke/acoshf_test.cpp
M libc/test/src/math/smoke/asinf_test.cpp
M libc/test/src/math/smoke/asinhf_test.cpp
M libc/test/src/math/smoke/atanf_test.cpp
M libc/test/src/math/smoke/atanhf_test.cpp
M libc/test/src/math/smoke/cosf_test.cpp
M libc/test/src/math/smoke/coshf_test.cpp
M libc/test/src/math/smoke/erff_test.cpp
M libc/test/src/math/smoke/exp10_test.cpp
M libc/test/src/math/smoke/exp10f_test.cpp
M libc/test/src/math/smoke/exp2_test.cpp
M libc/test/src/math/smoke/exp2f_test.cpp
M libc/test/src/math/smoke/exp_test.cpp
M libc/test/src/math/smoke/expf_test.cpp
M libc/test/src/math/smoke/expm1_test.cpp
M libc/test/src/math/smoke/expm1f_test.cpp
M libc/test/src/math/smoke/log10_test.cpp
M libc/test/src/math/smoke/log10f_test.cpp
M libc/test/src/math/smoke/log1p_test.cpp
M libc/test/src/math/smoke/log1pf_test.cpp
M libc/test/src/math/smoke/log2_test.cpp
M libc/test/src/math/smoke/log2f_test.cpp
M libc/test/src/math/smoke/log_test.cpp
M libc/test/src/math/smoke/logf_test.cpp
M libc/test/src/math/smoke/powf_test.cpp
M libc/test/src/math/smoke/sincosf_test.cpp
M libc/test/src/math/smoke/sinf_test.cpp
M libc/test/src/math/smoke/sinhf_test.cpp
M libc/test/src/math/smoke/tanf_test.cpp
M libc/test/src/math/smoke/tanhf_test.cpp
M libc/test/src/math/tan_test.cpp
M libc/test/src/math/tanf_test.cpp
M libc/test/src/math/tanhf_test.cpp
M libc/test/utils/FPUtil/x86_long_double_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl
Log Message:
-----------
[libc] Remove direct math.h includes (#85324)
Reland of #84991
A downstream overlay mode user ran into issues with the isnan macro not
working in our sources with a specific libc configuration. This patch
replaces the last direct includes of math.h with our internal
math_macros.h, along with the necessary build system changes.
Commit: 8b8e1adbdecd5f37ebcaa8d4fdf333962f7a0eb7
https://github.com/llvm/llvm-project/commit/8b8e1adbdecd5f37ebcaa8d4fdf333962f7a0eb7
Author: Jonas Paulsson <paulson1 at linux.ibm.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/PowerPC/PPCInstrP10.td
M llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/lib/Target/SystemZ/SystemZISelLowering.h
M llvm/lib/Target/SystemZ/SystemZInstrFP.td
M llvm/lib/Target/SystemZ/SystemZInstrFormats.td
M llvm/lib/Target/SystemZ/SystemZInstrHFP.td
M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
M llvm/lib/Target/SystemZ/SystemZInstrVector.td
M llvm/lib/Target/SystemZ/SystemZOperators.td
M llvm/lib/Target/SystemZ/SystemZPatterns.td
M llvm/lib/Target/VE/VEInstrInfo.td
M llvm/test/CodeGen/SystemZ/atomic-load-06.ll
A llvm/test/CodeGen/SystemZ/atomic-memops-fp128.ll
A llvm/test/CodeGen/SystemZ/atomic-memops.ll
M llvm/test/CodeGen/SystemZ/atomic-store-06.ll
Log Message:
-----------
[SystemZ] Don't lower ATOMIC_LOAD/STORE to LOAD/STORE (#75879)
- Instead of lowering float/double ISD::ATOMIC_LOAD / ISD::ATOMIC_STORE
nodes to regular LOAD/STORE nodes, make them legal and select those nodes
properly instead. This avoids exposing them to the DAGCombiner.
- AtomicExpand pass no longer casts float/double atomic load/stores to integer
(FP128 is still casted).
Commit: 65d444b9edb895443754c13d9c008af180eb5c71
https://github.com/llvm/llvm-project/commit/65d444b9edb895443754c13d9c008af180eb5c71
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
Log Message:
-----------
[lldb][nfc] Factor out repeated code in DWIM Print (#85669)
The code that prints ValueObjects is duplicated across two different
cases of the dwim-print command, and a subsequent commit will add a
third case. As such, this commit factors out the common code into a
lambda. A free function was considered, but there is too much
function-local context required in that.
We also reword some of the comments so that they stop counting cases,
making it easier to add other cases later.
Commit: 7459f7247312f7035281062be9fc3d2bcde4bfc0
https://github.com/llvm/llvm-project/commit/7459f7247312f7035281062be9fc3d2bcde4bfc0
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Shared/VTuneSharedStructs.h
Log Message:
-----------
Add missing includes (to fix the modules build)
Commit: 228757f6c3cd9271eb25b8869445aab5216fe0b6
https://github.com/llvm/llvm-project/commit/228757f6c3cd9271eb25b8869445aab5216fe0b6
Author: Fangrui Song <i at maskray.me>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M lld/test/ELF/pack-dyn-relocs-arm2.s
M lld/test/ELF/pack-dyn-relocs.s
Log Message:
-----------
[ELF] Improve --pack-dyn-relocs tests for Android and RELR
Commit: e0b19e957e0ef9b4d88e09c44d6499d931328ecc
https://github.com/llvm/llvm-project/commit/e0b19e957e0ef9b4d88e09c44d6499d931328ecc
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M mlir/lib/Interfaces/ViewLikeInterface.cpp
Log Message:
-----------
[MLIR] Remove unused implicit capture in the lambda (NFC)
This lambda does not capture anything, the `&` is just misleading.
Commit: 4841858862df4b8ac4ac68922086f03c8bbd3dc2
https://github.com/llvm/llvm-project/commit/4841858862df4b8ac4ac68922086f03c8bbd3dc2
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M bolt/lib/Core/DebugNames.cpp
A bolt/test/X86/dwarf5-debug-names-dw-at-specification.s
M bolt/test/X86/dwarf5-debug-names-generate-debug-names.test
M bolt/test/X86/dwarf5-debug-names.test
M bolt/test/X86/dwarf5-one-cu-debug-names.test
Log Message:
-----------
[BOLT][DWARF] Add support to debug_names for DW_AT_abstract_origin/DW_AT_specification (#85485)
According to the DWARF spec a DIE that has DW_AT_specification or
DW_AT_abstract_origin can be part of .debug_name if a DIE those
attribute points to has DW_AT_name or DW_AT_linkage_name.
Commit: 7ef1a59ed1ca176cf3c38672fe1d3f49c1758e49
https://github.com/llvm/llvm-project/commit/7ef1a59ed1ca176cf3c38672fe1d3f49c1758e49
Author: Florian Mayer <fmayer at google.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_checks.h
Log Message:
-----------
remove incorrect DCHECK
this DCHECK was not valid for hwasan_load1, and was not necessary for
the. the function is written without any assumptions of alignment of the
pointer.
Commit: 715a931864eff4021463d40b73ef4b1b63959f3f
https://github.com/llvm/llvm-project/commit/715a931864eff4021463d40b73ef4b1b63959f3f
Author: Shourya Goel <shouryagoel10000 at gmail.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M libc/spec/posix.td
Log Message:
-----------
[libc] Added tablegen definition for fileno (#85682)
This was missed in the previous PR. Updating tablegen definition with this PR.
Commit: f4e90e3f3c02a94a17bd8fe6ad18dbb46f92d027
https://github.com/llvm/llvm-project/commit/f4e90e3f3c02a94a17bd8fe6ad18dbb46f92d027
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/runtime/freestanding-tools.h
M flang/runtime/numeric-templates.h
M flang/runtime/tools.cpp
M flang/runtime/tools.h
Log Message:
-----------
[flang][runtime] Get rid of warnings in F18 runtime CUDA build. (#85488)
Commit: 94b39c3ce88bdc2b524afec0c82686de84aa1fb2
https://github.com/llvm/llvm-project/commit/94b39c3ce88bdc2b524afec0c82686de84aa1fb2
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .ci/monolithic-linux.sh
M .ci/monolithic-windows.sh
M .clang-tidy
M .github/CODEOWNERS
M .github/new-prs-labeler.yml
M .github/workflows/containers/github-action-ci/stage2.Dockerfile
M .github/workflows/issue-release-workflow.yml
M .github/workflows/llvm-project-tests.yml
M .github/workflows/pr-code-format.yml
M .github/workflows/release-binaries.yml
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DebugNames.h
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/include/bolt/Core/ParallelUtilities.h
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugNames.cpp
M bolt/lib/Core/ParallelUtilities.cpp
M bolt/lib/Core/Relocation.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Passes/ShrinkWrapping.cpp
M bolt/lib/Profile/StaleProfileMatching.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/RISCV/RISCVMCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
A bolt/test/X86/Inputs/dwarf5-debug-names-ftu-ltu-mix-helper.s
A bolt/test/X86/Inputs/dwarf5-debug-names-ftu-ltu-mix-helper1.s
A bolt/test/X86/Inputs/dwarf5-df-debug-names-ftu-ltu-mix-main.s
A bolt/test/X86/dwarf5-debug-names-dw-at-specification.s
M bolt/test/X86/dwarf5-debug-names-generate-debug-names.test
M bolt/test/X86/dwarf5-debug-names.test
M bolt/test/X86/dwarf5-df-debug-names-generate-debug-names.test
M bolt/test/X86/dwarf5-df-debug-names.test
A bolt/test/X86/dwarf5-df-main-debug-names-ftu-ltu-mix.test
M bolt/test/X86/dwarf5-df-one-cu-debug-names.test
M bolt/test/X86/dwarf5-df-types-debug-names.test
M bolt/test/X86/dwarf5-df-types-one-cu-debug-names.test
M bolt/test/X86/dwarf5-one-cu-debug-names.test
M bolt/test/X86/dwarf5-types-debug-names.test
M bolt/test/X86/dwarf5-types-one-cu-debug-names.test
M bolt/test/X86/gotpcrelx.s
A bolt/test/X86/linux-alt-instruction.s
A bolt/test/X86/linux-bug-table.s
A bolt/test/X86/linux-exceptions.s
A bolt/test/X86/linux-parainstructions.s
A bolt/test/X86/linux-pci-fixup.s
M bolt/test/X86/pt_gnu_relro.s
M bolt/test/X86/reader-stale-yaml.test
M bolt/tools/merge-fdata/merge-fdata.cpp
M bolt/unittests/Core/BinaryContext.cpp
M bolt/unittests/Core/MCPlusBuilder.cpp
M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
M clang-tools-extra/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp
M clang-tools-extra/clang-tidy/bugprone/AssertSideEffectCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
M clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
A clang-tools-extra/clang-tidy/bugprone/CrtpConstructorAccessibilityCheck.cpp
A clang-tools-extra/clang-tidy/bugprone/CrtpConstructorAccessibilityCheck.h
M clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.h
M clang-tools-extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp
M clang-tools-extra/clang-tidy/cppcoreguidelines/MissingStdForwardCheck.cpp
M clang-tools-extra/clang-tidy/hicpp/IgnoredRemoveResultCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
M clang-tools-extra/clang-tidy/utils/DeclRefExprUtils.cpp
M clang-tools-extra/clangd/ClangdServer.cpp
M clang-tools-extra/clangd/CodeComplete.cpp
M clang-tools-extra/clangd/FindSymbols.cpp
M clang-tools-extra/clangd/HeuristicResolver.cpp
M clang-tools-extra/clangd/HeuristicResolver.h
M clang-tools-extra/clangd/IncludeCleaner.cpp
M clang-tools-extra/clangd/IncludeCleaner.h
M clang-tools-extra/clangd/JSONTransport.cpp
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/clangd/Protocol.cpp
M clang-tools-extra/clangd/SourceCode.cpp
M clang-tools-extra/clangd/SourceCode.h
M clang-tools-extra/clangd/refactor/Rename.cpp
M clang-tools-extra/clangd/tool/Check.cpp
M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
M clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
M clang-tools-extra/clangd/unittests/FindTargetTests.cpp
M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
M clang-tools-extra/clangd/unittests/SelectionTests.cpp
M clang-tools-extra/clangd/unittests/SourceCodeTests.cpp
M clang-tools-extra/clangd/unittests/tweaks/ExtractVariableTests.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/docs/clang-tidy/checks/bugprone/crtp-constructor-accessibility.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-return-value.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/use-after-move.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/identifier-naming.rst
M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/assert-side-effect.cpp
A clang-tools-extra/test/clang-tidy/checkers/bugprone/crtp-constructor-accessibility.cpp
A clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-return-value-avoid-assignment.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-return-value-custom.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-return-value.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/use-after-move.cpp
M clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/missing-std-forward.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/hungarian-notation3/.clang-tidy
A clang-tools-extra/test/clang-tidy/checkers/readability/identifier-naming-hungarian-notation-lower-case-prefix.cpp
M clang-tools-extra/unittests/clang-tidy/DeclRefExprUtilsTest.cpp
M clang/CodeOwners.rst
M clang/bindings/python/clang/cindex.py
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Fuchsia.cmake
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/DataFlowSanitizer.rst
M clang/docs/LanguageExtensions.rst
M clang/docs/LibASTMatchersReference.html
A clang/docs/PointerAuthentication.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/UsersManual.rst
M clang/docs/analyzer/checkers.rst
M clang/docs/conf.py
A clang/docs/ghlinks.py
M clang/docs/tools/dump_format_style.py
M clang/include/clang-c/Index.h
M clang/include/clang/AST/Availability.h
M clang/include/clang/AST/Decl.h
M clang/include/clang/AST/DeclBase.h
M clang/include/clang/AST/DeclOpenMP.h
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/ExprCXX.h
M clang/include/clang/AST/ParentMapContext.h
M clang/include/clang/AST/Type.h
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h
M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
M clang/include/clang/Basic/AllDiagnostics.h
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/BuiltinsAArch64.def
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/include/clang/Basic/BuiltinsBase.td
M clang/include/clang/Basic/BuiltinsX86.def
M clang/include/clang/Basic/CMakeLists.txt
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/Cuda.h
M clang/include/clang/Basic/DarwinSDKInfo.h
M clang/include/clang/Basic/DeclNodes.td
M clang/include/clang/Basic/Diagnostic.td
M clang/include/clang/Basic/DiagnosticASTKinds.td
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticIDs.h
A clang/include/clang/Basic/DiagnosticInstallAPI.h
A clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/Features.def
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Basic/LangStandard.h
M clang/include/clang/Basic/Module.h
M clang/include/clang/Basic/OpenCLExtensionTypes.def
M clang/include/clang/Basic/RISCVVTypes.def
M clang/include/clang/Basic/TargetInfo.h
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Basic/arm_neon_incl.td
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/OffloadBundler.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/ToolChain.h
M clang/include/clang/Format/.clang-format
M clang/include/clang/Format/Format.h
M clang/include/clang/Frontend/FrontendActions.h
M clang/include/clang/Frontend/FrontendOptions.h
M clang/include/clang/InstallAPI/Context.h
A clang/include/clang/InstallAPI/DylibVerifier.h
M clang/include/clang/InstallAPI/Frontend.h
A clang/include/clang/InstallAPI/FrontendRecords.h
A clang/include/clang/InstallAPI/InstallAPIDiagnostic.h
A clang/include/clang/InstallAPI/MachO.h
M clang/include/clang/InstallAPI/Visitor.h
M clang/include/clang/Interpreter/Interpreter.h
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/DeclSpec.h
M clang/include/clang/Sema/ParsedAttr.h
M clang/include/clang/Sema/Scope.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/include/clang/Serialization/PCHContainerOperations.h
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/include/clang/StaticAnalyzer/Core/CheckerManager.h
M clang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
M clang/include/clang/Testing/CommandLineArgs.h
M clang/include/clang/Testing/TestClangConfig.h
M clang/lib/APINotes/APINotesManager.cpp
M clang/lib/ARCMigrate/TransGCAttrs.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/AST/Decl.cpp
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/DeclCXX.cpp
M clang/lib/AST/DeclPrinter.cpp
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeEmitter.cpp
M clang/lib/AST/Interp/ByteCodeEmitter.h
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
R clang/lib/AST/Interp/ByteCodeGenError.cpp
R clang/lib/AST/Interp/ByteCodeGenError.h
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/lib/AST/Interp/ByteCodeStmtGen.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/Descriptor.h
M clang/lib/AST/Interp/Disasm.cpp
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/FunctionPointer.h
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/Opcodes.td
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/lib/AST/Interp/PrimType.h
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Program.h
M clang/lib/AST/MicrosoftMangle.cpp
M clang/lib/AST/StmtOpenACC.cpp
M clang/lib/AST/Type.cpp
M clang/lib/ASTMatchers/Dynamic/Registry.cpp
M clang/lib/Analysis/FlowSensitive/ControlFlowContext.cpp
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
M clang/lib/Basic/Attributes.cpp
M clang/lib/Basic/DiagnosticIDs.cpp
M clang/lib/Basic/LangStandards.cpp
M clang/lib/Basic/Module.cpp
M clang/lib/Basic/OpenMPKinds.cpp
M clang/lib/Basic/TargetInfo.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/Basic/Targets/BPF.cpp
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGAtomic.cpp
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGCoroutine.cpp
M clang/lib/CodeGen/CGDecl.cpp
M clang/lib/CodeGen/CGHLSLRuntime.cpp
M clang/lib/CodeGen/CGObjCMac.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenTBAA.cpp
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/CodeGen/Targets/AMDGPU.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
M clang/lib/CodeGen/Targets/RISCV.cpp
M clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/OffloadBundler.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/AIX.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
M clang/lib/Driver/ToolChains/Arch/ARM.cpp
M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
M clang/lib/Driver/ToolChains/Arch/Mips.h
M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
M clang/lib/Driver/ToolChains/Arch/Sparc.h
M clang/lib/Driver/ToolChains/BareMetal.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/CommonArgs.h
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/DragonFly.cpp
M clang/lib/Driver/ToolChains/FreeBSD.cpp
M clang/lib/Driver/ToolChains/Fuchsia.cpp
M clang/lib/Driver/ToolChains/Gnu.cpp
M clang/lib/Driver/ToolChains/HIPUtility.cpp
M clang/lib/Driver/ToolChains/HLSL.cpp
M clang/lib/Driver/ToolChains/Haiku.cpp
M clang/lib/Driver/ToolChains/Hexagon.cpp
M clang/lib/Driver/ToolChains/Linux.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/lib/Driver/ToolChains/MinGW.cpp
M clang/lib/Driver/ToolChains/MipsLinux.cpp
M clang/lib/Driver/ToolChains/NetBSD.cpp
M clang/lib/Driver/ToolChains/OHOS.cpp
M clang/lib/Driver/ToolChains/OpenBSD.cpp
M clang/lib/Driver/ToolChains/WebAssembly.cpp
M clang/lib/Driver/ToolChains/ZOS.cpp
M clang/lib/Format/.clang-format
M clang/lib/Format/AffectedRangeManager.cpp
M clang/lib/Format/BreakableToken.cpp
M clang/lib/Format/BreakableToken.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/ContinuationIndenter.h
M clang/lib/Format/DefinitionBlockSeparator.cpp
M clang/lib/Format/Encoding.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatInternal.h
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/FormatTokenLexer.h
M clang/lib/Format/FormatTokenSource.h
M clang/lib/Format/MacroCallReconstructor.cpp
M clang/lib/Format/MacroExpander.cpp
M clang/lib/Format/Macros.h
M clang/lib/Format/NamespaceEndCommentsFixer.cpp
M clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/SortJavaScriptImports.cpp
M clang/lib/Format/SortJavaScriptImports.h
M clang/lib/Format/TokenAnalyzer.cpp
M clang/lib/Format/TokenAnalyzer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Format/UnwrappedLineFormatter.h
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/lib/Format/UsingDeclarationsSorter.cpp
M clang/lib/Format/WhitespaceManager.cpp
M clang/lib/Format/WhitespaceManager.h
M clang/lib/Frontend/CompilerInstance.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
M clang/lib/Headers/CMakeLists.txt
M clang/lib/Headers/__stddef_null.h
M clang/lib/Headers/__stddef_nullptr_t.h
M clang/lib/Headers/__stddef_offsetof.h
M clang/lib/Headers/__stddef_ptrdiff_t.h
M clang/lib/Headers/__stddef_rsize_t.h
M clang/lib/Headers/__stddef_size_t.h
M clang/lib/Headers/__stddef_unreachable.h
M clang/lib/Headers/__stddef_wchar_t.h
M clang/lib/Headers/avxintrin.h
M clang/lib/Headers/emmintrin.h
M clang/lib/Headers/hlsl/hlsl_basic_types.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Headers/larchintrin.h
M clang/lib/Headers/llvm_libc_wrappers/assert.h
M clang/lib/Headers/module.modulemap
A clang/lib/Headers/ptrauth.h
M clang/lib/Headers/smmintrin.h
M clang/lib/Headers/xmmintrin.h
M clang/lib/InstallAPI/CMakeLists.txt
A clang/lib/InstallAPI/DylibVerifier.cpp
M clang/lib/InstallAPI/Frontend.cpp
M clang/lib/InstallAPI/Visitor.cpp
M clang/lib/Interpreter/Interpreter.cpp
M clang/lib/Lex/ModuleMap.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Parse/Parser.cpp
M clang/lib/Sema/AnalysisBasedWarnings.cpp
M clang/lib/Sema/DeclSpec.cpp
M clang/lib/Sema/ParsedAttr.cpp
M clang/lib/Sema/Scope.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaCUDA.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaCodeComplete.cpp
M clang/lib/Sema/SemaConcept.cpp
M clang/lib/Sema/SemaCoroutine.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaModule.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaStmtAttr.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/Serialization/GeneratePCH.cpp
M clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp
M clang/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
M clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/STLAlgorithmModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp
M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
M clang/lib/StaticAnalyzer/Core/CallDescription.cpp
M clang/lib/StaticAnalyzer/Core/CallEvent.cpp
M clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp
M clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
M clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp
M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
M clang/lib/Testing/CommandLineArgs.cpp
M clang/lib/Tooling/AllTUsExecution.cpp
M clang/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp
M clang/lib/Tooling/Refactoring/AtomicChange.cpp
M clang/test/AST/Interp/arrays.cpp
M clang/test/AST/Interp/builtin-functions.cpp
M clang/test/AST/Interp/builtins.cpp
M clang/test/AST/Interp/c.c
A clang/test/AST/Interp/c23.c
M clang/test/AST/Interp/complex.c
M clang/test/AST/Interp/complex.cpp
M clang/test/AST/Interp/cxx23.cpp
M clang/test/AST/Interp/cxx98.cpp
M clang/test/AST/Interp/functions.cpp
M clang/test/AST/Interp/if.cpp
M clang/test/AST/Interp/literals.cpp
A clang/test/AST/Interp/ms.cpp
M clang/test/AST/Interp/records.cpp
M clang/test/AST/ast-dump-concepts.cpp
M clang/test/AST/ast-print-objectivec.m
M clang/test/AST/coroutine-locals-cleanup.cpp
M clang/test/Analysis/Checkers/WebKit/mock-types.h
M clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
M clang/test/Analysis/Inputs/system-header-simulator-for-malloc.h
M clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h
M clang/test/Analysis/Inputs/system-header-simulator-for-valist.h
M clang/test/Analysis/Inputs/system-header-simulator.h
M clang/test/Analysis/analyzer-config.c
A clang/test/Analysis/assuming-unsigned-ge-0.c
M clang/test/Analysis/block-in-critical-section.cpp
M clang/test/Analysis/cxx2b-deducing-this.cpp
A clang/test/Analysis/getline-alloc.c
M clang/test/Analysis/loop-unrolling.cpp
M clang/test/Analysis/misc-ps-region-store.mm
M clang/test/Analysis/stack-addr-ps.c
M clang/test/Analysis/std-c-library-functions.c
M clang/test/Analysis/stream-error.c
M clang/test/Analysis/stream-invalidate.c
M clang/test/Analysis/stream.c
A clang/test/C/C2x/n3018.c
M clang/test/C/drs/dr0xx.c
M clang/test/C/drs/dr2xx.c
M clang/test/CXX/basic/basic.link/p10-ex2.cpp
M clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/p4-friend-in-reachable-class.cpp
M clang/test/CXX/class/class.compare/class.compare.default/p3.cpp
M clang/test/CXX/class/class.compare/class.compare.default/p4.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/dtor.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3-2b.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p4.cpp
M clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/p2.cpp
M clang/test/CXX/drs/dr13xx.cpp
M clang/test/CXX/drs/dr14xx.cpp
M clang/test/CXX/drs/dr15xx.cpp
M clang/test/CXX/drs/dr16xx.cpp
M clang/test/CXX/drs/dr24xx.cpp
M clang/test/CXX/drs/dr25xx.cpp
A clang/test/CXX/drs/dr438.cpp
A clang/test/CXX/drs/dr439.cpp
A clang/test/CXX/drs/dr441.cpp
A clang/test/CXX/drs/dr462.cpp
A clang/test/CXX/drs/dr492.cpp
M clang/test/CXX/drs/dr4xx.cpp
A clang/test/CXX/drs/dr519.cpp
A clang/test/CXX/drs/dr571.cpp
M clang/test/CXX/drs/dr5xx.cpp
M clang/test/CXX/drs/dr6xx.cpp
M clang/test/CXX/expr/expr.const/p5-26.cpp
M clang/test/CXX/module/dcl.dcl/dcl.module/dcl.module.interface/p1.cppm
M clang/test/CXX/special/class.copy/p13-0x.cpp
M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p4.cpp
M clang/test/CXX/temp/temp.res/temp.local/p6.cpp
A clang/test/ClangScanDeps/working-directory-option.c
M clang/test/CodeCompletion/ordinary-name.c
M clang/test/CodeGen/LoongArch/intrinsic-la32.c
M clang/test/CodeGen/LoongArch/intrinsic-la64.c
M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-error.c
M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-rotate.c
A clang/test/CodeGen/PowerPC/toc-data-attribute.c
A clang/test/CodeGen/PowerPC/toc-data-attribute.cpp
A clang/test/CodeGen/PowerPC/toc-data-diagnostics.c
A clang/test/CodeGen/PowerPC/toc-data-structs-arrays.cpp
A clang/test/CodeGen/SystemZ/atomic_fp_load_store.c
A clang/test/CodeGen/X86/attribute-cmpsd-no-error.c
M clang/test/CodeGen/X86/avx-builtins.c
A clang/test/CodeGen/X86/cmp-avx-builtins-error.c
M clang/test/CodeGen/X86/sse-builtins.c
M clang/test/CodeGen/X86/sse2-builtins.c
A clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dupq.c
M clang/test/CodeGen/atomic.c
A clang/test/CodeGen/attr-availability-visionos.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/CodeGen/builtins-arm64.c
M clang/test/CodeGen/c11atomics-ios.c
A clang/test/CodeGen/complex-math-mixed.c
M clang/test/CodeGen/const-init.c
A clang/test/CodeGen/ptrauth-intrinsics.c
A clang/test/CodeGen/remote-traps.c
M clang/test/CodeGen/target-features-error-2.c
A clang/test/CodeGen/tbaa-struct-relaxed-aliasing-with-tsan.cpp
M clang/test/CodeGen/tbaa-struct.cpp
M clang/test/CodeGen/volatile.cpp
M clang/test/CodeGenCUDA/amdgpu-code-object-version-linking.cu
M clang/test/CodeGenCUDA/amdgpu-code-object-version.cu
M clang/test/CodeGenCUDA/amdgpu-kernel-attrs.cu
M clang/test/CodeGenCUDA/host-used-extern.cu
M clang/test/CodeGenCXX/arm-swiftcall.cpp
A clang/test/CodeGenCXX/cxx23-assume.cpp
M clang/test/CodeGenCXX/mangle-ms-back-references.cpp
M clang/test/CodeGenCoroutines/coro-always-inline.cpp
M clang/test/CodeGenCoroutines/coro-await.cpp
R clang/test/CodeGenCoroutines/coro-awaiter-noinline-suspend.cpp
M clang/test/CodeGenCoroutines/coro-dwarf.cpp
M clang/test/CodeGenCoroutines/coro-function-try-block.cpp
M clang/test/CodeGenCoroutines/coro-symmetric-transfer-01.cpp
M clang/test/CodeGenCoroutines/coro-symmetric-transfer-02.cpp
M clang/test/CodeGenCoroutines/pr56329.cpp
M clang/test/CodeGenCoroutines/pr59181.cpp
M clang/test/CodeGenCoroutines/pr65054.cpp
M clang/test/CodeGenHIP/default-attributes.hip
A clang/test/CodeGenHLSL/builtins/any.hlsl
A clang/test/CodeGenHLSL/builtins/clamp-builtin.hlsl
A clang/test/CodeGenHLSL/builtins/clamp.hlsl
A clang/test/CodeGenHLSL/builtins/exp.hlsl
A clang/test/CodeGenHLSL/builtins/exp2.hlsl
A clang/test/CodeGenHLSL/builtins/isinf.hlsl
M clang/test/CodeGenHLSL/builtins/lerp-builtin.hlsl
M clang/test/CodeGenHLSL/builtins/lerp.hlsl
A clang/test/CodeGenHLSL/builtins/mad.hlsl
A clang/test/CodeGenHLSL/builtins/rcp.hlsl
A clang/test/CodeGenHLSL/builtins/rsqrt.hlsl
M clang/test/CodeGenHLSL/semantics/DispatchThreadID.hlsl
M clang/test/CodeGenObjC/constant-non-fragile-ivar-offset.m
M clang/test/CodeGenObjC/debug-info-blocks.m
M clang/test/CodeGenOpenCL/amdgpu-attrs.cl
M clang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl
M clang/test/CodeGenOpenCL/amdgpu-features.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
M clang/test/Driver/aarch64-mcpu.c
M clang/test/Driver/amdgpu-openmp-toolchain.c
M clang/test/Driver/apple-kext-mkernel.c
M clang/test/Driver/arm-cortex-cpus-2.c
M clang/test/Driver/clang-g-opts.c
M clang/test/Driver/clang-offload-bundler-zlib.c
M clang/test/Driver/clang-offload-bundler-zstd.c
M clang/test/Driver/clang-offload-bundler.c
M clang/test/Driver/cuda-bad-arch.cu
M clang/test/Driver/cuda-cross-compiling.c
M clang/test/Driver/cuda-detect.cu
M clang/test/Driver/cuda-external-tools.cu
M clang/test/Driver/cuda-march.cu
M clang/test/Driver/cuda-omp-unsupported-debug-options.cu
M clang/test/Driver/cuda-options.cu
M clang/test/Driver/cuda-phases.cu
M clang/test/Driver/cuda-ptxas-path.cu
M clang/test/Driver/dwarf-target-version-clamp.cu
M clang/test/Driver/freebsd.c
M clang/test/Driver/fuchsia.c
M clang/test/Driver/haiku.c
M clang/test/Driver/hip-binding.hip
M clang/test/Driver/hip-cuid-hash.hip
M clang/test/Driver/hip-cuid.hip
M clang/test/Driver/hip-dependent-options.hip
M clang/test/Driver/hip-device-compile.hip
M clang/test/Driver/hip-link-bc-to-bc.hip
M clang/test/Driver/hip-link-bundle-archive.hip
M clang/test/Driver/hip-link-save-temps.hip
M clang/test/Driver/hip-link-shared-library.hip
M clang/test/Driver/hip-link-static-library.hip
M clang/test/Driver/hip-offload-compress-zlib.hip
M clang/test/Driver/hip-offload-compress-zstd.hip
M clang/test/Driver/hip-output-file-name.hip
M clang/test/Driver/hip-partial-link.hip
M clang/test/Driver/hip-phases.hip
M clang/test/Driver/hip-rdc-device-only.hip
M clang/test/Driver/hip-target-id.hip
M clang/test/Driver/hip-toolchain-features.hip
M clang/test/Driver/hip-toolchain-rdc-separate.hip
M clang/test/Driver/hip-toolchain-rdc-static-lib.hip
M clang/test/Driver/hip-toolchain-rdc.hip
M clang/test/Driver/hip-unbundle-preproc.hipi
M clang/test/Driver/hipspv-toolchain-rdc.hip
M clang/test/Driver/hipspv-toolchain.hip
M clang/test/Driver/linker-wrapper-image.c
M clang/test/Driver/linker-wrapper-libs.c
M clang/test/Driver/linker-wrapper.c
M clang/test/Driver/loongarch-munaligned-access.c
M clang/test/Driver/lto.cu
M clang/test/Driver/modules-print-library-module-manifest-path.cpp
M clang/test/Driver/munaligned-access-unused.c
M clang/test/Driver/netbsd.c
M clang/test/Driver/openbsd.c
M clang/test/Driver/openmp-offload-gpu.c
M clang/test/Driver/openmp-offload-infer.c
M clang/test/Driver/range.c
M clang/test/Driver/riscv-arch.c
M clang/test/Driver/riscv-features.c
M clang/test/Driver/split-debug.c
M clang/test/Driver/thinlto.cu
M clang/test/Driver/tls-dialect.c
A clang/test/Driver/toc-conf.c
A clang/test/Driver/tocdata-cc1.c
M clang/test/Headers/__clang_hip_math.hip
A clang/test/InstallAPI/asm.test
M clang/test/InstallAPI/basic.test
A clang/test/InstallAPI/cpp.test
M clang/test/InstallAPI/driver-invalid-options.test
A clang/test/InstallAPI/functions.test
M clang/test/InstallAPI/objcclasses.test
M clang/test/Interpreter/execute-stmts.cpp
A clang/test/Layout/dump-complete-invalid.cpp
M clang/test/Layout/dump-complete.cpp
M clang/test/Lexer/cxx-features.cpp
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
M clang/test/Misc/target-invalid-cpu-note.c
M clang/test/Misc/warning-wall.c
M clang/test/Modules/InheritDefaultArguments.cppm
R clang/test/Modules/Inputs/config.h
M clang/test/Modules/Inputs/module.modulemap
M clang/test/Modules/Reachability-Private.cpp
M clang/test/Modules/Reachability-func-default-arg.cpp
M clang/test/Modules/Reachability-func-ret.cpp
M clang/test/Modules/Reachability-template-default-arg.cpp
M clang/test/Modules/Reachability-template-instantiation.cpp
M clang/test/Modules/Reachability-using-templates.cpp
M clang/test/Modules/Reachability-using.cpp
M clang/test/Modules/concept.cppm
M clang/test/Modules/concept_differ.cppm
M clang/test/Modules/config_macros.m
M clang/test/Modules/ctor.arg.dep.cppm
M clang/test/Modules/cxx20-10-1-ex1.cpp
M clang/test/Modules/cxx20-10-1-ex2.cpp
M clang/test/Modules/cxx20-10-2-ex2.cpp
M clang/test/Modules/cxx20-10-2-ex5.cpp
M clang/test/Modules/cxx20-10-3-ex1.cpp
M clang/test/Modules/cxx20-10-3-ex2.cpp
M clang/test/Modules/cxx20-10-5-ex1.cpp
M clang/test/Modules/cxx20-import-diagnostics-a.cpp
M clang/test/Modules/cxx20-import-diagnostics-b.cpp
M clang/test/Modules/cxx20-module-file-info-macros.cpp
M clang/test/Modules/deduction-guide.cppm
M clang/test/Modules/deduction-guide2.cppm
M clang/test/Modules/deduction-guide3.cppm
M clang/test/Modules/derived_class.cpp
M clang/test/Modules/duplicated-module-file-eq-module-name.cppm
M clang/test/Modules/enum-class.cppm
M clang/test/Modules/explicitly-specialized-template.cpp
M clang/test/Modules/export-language-linkage.cppm
M clang/test/Modules/ftime-trace.cppm
A clang/test/Modules/hashing-decls-in-exprs-from-gmf.cppm
M clang/test/Modules/inconsistent-deduction-guide-linkage.cppm
M clang/test/Modules/inconsistent-export.cppm
M clang/test/Modules/inherited_arg.cppm
M clang/test/Modules/instantiation-argdep-lookup.cppm
M clang/test/Modules/lambdas.cppm
M clang/test/Modules/merge-concepts-cxx-modules.cpp
M clang/test/Modules/merge-constrained-friends.cpp
M clang/test/Modules/merge-lambdas.cppm
M clang/test/Modules/merge-requires-with-lambdas.cppm
M clang/test/Modules/merge-var-template-spec-cxx-modules.cppm
M clang/test/Modules/mismatch-diagnostics.cpp
R clang/test/Modules/missing-module-declaration.cppm
M clang/test/Modules/module-init-duplicated-import.cppm
M clang/test/Modules/named-modules-adl-2.cppm
M clang/test/Modules/named-modules-adl-3.cppm
M clang/test/Modules/named-modules-adl.cppm
M clang/test/Modules/no-duplicate-codegen-in-GMF.cppm
M clang/test/Modules/no-undeclared-includes-builtins.cpp
M clang/test/Modules/pair-unambiguous-ctor.cppm
M clang/test/Modules/partial_specialization.cppm
M clang/test/Modules/placement-new-reachable.cpp
M clang/test/Modules/polluted-operator.cppm
M clang/test/Modules/pr54457.cppm
M clang/test/Modules/pr56916.cppm
M clang/test/Modules/pr58532.cppm
M clang/test/Modules/pr58716.cppm
M clang/test/Modules/pr59719.cppm
M clang/test/Modules/pr59780.cppm
M clang/test/Modules/pr59999.cppm
M clang/test/Modules/pr60036.cppm
M clang/test/Modules/pr60085.cppm
M clang/test/Modules/pr60275.cppm
M clang/test/Modules/pr60486.cppm
M clang/test/Modules/pr60693.cppm
M clang/test/Modules/pr60775.cppm
M clang/test/Modules/pr60890.cppm
M clang/test/Modules/pr61065.cppm
M clang/test/Modules/pr61065_2.cppm
M clang/test/Modules/pr61067.cppm
M clang/test/Modules/pr61317.cppm
M clang/test/Modules/pr61783.cppm
M clang/test/Modules/pr61892.cppm
M clang/test/Modules/pr62158.cppm
M clang/test/Modules/pr62359.cppm
M clang/test/Modules/pr62589.cppm
M clang/test/Modules/pr62705.cppm
M clang/test/Modules/pr62796.cppm
M clang/test/Modules/pr62943.cppm
M clang/test/Modules/pr63544.cppm
M clang/test/Modules/pr63595.cppm
M clang/test/Modules/pr67627.cppm
M clang/test/Modules/pr67893.cppm
M clang/test/Modules/pr72828.cppm
M clang/test/Modules/predefined.cpp
M clang/test/Modules/preferred_name.cppm
M clang/test/Modules/redefinition-merges.cppm
A clang/test/Modules/reduced-bmi-generating-codes.cppm
M clang/test/Modules/redundant-template-default-arg.cpp
M clang/test/Modules/redundant-template-default-arg2.cpp
M clang/test/Modules/redundant-template-default-arg3.cpp
M clang/test/Modules/search-partitions.cpp
M clang/test/Modules/seperated-member-function-definition-for-template-class.cppm
M clang/test/Modules/stddef.c
M clang/test/Modules/template-function-specialization.cpp
M clang/test/Modules/template-lambdas.cppm
M clang/test/Modules/template-pack.cppm
M clang/test/Modules/template_default_argument.cpp
A clang/test/Modules/transitive-import.cppm
M clang/test/OpenMP/amdgcn_target_device_vla.cpp
M clang/test/OpenMP/amdgpu_target_with_aligned_attribute.c
M clang/test/OpenMP/atomic_read_codegen.c
M clang/test/OpenMP/atomic_write_codegen.c
A clang/test/OpenMP/attr-assume.cpp
M clang/test/OpenMP/bug60602.cpp
M clang/test/OpenMP/declare_target_ast_print.cpp
M clang/test/OpenMP/declare_target_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_if_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_reduction_task_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_if_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp
M clang/test/OpenMP/metadirective_device_arch_codegen.cpp
M clang/test/OpenMP/nvptx_SPMD_codegen.cpp
M clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
M clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
M clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp
M clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/nvptx_target_teams_generic_loop_codegen.cpp
M clang/test/OpenMP/nvptx_target_teams_generic_loop_generic_mode_codegen.cpp
M clang/test/OpenMP/reduction_implicit_map.cpp
M clang/test/OpenMP/target_ompx_dyn_cgroup_mem_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_collapse_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_reduction_task_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_codegen-1.cpp
M clang/test/OpenMP/target_teams_generic_loop_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_collapse_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_if_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_order_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_reduction_codegen.cpp
M clang/test/OpenMP/target_teams_generic_loop_uses_allocators_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_collapse_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_dist_schedule_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_if_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_reduction_task_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
M clang/test/OpenMP/teams_generic_loop_codegen-1.cpp
M clang/test/OpenMP/teams_generic_loop_codegen.cpp
M clang/test/OpenMP/teams_generic_loop_collapse_codegen.cpp
M clang/test/OpenMP/teams_generic_loop_private_codegen.cpp
M clang/test/OpenMP/teams_generic_loop_reduction_codegen.cpp
A clang/test/Options/HV.hlsl
A clang/test/Parser/c23-constexpr.c
A clang/test/Parser/cxx-declarator-attribute-crash.cpp
A clang/test/Parser/cxx23-assume.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/ParserOpenACC/parse-constructs.c
M clang/test/Preprocessor/bpf-predefined-macros.c
A clang/test/Preprocessor/ptrauth_feature.c
M clang/test/Preprocessor/riscv-target-features.c
M clang/test/Rewriter/rewrite-modern-class.mm
A clang/test/Sema/PR84368.cpp
M clang/test/Sema/aarch64-sve2p1-intrinsics/acle_sve2p1_imm.cpp
A clang/test/Sema/attr-availability-visionos.c
M clang/test/Sema/attr-cleanup.c
M clang/test/Sema/attr-target-version.c
M clang/test/Sema/builtins-arm64.c
A clang/test/Sema/complex-arithmetic.c
M clang/test/Sema/const-eval.c
A clang/test/Sema/const-init.c
M clang/test/Sema/constant-builtins-2.c
A clang/test/Sema/constexpr-void-cast.c
A clang/test/Sema/constexpr.c
A clang/test/Sema/enum-constant-type.cpp
M clang/test/Sema/integer-overflow.c
A clang/test/Sema/ptrauth-intrinsics-macro.c
A clang/test/Sema/ptrauth.c
A clang/test/Sema/return-type-mismatch.c
M clang/test/Sema/riscv-vector-float64-check.c
M clang/test/Sema/static-assert.c
M clang/test/Sema/switch-1.c
M clang/test/Sema/warn-bitwise-and-bool.c
M clang/test/Sema/warn-bitwise-or-bool.c
M clang/test/Sema/warn-compare-enum-types-mismatch.c
M clang/test/SemaCUDA/amdgpu-attrs.cu
A clang/test/SemaCUDA/float128.cu
M clang/test/SemaCXX/constant-expression-cxx11.cpp
M clang/test/SemaCXX/constant-expression-cxx14.cpp
M clang/test/SemaCXX/constant-expression-cxx2b.cpp
M clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp
A clang/test/SemaCXX/constexpr-explicit-object-lambda.cpp
M clang/test/SemaCXX/cxx17-compat.cpp
M clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp
A clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
A clang/test/SemaCXX/cxx23-assume-disabled.cpp
A clang/test/SemaCXX/cxx23-assume-print.cpp
A clang/test/SemaCXX/cxx23-assume.cpp
A clang/test/SemaCXX/cxx23-invalid-constexpr.cpp
M clang/test/SemaCXX/cxx2a-consteval-default-params.cpp
M clang/test/SemaCXX/cxx2a-consteval.cpp
M clang/test/SemaCXX/cxx2a-initializer-aggregates.cpp
M clang/test/SemaCXX/cxx2b-p2266-disable-with-msvc-compat.cpp
M clang/test/SemaCXX/datasizeof.cpp
M clang/test/SemaCXX/decomposed-condition.cpp
M clang/test/SemaCXX/deduced-return-type-cxx14.cpp
M clang/test/SemaCXX/enum.cpp
M clang/test/SemaCXX/integer-overflow.cpp
M clang/test/SemaCXX/lambda-expressions.cpp
A clang/test/SemaCXX/overload-bitint.cpp
M clang/test/SemaCXX/overload-template.cpp
M clang/test/SemaCXX/overloaded-operator.cpp
M clang/test/SemaCXX/source_location.cpp
M clang/test/SemaCXX/type-traits-nonobject.cpp
M clang/test/SemaCXX/type-traits.cpp
M clang/test/SemaCXX/warn-constant-evaluated-constexpr.cpp
M clang/test/SemaCXX/warn-self-move.cpp
A clang/test/SemaCXX/warn-unsequenced-paren-list-init.cpp
A clang/test/SemaHLSL/BuiltIns/any-errors.hlsl
A clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
A clang/test/SemaHLSL/BuiltIns/exp-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/frac-errors.hlsl
A clang/test/SemaHLSL/BuiltIns/isinf-errors.hlsl
M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl
A clang/test/SemaHLSL/BuiltIns/mad-errors.hlsl
A clang/test/SemaHLSL/BuiltIns/rcp-errors.hlsl
A clang/test/SemaHLSL/BuiltIns/rsqrt-errors.hlsl
M clang/test/SemaObjC/integer-overflow.m
M clang/test/SemaObjC/objc-literal-nsnumber.m
M clang/test/SemaOpenACC/compute-construct-ast.cpp
M clang/test/SemaOpenACC/no-branch-in-out.c
M clang/test/SemaOpenACC/no-branch-in-out.cpp
M clang/test/SemaOpenACC/parallel-assoc-stmt-inst.cpp
M clang/test/SemaOpenACC/parallel-loc-and-stmt.c
M clang/test/SemaOpenCLCXX/addrspace-constructors.clcpp
A clang/test/SemaTemplate/PR25708.cpp
M clang/test/SemaTemplate/concepts-lambda.cpp
M clang/test/SemaTemplate/concepts.cpp
A clang/test/TableGen/target-builtins-prototype-parser.td
M clang/tools/clang-format/.clang-format
M clang/tools/clang-format/ClangFormat.cpp
M clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.h
M clang/tools/clang-installapi/CMakeLists.txt
M clang/tools/clang-installapi/ClangInstallAPI.cpp
A clang/tools/clang-installapi/InstallAPIOpts.td
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
M clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
M clang/tools/clang-scan-deps/ClangScanDeps.cpp
M clang/tools/diagtool/DiagTool.cpp
M clang/tools/driver/cc1as_main.cpp
M clang/tools/driver/driver.cpp
M clang/unittests/AST/ASTImporterODRStrategiesTest.cpp
M clang/unittests/AST/MatchVerifier.h
M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersTest.h
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
M clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp
M clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp
M clang/unittests/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp
M clang/unittests/Analysis/FlowSensitive/TestingSupport.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp
M clang/unittests/Basic/DarwinSDKInfoTest.cpp
M clang/unittests/Format/.clang-format
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestTableGen.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Interpreter/CMakeLists.txt
A clang/unittests/Interpreter/IncrementalCompilerBuilderTest.cpp
A clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Sema/SemaNoloadLookupTest.cpp
M clang/unittests/Serialization/ForceCheckFileInputTest.cpp
M clang/unittests/Serialization/NoCommentsTest.cpp
M clang/unittests/Serialization/VarDeclConstantInitTest.cpp
M clang/unittests/StaticAnalyzer/CallDescriptionTest.cpp
M clang/unittests/Tooling/RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp
M clang/unittests/Tooling/RecursiveASTVisitorTests/CallbacksBinaryOperator.cpp
M clang/unittests/Tooling/RecursiveASTVisitorTests/CallbacksCompoundAssignOperator.cpp
M clang/unittests/Tooling/RecursiveASTVisitorTests/CallbacksUnaryOperator.cpp
M clang/unittests/Tooling/RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp
M clang/unittests/Tooling/RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp
M clang/unittests/Tooling/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp
M clang/utils/TableGen/ClangBuiltinsEmitter.cpp
M clang/utils/TableGen/ClangOpcodesEmitter.cpp
M clang/www/c_status.html
M clang/www/cxx_dr_status.html
M clang/www/cxx_status.html
M clang/www/get_started.html
M clang/www/make_cxx_dr_status
M cmake/Modules/CMakePolicy.cmake
A cmake/Modules/LLVMVersion.cmake
M compiler-rt/CMakeLists.txt
M compiler-rt/cmake/Modules/CompilerRTCompile.cmake
M compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
M compiler-rt/cmake/base-config-ix.cmake
M compiler-rt/cmake/builtin-config-ix.cmake
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/asan/asan_interceptors.cpp
M compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/builtins/CMakeLists.txt
M compiler-rt/lib/builtins/aarch64/sme-abi.S
A compiler-rt/lib/builtins/extendbfsf2.c
M compiler-rt/lib/builtins/fp_extend.h
M compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp
M compiler-rt/lib/fuzzer/FuzzerUtilWindows.cpp
M compiler-rt/lib/hwasan/hwasan_checks.h
M compiler-rt/lib/hwasan/hwasan_interceptors.cpp
M compiler-rt/lib/interception/interception.h
M compiler-rt/lib/lsan/lsan_interceptors.cpp
M compiler-rt/lib/msan/msan.cpp
M compiler-rt/lib/msan/msan.h
M compiler-rt/lib/msan/msan_allocator.cpp
M compiler-rt/lib/msan/msan_interceptors.cpp
M compiler-rt/lib/msan/msan_linux.cpp
M compiler-rt/lib/msan/tests/CMakeLists.txt
M compiler-rt/lib/profile/InstrProfilingPlatformWindows.c
M compiler-rt/lib/sanitizer_common/sanitizer_asm.h
M compiler-rt/lib/sanitizer_common/sanitizer_common.h
M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
M compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
M compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
M compiler-rt/lib/sanitizer_common/sanitizer_mutex.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h
M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_bsd.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_common.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
M compiler-rt/lib/scudo/standalone/CMakeLists.txt
A compiler-rt/lib/scudo/standalone/allocator_config.def
M compiler-rt/lib/scudo/standalone/allocator_config.h
A compiler-rt/lib/scudo/standalone/allocator_config_wrapper.h
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/condition_variable.h
M compiler-rt/lib/scudo/standalone/memtag.h
M compiler-rt/lib/scudo/standalone/primary32.h
M compiler-rt/lib/scudo/standalone/primary64.h
M compiler-rt/lib/scudo/standalone/secondary.h
M compiler-rt/lib/scudo/standalone/stack_depot.h
M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
A compiler-rt/lib/scudo/standalone/tests/allocator_config_test.cpp
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
M compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
M compiler-rt/lib/scudo/standalone/tests/primary_test.cpp
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
M compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cpp
M compiler-rt/lib/tsan/tests/CMakeLists.txt
M compiler-rt/test/asan/TestCases/Windows/bitfield_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/calloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_heap_allocation.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_host.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/dll_malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cpp
R compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp
A compiler-rt/test/asan/TestCases/Windows/issue64990.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/calloc-overflow.cpp
M compiler-rt/test/asan/TestCases/deep_stack_uaf.cpp
M compiler-rt/test/asan/TestCases/double-free.cpp
M compiler-rt/test/asan/TestCases/malloc-size-too-big.cpp
M compiler-rt/test/asan/TestCases/strncpy-overflow.cpp
M compiler-rt/test/asan/TestCases/use-after-free-right.cpp
M compiler-rt/test/asan/TestCases/use-after-free.cpp
M compiler-rt/test/builtins/Unit/ctor_dtor.c
M compiler-rt/test/lit.common.cfg.py
M compiler-rt/test/lsan/TestCases/recoverable_leak_check.cpp
M compiler-rt/test/orc/lit.cfg.py
A compiler-rt/test/sanitizer_common/TestCases/Linux/static-link.c
M compiler-rt/test/sanitizer_common/TestCases/corelimit.cpp
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter_default_impl.cpp
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp
A compiler-rt/test/tsan/compare_exchange_acquire_fence.cpp
M compiler-rt/test/tsan/getline_nohang.cpp
M compiler-rt/test/tsan/pthread_atfork_deadlock3.c
M compiler-rt/test/tsan/signal_errno.cpp
A compiler-rt/test/tsan/signal_in_read.c
M compiler-rt/test/tsan/signal_reset.cpp
M compiler-rt/test/tsan/signal_sync.cpp
M compiler-rt/test/tsan/signal_thread.cpp
M compiler-rt/test/tsan/signal_thread2.cpp
M cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
A cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2022.py
M cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/list-debuggers/list-debuggers.test
M cross-project-tests/debuginfo-tests/llgdb-tests/forward-declare-class.cpp
M cross-project-tests/debuginfo-tests/llgdb-tests/static-member-2.cpp
M cross-project-tests/debuginfo-tests/llgdb-tests/static-member.cpp
M cross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl
M flang/CMakeLists.txt
M flang/docs/Extensions.md
A flang/docs/OpenMP-declare-target.md
A flang/docs/RuntimeEnvironment.md
M flang/docs/conf.py
M flang/docs/index.md
A flang/include/flang/Common/optional.h
A flang/include/flang/Common/reference-wrapper.h
M flang/include/flang/Common/visit.h
M flang/include/flang/Evaluate/constant.h
M flang/include/flang/Evaluate/integer.h
M flang/include/flang/Evaluate/real.h
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/Evaluate/traverse.h
M flang/include/flang/ISO_Fortran_binding.h
M flang/include/flang/Lower/OpenMP.h
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
M flang/include/flang/Optimizer/CodeGen/CodeGen.h
M flang/include/flang/Optimizer/Dialect/CMakeLists.txt
M flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/include/flang/Optimizer/Dialect/FIRDialect.h
M flang/include/flang/Optimizer/Dialect/FIRDialect.td
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Dialect/FIRTypes.td
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/include/flang/Parser/char-block.h
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Runtime/api-attrs.h
M flang/include/flang/Runtime/descriptor.h
M flang/include/flang/Runtime/type-code.h
M flang/include/flang/Semantics/module-dependences.h
M flang/include/flang/Semantics/symbol.h
M flang/include/flang/Semantics/tools.h
M flang/include/flang/Semantics/type.h
M flang/lib/Evaluate/check-expression.cpp
M flang/lib/Evaluate/fold-implementation.h
M flang/lib/Evaluate/intrinsics-library.cpp
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendAction.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CMakeLists.txt
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Lower/HostAssociations.cpp
M flang/lib/Lower/IO.cpp
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
A flang/lib/Lower/OpenMP/ClauseT.h
A flang/lib/Lower/OpenMP/Clauses.cpp
A flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
M flang/lib/Lower/OpenMP/ReductionProcessor.h
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Intrinsics.cpp
M flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
M flang/lib/Optimizer/CodeGen/BoxedProcedure.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/PreCGRewrite.cpp
M flang/lib/Optimizer/CodeGen/TBAABuilder.cpp
M flang/lib/Optimizer/CodeGen/Target.cpp
M flang/lib/Optimizer/Dialect/FIRDialect.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/Transforms/MemoryAllocation.cpp
M flang/lib/Optimizer/Transforms/OMPFunctionFiltering.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/misc-parsers.h
M flang/lib/Parser/token-sequence.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/check-do-forall.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/check-select-type.cpp
M flang/lib/Semantics/data-to-inits.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/mod-file.cpp
M flang/lib/Semantics/resolve-directives.cpp
M flang/lib/Semantics/resolve-names-utils.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/rewrite-directives.cpp
M flang/lib/Semantics/runtime-type-info.cpp
M flang/lib/Semantics/symbol.cpp
M flang/lib/Semantics/tools.cpp
M flang/lib/Semantics/type.cpp
M flang/module/__fortran_builtins.f90
M flang/runtime/CMakeLists.txt
M flang/runtime/Float128Math/CMakeLists.txt
R flang/runtime/Float128Math/cabs.cpp
A flang/runtime/Float128Math/complex-math.c
A flang/runtime/Float128Math/complex-math.h
M flang/runtime/Float128Math/exponent.cpp
A flang/runtime/Float128Math/fma.cpp
M flang/runtime/Float128Math/fraction.cpp
M flang/runtime/Float128Math/math-entries.h
M flang/runtime/Float128Math/mod-real.cpp
M flang/runtime/Float128Math/modulo-real.cpp
M flang/runtime/Float128Math/nearest.cpp
A flang/runtime/Float128Math/random.cpp
M flang/runtime/Float128Math/rrspacing.cpp
M flang/runtime/Float128Math/scale.cpp
M flang/runtime/Float128Math/set-exponent.cpp
M flang/runtime/Float128Math/spacing.cpp
M flang/runtime/buffer.h
M flang/runtime/command.cpp
M flang/runtime/complex-powi.cpp
M flang/runtime/complex-reduction.c
M flang/runtime/connection.h
M flang/runtime/derived-api.cpp
M flang/runtime/descriptor-io.cpp
M flang/runtime/descriptor-io.h
M flang/runtime/edit-input.cpp
M flang/runtime/edit-output.cpp
M flang/runtime/environment.cpp
M flang/runtime/environment.h
M flang/runtime/extrema.cpp
M flang/runtime/file.cpp
M flang/runtime/file.h
M flang/runtime/format-implementation.h
M flang/runtime/format.h
M flang/runtime/freestanding-tools.h
M flang/runtime/internal-unit.cpp
M flang/runtime/internal-unit.h
M flang/runtime/io-api.cpp
M flang/runtime/io-stmt.cpp
M flang/runtime/io-stmt.h
M flang/runtime/matmul-transpose.cpp
M flang/runtime/matmul.cpp
M flang/runtime/misc-intrinsic.cpp
M flang/runtime/namelist.cpp
M flang/runtime/numeric-templates.h
M flang/runtime/numeric.cpp
M flang/runtime/pointer.cpp
A flang/runtime/random-templates.h
M flang/runtime/random.cpp
M flang/runtime/temporary-stack.cpp
M flang/runtime/tools.cpp
M flang/runtime/tools.h
M flang/runtime/type-code.cpp
M flang/runtime/type-info.cpp
M flang/runtime/type-info.h
M flang/runtime/unit-map.cpp
M flang/runtime/unit.cpp
M flang/runtime/unit.h
M flang/runtime/utf.cpp
M flang/runtime/utf.h
A flang/test/Driver/cuda-option.f90
M flang/test/Evaluate/fold-scale.f90
A flang/test/Fir/omp-reduction-embox-codegen.fir
A flang/test/Fir/target-complex16.f90
A flang/test/HLFIR/assumed-type-actual-args.f90
M flang/test/HLFIR/element-addr.fir
M flang/test/Lower/CUDA/cuda-kernel-calls.cuf
M flang/test/Lower/CUDA/cuda-kernel-loop-directive.cuf
M flang/test/Lower/HLFIR/structure-constructor.f90
M flang/test/Lower/HLFIR/vector-subscript-as-value.f90
A flang/test/Lower/Intrinsics/acos_complex16.f90
A flang/test/Lower/Intrinsics/acosh_complex16.f90
A flang/test/Lower/Intrinsics/asin_complex16.f90
A flang/test/Lower/Intrinsics/asinh_complex16.f90
A flang/test/Lower/Intrinsics/atan_complex16.f90
A flang/test/Lower/Intrinsics/atanh_complex16.f90
A flang/test/Lower/Intrinsics/c_ptr_eq_ne.f90
A flang/test/Lower/Intrinsics/cos_complex16.f90
A flang/test/Lower/Intrinsics/cosh_complex16.f90
A flang/test/Lower/Intrinsics/exp_complex16.f90
A flang/test/Lower/Intrinsics/fma_real16.f90
A flang/test/Lower/Intrinsics/log_complex16.f90
R flang/test/Lower/Intrinsics/missing-math-runtime.f90
M flang/test/Lower/Intrinsics/modulo.f90
A flang/test/Lower/Intrinsics/pow_complex16.f90
A flang/test/Lower/Intrinsics/pow_complex16i.f90
A flang/test/Lower/Intrinsics/pow_complex16k.f90
A flang/test/Lower/Intrinsics/random_number_real16.f90
A flang/test/Lower/Intrinsics/sin_complex16.f90
A flang/test/Lower/Intrinsics/sinh_complex16.f90
A flang/test/Lower/Intrinsics/sizeof.f90
A flang/test/Lower/Intrinsics/sqrt_complex16.f90
A flang/test/Lower/Intrinsics/tan_complex16.f90
A flang/test/Lower/Intrinsics/tanh_complex16.f90
M flang/test/Lower/OpenMP/FIR/delayed-privatization-firstprivate.f90
M flang/test/Lower/OpenMP/FIR/delayed-privatization-private.f90
A flang/test/Lower/OpenMP/FIR/parallel-reduction-add-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-add-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-iand-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-ieor-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-ior-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-eqv-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-neqv-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-max-byref.f90
A flang/test/Lower/OpenMP/FIR/wsloop-reduction-min-byref.f90
A flang/test/Lower/OpenMP/declare-target-deferred-marking.f90
A flang/test/Lower/OpenMP/declare-target-link-tarop-cap.f90
A flang/test/Lower/OpenMP/default-clause-byref.f90
A flang/test/Lower/OpenMP/delayed-privatization-allocatable-firstprivate.f90
A flang/test/Lower/OpenMP/delayed-privatization-allocatable-private.f90
M flang/test/Lower/OpenMP/delayed-privatization-firstprivate.f90
A flang/test/Lower/OpenMP/delayed-privatization-pointer.f90
M flang/test/Lower/OpenMP/delayed-privatization-private-firstprivate.f90
M flang/test/Lower/OpenMP/delayed-privatization-private.f90
A flang/test/Lower/OpenMP/delayed-privatization-reduction-byref.f90
M flang/test/Lower/OpenMP/delayed-privatization-reduction.f90
M flang/test/Lower/OpenMP/parallel-private-clause-str.f90
M flang/test/Lower/OpenMP/parallel-private-clause.f90
A flang/test/Lower/OpenMP/parallel-reduction-add-byref.f90
A flang/test/Lower/OpenMP/parallel-reduction-byref.f90
A flang/test/Lower/OpenMP/parallel-reduction-rename.f90
A flang/test/Lower/OpenMP/parallel-wsloop-reduction-byref.f90
A flang/test/Lower/OpenMP/threadprivate-host-association-2.f90
A flang/test/Lower/OpenMP/threadprivate-host-association.f90
A flang/test/Lower/OpenMP/use-device-ptr-to-use-device-addr.f90
A flang/test/Lower/OpenMP/workshare.f90
A flang/test/Lower/OpenMP/wsloop-reduction-add-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-iand-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-ieor-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-ior-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-and-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-logical-or-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-2-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
A flang/test/Lower/OpenMP/wsloop-reduction-min2.f90
A flang/test/Lower/OpenMP/wsloop-reduction-mul-byref.f90
M flang/test/Parser/cuf-sanity-tree.CUF
A flang/test/Semantics/OpenMP/reduction11.f90
M flang/test/Semantics/OpenMP/use_device_ptr1.f90
A flang/test/Semantics/call41.f90
M flang/test/Semantics/cuf09.cuf
M flang/test/Semantics/declarations02.f90
M flang/test/Semantics/declarations06.f90
M flang/test/Semantics/doconcurrent08.f90
M flang/test/Semantics/forall01.f90
M flang/test/Semantics/init01.f90
M flang/test/Semantics/modfile63.f90
A flang/test/Semantics/modfile64.f90
M flang/test/Semantics/null01.f90
M flang/test/Semantics/resolve09.f90
M flang/test/Semantics/resolve11.f90
M flang/test/Semantics/selecttype03.f90
A flang/test/Semantics/selecttype04.f90
M flang/tools/f18/CMakeLists.txt
M flang/unittests/Frontend/FrontendActionTest.cpp
M flang/unittests/Runtime/NumericalFormatTest.cpp
M flang/unittests/Runtime/Ragged.cpp
M libc/CMakeLists.txt
M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
M libc/cmake/modules/LLVMLibCFlagRules.cmake
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/cmake/modules/prepare_libc_gpu_build.cmake
M libc/config/baremetal/api.td
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/arm/headers.txt
M libc/config/baremetal/riscv/entrypoints.txt
M libc/config/baremetal/riscv/headers.txt
M libc/config/darwin/arm/headers.txt
M libc/config/darwin/x86_64/headers.txt
M libc/config/gpu/api.td
M libc/config/gpu/entrypoints.txt
M libc/config/gpu/headers.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/aarch64/headers.txt
M libc/config/linux/api.td
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/arm/headers.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/riscv/headers.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/linux/x86_64/headers.txt
M libc/config/windows/entrypoints.txt
M libc/docs/c23.rst
M libc/docs/dev/undefined_behavior.rst
M libc/docs/full_cross_build.rst
M libc/docs/fullbuild_mode.rst
A libc/docs/gpu/building.rst
M libc/docs/gpu/index.rst
M libc/docs/gpu/rpc.rst
M libc/docs/gpu/support.rst
M libc/docs/gpu/testing.rst
M libc/docs/gpu/using.rst
M libc/docs/index.rst
M libc/docs/math/index.rst
M libc/docs/math/stdfix.rst
M libc/docs/stdbit.rst
A libc/docs/talks.rst
M libc/fuzzing/CMakeLists.txt
M libc/fuzzing/math/RemQuoDiff.h
M libc/fuzzing/math/SingleInputSingleOutputDiff.h
M libc/fuzzing/math/TwoInputSingleOutputDiff.h
M libc/fuzzing/stdlib/strtofloat_fuzz.cpp
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
M libc/include/llvm-libc-macros/inttypes-macros.h
M libc/include/llvm-libc-macros/math-macros.h
M libc/include/llvm-libc-macros/stdbit-macros.h
A libc/include/llvm-libc-macros/stdint-macros.h
M libc/include/llvm-libc-macros/stdio-macros.h
M libc/include/llvm-libc-types/CMakeLists.txt
M libc/include/llvm-libc-types/float128.h
A libc/include/llvm-libc-types/mbstate_t.h
A libc/include/stdint.h.def
A libc/include/uchar.h.def
M libc/spec/gnu_ext.td
M libc/spec/llvm_libc_ext.td
A libc/spec/llvm_libc_stdfix_ext.td
M libc/spec/posix.td
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/spec/stdc_ext.td
M libc/src/__support/CMakeLists.txt
M libc/src/__support/CPP/CMakeLists.txt
M libc/src/__support/CPP/bit.h
M libc/src/__support/CPP/limits.h
M libc/src/__support/CPP/string_view.h
M libc/src/__support/CPP/type_traits/is_integral.h
M libc/src/__support/CPP/type_traits/make_signed.h
M libc/src/__support/CPP/type_traits/make_unsigned.h
M libc/src/__support/FPUtil/FEnvImpl.h
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/NearestIntegerOperations.h
M libc/src/__support/FPUtil/NormalFloat.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/FPUtil/generic/FMod.h
M libc/src/__support/FPUtil/generic/sqrt.h
M libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
A libc/src/__support/FPUtil/x86_64/NextUpDownLongDouble.h
M libc/src/__support/FPUtil/x86_64/sqrt.h
M libc/src/__support/GPU/CMakeLists.txt
A libc/src/__support/GPU/allocator.cpp
A libc/src/__support/GPU/allocator.h
M libc/src/__support/GPU/amdgpu/utils.h
M libc/src/__support/GPU/generic/utils.h
M libc/src/__support/GPU/nvptx/utils.h
M libc/src/__support/GPU/utils.h
M libc/src/__support/RPC/rpc.h
M libc/src/__support/UInt.h
M libc/src/__support/UInt128.h
M libc/src/__support/blockstore.h
M libc/src/__support/fixed_point/CMakeLists.txt
M libc/src/__support/fixed_point/fx_rep.h
M libc/src/__support/fixed_point/sqrt.h
M libc/src/__support/float_to_string.h
M libc/src/__support/high_precision_decimal.h
M libc/src/__support/integer_literals.h
M libc/src/__support/integer_to_string.h
R libc/src/__support/integer_utils.h
M libc/src/__support/macros/properties/types.h
M libc/src/__support/math_extras.h
M libc/src/__support/str_to_float.h
M libc/src/__support/str_to_integer.h
M libc/src/math/CMakeLists.txt
M libc/src/math/amdgpu/CMakeLists.txt
R libc/src/math/amdgpu/modf.cpp
R libc/src/math/amdgpu/modff.cpp
M libc/src/math/docs/add_math_function.md
A libc/src/math/fmodf128.h
A libc/src/math/fmodl.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/fmodf.cpp
A libc/src/math/generic/fmodf128.cpp
A libc/src/math/generic/fmodl.cpp
M libc/src/math/generic/hypotf.cpp
A libc/src/math/generic/llrintf128.cpp
A libc/src/math/generic/llroundf128.cpp
A libc/src/math/generic/lrintf128.cpp
A libc/src/math/generic/lroundf128.cpp
M libc/src/math/generic/math_utils.h
A libc/src/math/generic/modff128.cpp
A libc/src/math/generic/nanf128.cpp
A libc/src/math/generic/nextafterf128.cpp
A libc/src/math/generic/nextdown.cpp
A libc/src/math/generic/nextdownf.cpp
A libc/src/math/generic/nextdownf128.cpp
A libc/src/math/generic/nextdownl.cpp
A libc/src/math/generic/nextup.cpp
A libc/src/math/generic/nextupf.cpp
A libc/src/math/generic/nextupf128.cpp
A libc/src/math/generic/nextupl.cpp
A libc/src/math/generic/rintf128.cpp
A libc/src/math/llrintf128.h
A libc/src/math/llroundf128.h
A libc/src/math/lrintf128.h
A libc/src/math/lroundf128.h
A libc/src/math/modff128.h
A libc/src/math/nanf128.h
A libc/src/math/nextafterf128.h
A libc/src/math/nextdown.h
A libc/src/math/nextdownf.h
A libc/src/math/nextdownf128.h
A libc/src/math/nextdownl.h
A libc/src/math/nextup.h
A libc/src/math/nextupf.h
A libc/src/math/nextupf128.h
A libc/src/math/nextupl.h
M libc/src/math/nvptx/CMakeLists.txt
R libc/src/math/nvptx/modf.cpp
R libc/src/math/nvptx/modff.cpp
A libc/src/math/rintf128.h
M libc/src/stdbit/CMakeLists.txt
A libc/src/stdbit/stdc_bit_ceil_uc.cpp
A libc/src/stdbit/stdc_bit_ceil_uc.h
A libc/src/stdbit/stdc_bit_ceil_ui.cpp
A libc/src/stdbit/stdc_bit_ceil_ui.h
A libc/src/stdbit/stdc_bit_ceil_ul.cpp
A libc/src/stdbit/stdc_bit_ceil_ul.h
A libc/src/stdbit/stdc_bit_ceil_ull.cpp
A libc/src/stdbit/stdc_bit_ceil_ull.h
A libc/src/stdbit/stdc_bit_ceil_us.cpp
A libc/src/stdbit/stdc_bit_ceil_us.h
A libc/src/stdbit/stdc_bit_floor_uc.cpp
A libc/src/stdbit/stdc_bit_floor_uc.h
A libc/src/stdbit/stdc_bit_floor_ui.cpp
A libc/src/stdbit/stdc_bit_floor_ui.h
A libc/src/stdbit/stdc_bit_floor_ul.cpp
A libc/src/stdbit/stdc_bit_floor_ul.h
A libc/src/stdbit/stdc_bit_floor_ull.cpp
A libc/src/stdbit/stdc_bit_floor_ull.h
A libc/src/stdbit/stdc_bit_floor_us.cpp
A libc/src/stdbit/stdc_bit_floor_us.h
A libc/src/stdbit/stdc_bit_width_uc.cpp
A libc/src/stdbit/stdc_bit_width_uc.h
A libc/src/stdbit/stdc_bit_width_ui.cpp
A libc/src/stdbit/stdc_bit_width_ui.h
A libc/src/stdbit/stdc_bit_width_ul.cpp
A libc/src/stdbit/stdc_bit_width_ul.h
A libc/src/stdbit/stdc_bit_width_ull.cpp
A libc/src/stdbit/stdc_bit_width_ull.h
A libc/src/stdbit/stdc_bit_width_us.cpp
A libc/src/stdbit/stdc_bit_width_us.h
M libc/src/stdbit/stdc_count_ones_uc.cpp
M libc/src/stdbit/stdc_count_ones_ui.cpp
M libc/src/stdbit/stdc_count_ones_ul.cpp
M libc/src/stdbit/stdc_count_ones_ull.cpp
M libc/src/stdbit/stdc_count_ones_us.cpp
M libc/src/stdbit/stdc_count_zeros_uc.cpp
M libc/src/stdbit/stdc_count_zeros_ui.cpp
M libc/src/stdbit/stdc_count_zeros_ul.cpp
M libc/src/stdbit/stdc_count_zeros_ull.cpp
M libc/src/stdbit/stdc_count_zeros_us.cpp
M libc/src/stdbit/stdc_first_leading_one_uc.cpp
M libc/src/stdbit/stdc_first_leading_one_ui.cpp
M libc/src/stdbit/stdc_first_leading_one_ul.cpp
M libc/src/stdbit/stdc_first_leading_one_ull.cpp
M libc/src/stdbit/stdc_first_leading_one_us.cpp
M libc/src/stdbit/stdc_first_leading_zero_uc.cpp
M libc/src/stdbit/stdc_first_leading_zero_ui.cpp
M libc/src/stdbit/stdc_first_leading_zero_ul.cpp
M libc/src/stdbit/stdc_first_leading_zero_ull.cpp
M libc/src/stdbit/stdc_first_leading_zero_us.cpp
M libc/src/stdbit/stdc_first_trailing_one_uc.cpp
M libc/src/stdbit/stdc_first_trailing_one_ui.cpp
M libc/src/stdbit/stdc_first_trailing_one_ul.cpp
M libc/src/stdbit/stdc_first_trailing_one_ull.cpp
M libc/src/stdbit/stdc_first_trailing_one_us.cpp
M libc/src/stdbit/stdc_first_trailing_zero_uc.cpp
M libc/src/stdbit/stdc_first_trailing_zero_ui.cpp
M libc/src/stdbit/stdc_first_trailing_zero_ul.cpp
M libc/src/stdbit/stdc_first_trailing_zero_ull.cpp
M libc/src/stdbit/stdc_first_trailing_zero_us.cpp
M libc/src/stdfix/CMakeLists.txt
A libc/src/stdfix/exphk.cpp
A libc/src/stdfix/exphk.h
A libc/src/stdfix/expk.cpp
A libc/src/stdfix/expk.h
A libc/src/stdfix/uhksqrtus.cpp
A libc/src/stdfix/uhksqrtus.h
A libc/src/stdfix/uksqrtui.cpp
A libc/src/stdfix/uksqrtui.h
M libc/src/stdio/CMakeLists.txt
A libc/src/stdio/baremetal/CMakeLists.txt
A libc/src/stdio/baremetal/remove.cpp
A libc/src/stdio/fileno.h
M libc/src/stdio/generic/CMakeLists.txt
A libc/src/stdio/generic/fileno.cpp
M libc/src/stdio/linux/CMakeLists.txt
M libc/src/stdio/printf_core/float_dec_converter.h
M libc/src/stdlib/atexit.cpp
M libc/src/stdlib/gpu/CMakeLists.txt
M libc/src/stdlib/gpu/free.cpp
M libc/src/stdlib/gpu/malloc.cpp
M libc/src/string/CMakeLists.txt
M libc/src/string/memory_utils/op_generic.h
M libc/src/string/memory_utils/op_x86.h
M libc/src/string/memory_utils/utils.h
M libc/src/string/memory_utils/x86_64/inline_memcpy.h
M libc/src/string/memory_utils/x86_64/inline_memset.h
A libc/src/string/memset_explicit.cpp
A libc/src/string/memset_explicit.h
M libc/src/sys/mman/CMakeLists.txt
M libc/src/sys/mman/linux/CMakeLists.txt
A libc/src/sys/mman/linux/msync.cpp
A libc/src/sys/mman/linux/shm_common.h
A libc/src/sys/mman/linux/shm_open.cpp
A libc/src/sys/mman/linux/shm_unlink.cpp
A libc/src/sys/mman/msync.h
A libc/src/sys/mman/shm_open.h
A libc/src/sys/mman/shm_unlink.h
M libc/test/UnitTest/CMakeLists.txt
M libc/test/UnitTest/FPMatcher.h
M libc/test/UnitTest/LibcTest.cpp
M libc/test/UnitTest/LibcTest.h
M libc/test/UnitTest/StringUtils.h
M libc/test/UnitTest/TestLogger.cpp
M libc/test/include/CMakeLists.txt
A libc/test/include/stdbit_stub.h
A libc/test/include/stdbit_test.c
M libc/test/include/stdbit_test.cpp
M libc/test/integration/src/__support/CMakeLists.txt
A libc/test/integration/src/__support/GPU/CMakeLists.txt
A libc/test/integration/src/__support/GPU/scan_reduce.cpp
M libc/test/src/CMakeLists.txt
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/CPP/CMakeLists.txt
M libc/test/src/__support/CPP/bit_test.cpp
M libc/test/src/__support/CPP/limits_test.cpp
M libc/test/src/__support/CPP/stringview_test.cpp
M libc/test/src/__support/FPUtil/fpbits_test.cpp
M libc/test/src/__support/blockstore_test.cpp
M libc/test/src/__support/high_precision_decimal_test.cpp
M libc/test/src/__support/integer_literals_test.cpp
M libc/test/src/__support/integer_to_string_test.cpp
M libc/test/src/__support/math_extras_test.cpp
A libc/test/src/__support/str_to_integer_test.cpp
M libc/test/src/__support/str_to_long_double_test.cpp
M libc/test/src/__support/uint_test.cpp
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/CeilTest.h
M libc/test/src/math/CopySignTest.h
M libc/test/src/math/FAbsTest.h
M libc/test/src/math/FDimTest.h
M libc/test/src/math/FMaxTest.h
M libc/test/src/math/FMinTest.h
M libc/test/src/math/FModTest.h
M libc/test/src/math/FloorTest.h
M libc/test/src/math/FrexpTest.h
M libc/test/src/math/HypotTest.h
M libc/test/src/math/ILogbTest.h
M libc/test/src/math/LdExpTest.h
M libc/test/src/math/LogbTest.h
M libc/test/src/math/ModfTest.h
M libc/test/src/math/NextAfterTest.h
M libc/test/src/math/RIntTest.h
M libc/test/src/math/RemQuoTest.h
M libc/test/src/math/RoundTest.h
M libc/test/src/math/RoundToIntegerTest.h
M libc/test/src/math/SqrtTest.h
M libc/test/src/math/TruncTest.h
M libc/test/src/math/acosf_test.cpp
M libc/test/src/math/acoshf_test.cpp
M libc/test/src/math/asinf_test.cpp
M libc/test/src/math/asinhf_test.cpp
M libc/test/src/math/atanf_test.cpp
M libc/test/src/math/atanhf_test.cpp
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/cosf_test.cpp
M libc/test/src/math/coshf_test.cpp
R libc/test/src/math/differential_testing/BinaryOpSingleOutputDiff.h
R libc/test/src/math/differential_testing/CMakeLists.txt
R libc/test/src/math/differential_testing/SingleInputSingleOutputDiff.h
R libc/test/src/math/differential_testing/Timer.cpp
R libc/test/src/math/differential_testing/Timer.h
R libc/test/src/math/differential_testing/ceilf_diff.cpp
R libc/test/src/math/differential_testing/ceilf_perf.cpp
R libc/test/src/math/differential_testing/cosf_diff.cpp
R libc/test/src/math/differential_testing/cosf_perf.cpp
R libc/test/src/math/differential_testing/exp2f_diff.cpp
R libc/test/src/math/differential_testing/exp2f_perf.cpp
R libc/test/src/math/differential_testing/expf_diff.cpp
R libc/test/src/math/differential_testing/expf_perf.cpp
R libc/test/src/math/differential_testing/expm1f_diff.cpp
R libc/test/src/math/differential_testing/expm1f_perf.cpp
R libc/test/src/math/differential_testing/fabsf_diff.cpp
R libc/test/src/math/differential_testing/fabsf_perf.cpp
R libc/test/src/math/differential_testing/floorf_diff.cpp
R libc/test/src/math/differential_testing/floorf_perf.cpp
R libc/test/src/math/differential_testing/fmod_diff.cpp
R libc/test/src/math/differential_testing/fmod_perf.cpp
R libc/test/src/math/differential_testing/fmodf_diff.cpp
R libc/test/src/math/differential_testing/fmodf_perf.cpp
R libc/test/src/math/differential_testing/hypot_diff.cpp
R libc/test/src/math/differential_testing/hypot_perf.cpp
R libc/test/src/math/differential_testing/hypotf_diff.cpp
R libc/test/src/math/differential_testing/hypotf_perf.cpp
R libc/test/src/math/differential_testing/log10f_perf.cpp
R libc/test/src/math/differential_testing/log1pf_perf.cpp
R libc/test/src/math/differential_testing/log2f_diff.cpp
R libc/test/src/math/differential_testing/log2f_perf.cpp
R libc/test/src/math/differential_testing/logbf_diff.cpp
R libc/test/src/math/differential_testing/logbf_perf.cpp
R libc/test/src/math/differential_testing/logf_diff.cpp
R libc/test/src/math/differential_testing/logf_perf.cpp
R libc/test/src/math/differential_testing/nearbyintf_diff.cpp
R libc/test/src/math/differential_testing/nearbyintf_perf.cpp
R libc/test/src/math/differential_testing/rintf_diff.cpp
R libc/test/src/math/differential_testing/rintf_perf.cpp
R libc/test/src/math/differential_testing/roundf_diff.cpp
R libc/test/src/math/differential_testing/roundf_perf.cpp
R libc/test/src/math/differential_testing/sinf_diff.cpp
R libc/test/src/math/differential_testing/sinf_perf.cpp
R libc/test/src/math/differential_testing/sqrtf_diff.cpp
R libc/test/src/math/differential_testing/sqrtf_perf.cpp
R libc/test/src/math/differential_testing/truncf_diff.cpp
R libc/test/src/math/differential_testing/truncf_perf.cpp
M libc/test/src/math/erff_test.cpp
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/fmod_generic_impl_test.cpp
M libc/test/src/math/exp10_test.cpp
M libc/test/src/math/exp10f_test.cpp
M libc/test/src/math/exp2_test.cpp
M libc/test/src/math/exp2f_test.cpp
M libc/test/src/math/exp_test.cpp
M libc/test/src/math/expf_test.cpp
M libc/test/src/math/explogxf_test.cpp
M libc/test/src/math/expm1_test.cpp
M libc/test/src/math/expm1f_test.cpp
M libc/test/src/math/fdim_test.cpp
M libc/test/src/math/fdimf_test.cpp
M libc/test/src/math/fdiml_test.cpp
M libc/test/src/math/ilogb_test.cpp
M libc/test/src/math/ilogbf_test.cpp
M libc/test/src/math/ilogbl_test.cpp
M libc/test/src/math/inv_trigf_utils_test.cpp
M libc/test/src/math/log10_test.cpp
M libc/test/src/math/log10f_test.cpp
M libc/test/src/math/log1p_test.cpp
M libc/test/src/math/log1pf_test.cpp
M libc/test/src/math/log2_test.cpp
M libc/test/src/math/log2f_test.cpp
M libc/test/src/math/log_test.cpp
M libc/test/src/math/logf_test.cpp
A libc/test/src/math/nextafterf128_test.cpp
A libc/test/src/math/performance_testing/BinaryOpSingleOutputPerf.h
A libc/test/src/math/performance_testing/CMakeLists.txt
A libc/test/src/math/performance_testing/SingleInputSingleOutputPerf.h
A libc/test/src/math/performance_testing/Timer.cpp
A libc/test/src/math/performance_testing/Timer.h
A libc/test/src/math/performance_testing/ceilf_perf.cpp
A libc/test/src/math/performance_testing/cosf_perf.cpp
A libc/test/src/math/performance_testing/exp2f_perf.cpp
A libc/test/src/math/performance_testing/expf_perf.cpp
A libc/test/src/math/performance_testing/expm1f_perf.cpp
A libc/test/src/math/performance_testing/fabsf_perf.cpp
A libc/test/src/math/performance_testing/floorf_perf.cpp
A libc/test/src/math/performance_testing/fmod_perf.cpp
A libc/test/src/math/performance_testing/fmodf128_perf.cpp
A libc/test/src/math/performance_testing/fmodf_perf.cpp
A libc/test/src/math/performance_testing/fmodl_perf.cpp
A libc/test/src/math/performance_testing/hypot_perf.cpp
A libc/test/src/math/performance_testing/hypotf_perf.cpp
A libc/test/src/math/performance_testing/log10f_perf.cpp
A libc/test/src/math/performance_testing/log1pf_perf.cpp
A libc/test/src/math/performance_testing/log2f_perf.cpp
A libc/test/src/math/performance_testing/logbf_perf.cpp
A libc/test/src/math/performance_testing/logf_perf.cpp
A libc/test/src/math/performance_testing/nearbyintf_perf.cpp
A libc/test/src/math/performance_testing/rintf_perf.cpp
A libc/test/src/math/performance_testing/roundf_perf.cpp
A libc/test/src/math/performance_testing/sinf_perf.cpp
A libc/test/src/math/performance_testing/sqrtf_perf.cpp
A libc/test/src/math/performance_testing/truncf_perf.cpp
M libc/test/src/math/powf_test.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/sincosf_test.cpp
M libc/test/src/math/sinf_test.cpp
M libc/test/src/math/sinhf_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/CeilTest.h
M libc/test/src/math/smoke/CopySignTest.h
M libc/test/src/math/smoke/FAbsTest.h
M libc/test/src/math/smoke/FModTest.h
M libc/test/src/math/smoke/FloorTest.h
M libc/test/src/math/smoke/HypotTest.h
M libc/test/src/math/smoke/ModfTest.h
M libc/test/src/math/smoke/NextAfterTest.h
A libc/test/src/math/smoke/NextDownTest.h
M libc/test/src/math/smoke/NextTowardTest.h
A libc/test/src/math/smoke/NextUpTest.h
M libc/test/src/math/smoke/RIntTest.h
M libc/test/src/math/smoke/RemQuoTest.h
M libc/test/src/math/smoke/RoundTest.h
M libc/test/src/math/smoke/RoundToIntegerTest.h
M libc/test/src/math/smoke/SqrtTest.h
M libc/test/src/math/smoke/TruncTest.h
M libc/test/src/math/smoke/acosf_test.cpp
M libc/test/src/math/smoke/acoshf_test.cpp
M libc/test/src/math/smoke/asinf_test.cpp
M libc/test/src/math/smoke/asinhf_test.cpp
M libc/test/src/math/smoke/atanf_test.cpp
M libc/test/src/math/smoke/atanhf_test.cpp
M libc/test/src/math/smoke/cosf_test.cpp
M libc/test/src/math/smoke/coshf_test.cpp
M libc/test/src/math/smoke/erff_test.cpp
M libc/test/src/math/smoke/exp10_test.cpp
M libc/test/src/math/smoke/exp10f_test.cpp
M libc/test/src/math/smoke/exp2_test.cpp
M libc/test/src/math/smoke/exp2f_test.cpp
M libc/test/src/math/smoke/exp_test.cpp
M libc/test/src/math/smoke/expf_test.cpp
M libc/test/src/math/smoke/expm1_test.cpp
M libc/test/src/math/smoke/expm1f_test.cpp
A libc/test/src/math/smoke/fmodf128_test.cpp
A libc/test/src/math/smoke/fmodl_test.cpp
A libc/test/src/math/smoke/llrintf128_test.cpp
A libc/test/src/math/smoke/llroundf128_test.cpp
M libc/test/src/math/smoke/log10_test.cpp
M libc/test/src/math/smoke/log10f_test.cpp
M libc/test/src/math/smoke/log1p_test.cpp
M libc/test/src/math/smoke/log1pf_test.cpp
M libc/test/src/math/smoke/log2_test.cpp
M libc/test/src/math/smoke/log2f_test.cpp
M libc/test/src/math/smoke/log_test.cpp
M libc/test/src/math/smoke/logf_test.cpp
A libc/test/src/math/smoke/lrintf128_test.cpp
A libc/test/src/math/smoke/lroundf128_test.cpp
A libc/test/src/math/smoke/modff128_test.cpp
A libc/test/src/math/smoke/nanf128_test.cpp
M libc/test/src/math/smoke/nanl_test.cpp
A libc/test/src/math/smoke/nextafterf128_test.cpp
A libc/test/src/math/smoke/nextdown_test.cpp
A libc/test/src/math/smoke/nextdownf128_test.cpp
A libc/test/src/math/smoke/nextdownf_test.cpp
A libc/test/src/math/smoke/nextdownl_test.cpp
A libc/test/src/math/smoke/nextup_test.cpp
A libc/test/src/math/smoke/nextupf128_test.cpp
A libc/test/src/math/smoke/nextupf_test.cpp
A libc/test/src/math/smoke/nextupl_test.cpp
M libc/test/src/math/smoke/powf_test.cpp
A libc/test/src/math/smoke/rintf128_test.cpp
M libc/test/src/math/smoke/sincosf_test.cpp
M libc/test/src/math/smoke/sinf_test.cpp
M libc/test/src/math/smoke/sinhf_test.cpp
M libc/test/src/math/smoke/tanf_test.cpp
M libc/test/src/math/smoke/tanhf_test.cpp
M libc/test/src/math/tan_test.cpp
M libc/test/src/math/tanf_test.cpp
M libc/test/src/math/tanhf_test.cpp
M libc/test/src/stdbit/CMakeLists.txt
A libc/test/src/stdbit/stdc_bit_ceil_uc_test.cpp
A libc/test/src/stdbit/stdc_bit_ceil_ui_test.cpp
A libc/test/src/stdbit/stdc_bit_ceil_ul_test.cpp
A libc/test/src/stdbit/stdc_bit_ceil_ull_test.cpp
A libc/test/src/stdbit/stdc_bit_ceil_us_test.cpp
A libc/test/src/stdbit/stdc_bit_floor_uc_test.cpp
A libc/test/src/stdbit/stdc_bit_floor_ui_test.cpp
A libc/test/src/stdbit/stdc_bit_floor_ul_test.cpp
A libc/test/src/stdbit/stdc_bit_floor_ull_test.cpp
A libc/test/src/stdbit/stdc_bit_floor_us_test.cpp
A libc/test/src/stdbit/stdc_bit_width_uc_test.cpp
A libc/test/src/stdbit/stdc_bit_width_ui_test.cpp
A libc/test/src/stdbit/stdc_bit_width_ul_test.cpp
A libc/test/src/stdbit/stdc_bit_width_ull_test.cpp
A libc/test/src/stdbit/stdc_bit_width_us_test.cpp
M libc/test/src/stdbit/stdc_has_single_bit_uc_test.cpp
M libc/test/src/stdbit/stdc_has_single_bit_ui_test.cpp
M libc/test/src/stdbit/stdc_has_single_bit_ul_test.cpp
M libc/test/src/stdbit/stdc_has_single_bit_ull_test.cpp
M libc/test/src/stdbit/stdc_has_single_bit_us_test.cpp
M libc/test/src/stdfix/CMakeLists.txt
A libc/test/src/stdfix/ExpTest.h
A libc/test/src/stdfix/ISqrtTest.h
M libc/test/src/stdfix/RoundTest.h
A libc/test/src/stdfix/exphk_test.cpp
A libc/test/src/stdfix/expk_test.cpp
A libc/test/src/stdfix/uhksqrtus_test.cpp
A libc/test/src/stdfix/uksqrtui_test.cpp
M libc/test/src/stdio/CMakeLists.txt
M libc/test/src/stdio/fileop_test.cpp
M libc/test/src/stdio/sprintf_test.cpp
M libc/test/src/stdio/sscanf_test.cpp
M libc/test/src/stdlib/strtold_test.cpp
M libc/test/src/string/CMakeLists.txt
M libc/test/src/string/memory_utils/CMakeLists.txt
M libc/test/src/string/memory_utils/op_tests.cpp
A libc/test/src/string/memset_explicit_test.cpp
M libc/test/src/sys/mman/linux/CMakeLists.txt
A libc/test/src/sys/mman/linux/msync_test.cpp
A libc/test/src/sys/mman/linux/shm_test.cpp
M libc/test/utils/FPUtil/x86_long_double_test.cpp
M libc/utils/CMakeLists.txt
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/gpu/CMakeLists.txt
M libc/utils/gpu/loader/CMakeLists.txt
M libc/utils/gpu/loader/Loader.h
M libc/utils/gpu/loader/amdgpu/CMakeLists.txt
M libc/utils/gpu/loader/nvptx/CMakeLists.txt
M libc/utils/gpu/server/CMakeLists.txt
M libc/utils/gpu/server/llvmlibc_rpc_server.h
M libc/utils/gpu/server/rpc_server.cpp
M libclc/CMakeLists.txt
M libclc/check_external_calls.sh
M libclc/cmake/CMakeLLAsmInformation.cmake
M libclc/generic/lib/gen_convert.py
M libcxx/CMakeLists.txt
M libcxx/benchmarks/CMakeLists.txt
A libcxx/benchmarks/algorithms/fill.bench.cpp
M libcxx/docs/Contributing.rst
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/docs/Modules.rst
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx23Issues.csv
M libcxx/docs/Status/Cxx23Papers.csv
M libcxx/docs/Status/Cxx2cPapers.csv
M libcxx/docs/Status/SpaceshipPapers.csv
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/copy_backward.h
M libcxx/include/__algorithm/copy_move_common.h
M libcxx/include/__algorithm/equal.h
M libcxx/include/__algorithm/equal_range.h
M libcxx/include/__algorithm/fill_n.h
M libcxx/include/__algorithm/inplace_merge.h
M libcxx/include/__algorithm/lexicographical_compare_three_way.h
M libcxx/include/__algorithm/move.h
M libcxx/include/__algorithm/move_backward.h
M libcxx/include/__algorithm/partial_sort.h
M libcxx/include/__algorithm/pop_heap.h
M libcxx/include/__algorithm/push_heap.h
M libcxx/include/__algorithm/rotate.h
M libcxx/include/__algorithm/sort_heap.h
M libcxx/include/__algorithm/stable_sort.h
M libcxx/include/__algorithm/unwrap_iter.h
M libcxx/include/__algorithm/upper_bound.h
M libcxx/include/__atomic/atomic_base.h
M libcxx/include/__availability
M libcxx/include/__bit_reference
M libcxx/include/__compare/partial_order.h
M libcxx/include/__compare/strong_order.h
M libcxx/include/__compare/weak_order.h
M libcxx/include/__concepts/swappable.h
M libcxx/include/__config
M libcxx/include/__exception/exception_ptr.h
M libcxx/include/__exception/nested_exception.h
M libcxx/include/__expected/expected.h
M libcxx/include/__format/concepts.h
M libcxx/include/__format/format_arg.h
M libcxx/include/__format/format_args.h
M libcxx/include/__format/format_context.h
M libcxx/include/__format/format_functions.h
R libcxx/include/__format/format_fwd.h
M libcxx/include/__format/formatter.h
M libcxx/include/__format/formatter_floating_point.h
M libcxx/include/__format/parser_std_format_spec.h
M libcxx/include/__functional/bind_front.h
M libcxx/include/__functional/function.h
M libcxx/include/__functional/hash.h
M libcxx/include/__functional/not_fn.h
M libcxx/include/__fwd/array.h
A libcxx/include/__fwd/format.h
M libcxx/include/__hash_table
M libcxx/include/__iterator/bounded_iter.h
M libcxx/include/__iterator/cpp17_iterator_concepts.h
M libcxx/include/__iterator/iter_move.h
M libcxx/include/__iterator/reverse_iterator.h
M libcxx/include/__iterator/wrap_iter.h
M libcxx/include/__mdspan/mdspan.h
M libcxx/include/__memory/allocator_traits.h
M libcxx/include/__memory/compressed_pair.h
M libcxx/include/__memory/shared_ptr.h
M libcxx/include/__memory/uninitialized_algorithms.h
M libcxx/include/__memory/unique_ptr.h
M libcxx/include/__mutex/mutex.h
M libcxx/include/__ranges/access.h
M libcxx/include/__ranges/iota_view.h
M libcxx/include/__ranges/movable_box.h
M libcxx/include/__ranges/rbegin.h
M libcxx/include/__ranges/rend.h
M libcxx/include/__ranges/size.h
M libcxx/include/__ranges/zip_view.h
M libcxx/include/__split_buffer
M libcxx/include/__tree
A libcxx/include/__tuple/find_index.h
M libcxx/include/__tuple/sfinae_helpers.h
M libcxx/include/__tuple/tuple_size.h
M libcxx/include/__type_traits/conjunction.h
M libcxx/include/__type_traits/is_assignable.h
M libcxx/include/__type_traits/is_constructible.h
M libcxx/include/__type_traits/is_convertible.h
R libcxx/include/__type_traits/is_copy_assignable.h
R libcxx/include/__type_traits/is_copy_constructible.h
R libcxx/include/__type_traits/is_default_constructible.h
M libcxx/include/__type_traits/is_implicitly_default_constructible.h
R libcxx/include/__type_traits/is_move_assignable.h
R libcxx/include/__type_traits/is_move_constructible.h
M libcxx/include/__type_traits/is_nothrow_assignable.h
M libcxx/include/__type_traits/is_nothrow_constructible.h
R libcxx/include/__type_traits/is_nothrow_copy_assignable.h
R libcxx/include/__type_traits/is_nothrow_copy_constructible.h
R libcxx/include/__type_traits/is_nothrow_default_constructible.h
R libcxx/include/__type_traits/is_nothrow_move_assignable.h
R libcxx/include/__type_traits/is_nothrow_move_constructible.h
M libcxx/include/__type_traits/is_scoped_enum.h
M libcxx/include/__type_traits/is_swappable.h
M libcxx/include/__type_traits/is_trivially_assignable.h
M libcxx/include/__type_traits/is_trivially_constructible.h
R libcxx/include/__type_traits/is_trivially_copy_assignable.h
R libcxx/include/__type_traits/is_trivially_copy_constructible.h
R libcxx/include/__type_traits/is_trivially_default_constructible.h
R libcxx/include/__type_traits/is_trivially_move_assignable.h
R libcxx/include/__type_traits/is_trivially_move_constructible.h
M libcxx/include/__type_traits/noexcept_move_assign_container.h
M libcxx/include/__type_traits/remove_reference.h
M libcxx/include/__utility/exception_guard.h
M libcxx/include/__utility/exchange.h
M libcxx/include/__utility/move.h
M libcxx/include/__utility/pair.h
M libcxx/include/__utility/small_buffer.h
M libcxx/include/__utility/swap.h
M libcxx/include/any
M libcxx/include/array
M libcxx/include/atomic
M libcxx/include/chrono
M libcxx/include/complex
M libcxx/include/coroutine
M libcxx/include/cwchar
M libcxx/include/execution
M libcxx/include/experimental/memory
M libcxx/include/format
M libcxx/include/forward_list
M libcxx/include/fstream
M libcxx/include/ios
M libcxx/include/iosfwd
M libcxx/include/libcxx.imp
M libcxx/include/limits
M libcxx/include/list
A libcxx/include/module.modulemap
R libcxx/include/module.modulemap.in
M libcxx/include/mutex
M libcxx/include/optional
M libcxx/include/span
M libcxx/include/sstream
M libcxx/include/string
M libcxx/include/string_view
M libcxx/include/tuple
M libcxx/include/type_traits
M libcxx/include/variant
M libcxx/include/vector
M libcxx/include/version
M libcxx/modules/CMakeLists.txt.in
M libcxx/modules/std/iosfwd.inc
M libcxx/src/CMakeLists.txt
M libcxx/src/ios.cpp
M libcxx/src/tzdb.cpp
M libcxx/test/libcxx/atomics/atomics.align/align.pass.cpp
M libcxx/test/libcxx/clang_modules_include.gen.py
M libcxx/test/libcxx/containers/sequences/vector/robust_against_adl.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/assert.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/assert.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/assert.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.map/assert.local_iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/debug.iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/debug.iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/debug.local_iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.map/debug.local_iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/assert.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/assert.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/assert.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multimap/assert.local_iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/debug.iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/debug.iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/debug.local_iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multimap/debug.local_iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/assert.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/assert.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/assert.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.multiset/assert.local_iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/debug.iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/debug.iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/debug.local_iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.multiset/debug.local_iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/assert.iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/assert.iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/assert.local_iterator.dereference.pass.cpp
A libcxx/test/libcxx/containers/unord/unord.set/assert.local_iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/debug.iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/debug.iterator.increment.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/debug.local_iterator.dereference.pass.cpp
R libcxx/test/libcxx/containers/unord/unord.set/debug.local_iterator.increment.pass.cpp
A libcxx/test/libcxx/containers/views/views.span/assert.iterator-indexing.pass.cpp
R libcxx/test/libcxx/containers/views/views.span/debug.iterator-indexing.pass.cpp
A libcxx/test/libcxx/diagnostics/limits.nodiscard_extensions.compile.pass.cpp
A libcxx/test/libcxx/diagnostics/limits.nodiscard_extensions.verify.cpp
A libcxx/test/libcxx/input.output/iostreams.base/ios.base/ios.base.cons/dtor.uninitialized.pass.cpp
M libcxx/test/libcxx/iterators/bounded_iter/dereference.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/greater-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/greater.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/less-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/less.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cmp/not-equal.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/assign.LWG3435.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.default.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.iter.explicit.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.iter.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.cons/ctor.reverse_iterator.LWG3435.verify.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.conv/base.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/arrow.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/bracket.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.elem/dereference.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/decrement-assign.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/increment-assign.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/minus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/plus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/postdecrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/postincrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/predecrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nav/preincrement.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/reverse.iter.nonmember/minus.pass.cpp
R libcxx/test/libcxx/iterators/predef.iterators/__unconstrained_reverse_iterator/types.compile.pass.cpp
M libcxx/test/libcxx/lint/lint_headers.sh.py
M libcxx/test/libcxx/module_std.gen.py
M libcxx/test/libcxx/module_std_compat.gen.py
A libcxx/test/libcxx/strings/string.view/string.view.iterators/assert.iterator-indexing.pass.cpp
R libcxx/test/libcxx/strings/string.view/string.view.iterators/debug.iterator-indexing.pass.cpp
M libcxx/test/libcxx/time/time.zone/time.zone.db/rules.pass.cpp
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
M libcxx/test/libcxx/utilities/variant/variant.variant/variant_size.pass.cpp
A libcxx/test/libcxx/vendor/apple/availability-with-pedantic-errors.compile.pass.cpp
M libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.count/count.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.count/ranges.count.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_strong_explicit.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_compare_exchange_weak_explicit.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_exchange_explicit.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_init.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_is_lock_free.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_load_explicit.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/atomic_store_explicit.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_all.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_notify_one.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait.pass.cpp
M libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.wait/atomic_wait_explicit.pass.cpp
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.tests.h
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/parse.pass.cpp
M libcxx/test/std/containers/sequences/array/array.cons/initialization.pass.cpp
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.tests.h
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/parse.pass.cpp
M libcxx/test/std/experimental/simd/simd.class/simd_ctor_conversion.pass.cpp
A libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/setbuf.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/replace_filename.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/ctor.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/increment.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.nonmembers/begin_end.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/copy_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ctor.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/depth.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/disable_recursion_pending.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/increment.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/move.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/move_assign.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/pop.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/recursion_pending.pass.cpp
M libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.nonmembers/begin_end.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/canonical.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/copy.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_symlink/copy_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory_symlink/create_directory_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_hard_link/create_hard_link.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_symlink/create_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/current_path.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/equivalent.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/hard_link_count.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_block_file/is_block_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_char_file/is_character_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_directory/is_directory.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_fifo/is_fifo.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_other/is_other.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_regular_file/is_regular_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_socket/is_socket.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/is_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.read_symlink/read_symlink.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/relative.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove/remove.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.rename/rename.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.resize_file/resize_file.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.space/space.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cin.sh.cpp
M libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcin-imbue.sh.cpp
M libcxx/test/std/input.output/iostream.objects/wide.stream.objects/wcin.sh.cpp
A libcxx/test/std/input.output/string.streams/helper_concepts.h
A libcxx/test/std/input.output/string.streams/helper_string_macros.h
A libcxx/test/std/input.output/string.streams/helper_types.h
A libcxx/test/std/input.output/string.streams/istringstream/istringstream.cons/string_view.alloc.pass.cpp
A libcxx/test/std/input.output/string.streams/istringstream/istringstream.cons/string_view.mode.alloc.pass.cpp
A libcxx/test/std/input.output/string.streams/istringstream/istringstream.cons/string_view.mode.pass.cpp
A libcxx/test/std/input.output/string.streams/istringstream/istringstream.members/str.string_view.pass.cpp
A libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/string_view.alloc.pass.cpp
A libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/string_view.mode.alloc.pass.cpp
A libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.cons/string_view.mode.pass.cpp
A libcxx/test/std/input.output/string.streams/ostringstream/ostringstream.members/str.string_view.pass.cpp
A libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/string_view.alloc.pass.cpp
A libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/string_view.mode.alloc.pass.cpp
A libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/string_view.mode.pass.cpp
A libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.members/str.string_view.pass.cpp
A libcxx/test/std/input.output/string.streams/stringstream/stringstream.cons/string_view.alloc.pass.cpp
A libcxx/test/std/input.output/string.streams/stringstream/stringstream.cons/string_view.mode.alloc.pass.cpp
A libcxx/test/std/input.output/string.streams/stringstream/stringstream.cons/string_view.mode.pass.cpp
A libcxx/test/std/input.output/string.streams/stringstream/stringstream.members/str.string_view.pass.cpp
M libcxx/test/std/iterators/iterator.requirements/iterator.cust/iterator.cust.swap/iter_swap.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/sstream.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
M libcxx/test/std/ranges/range.access/begin.pass.cpp
M libcxx/test/std/ranges/range.access/end.pass.cpp
M libcxx/test/std/ranges/range.access/rbegin.pass.cpp
M libcxx/test/std/ranges/range.access/rend.pass.cpp
M libcxx/test/std/ranges/range.access/size.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.all/all.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.chunk.by/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.common.view/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.drop.while/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.drop/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.elements/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.filter/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.join/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.lazy.split/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.reverse/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.split/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.take.while/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.take/adaptor.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.transform/adaptor.pass.cpp
M libcxx/test/std/ranges/range.utility/range.subrange/operator.pair_like.pass.cpp
A libcxx/test/std/ranges/robust_against_poison_pills.compile.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/parse.pass.cpp
M libcxx/test/std/time/time.syn/formatter.file_time.pass.cpp
M libcxx/test/std/time/time.syn/formatter.local_time.pass.cpp
M libcxx/test/std/time/time.syn/formatter.sys_time.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/get_tzdb.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.access/get_tzdb_list.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.list/front.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.list/iterators.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.remote/reload_tzdb.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.db/time.zone.db.remote/remote_version.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.members/name.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.members/target.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.link/time.zone.link.nonmembers/comparison.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/name.pass.cpp
M libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.nonmembers/comparison.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.bool.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.c_string.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.floating_point.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.handle.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.pointer.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.signed_integral.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.string.pass.cpp
M libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.unsigned_integral.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtdef/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/parse.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.formatter/parse.pass.cpp
M libcxx/test/std/utilities/format/format.tuple/format.functions.tests.h
M libcxx/test/std/utilities/format/format.tuple/parse.pass.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/tuple.by.type.verify.cpp
M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_v.verify.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/conv.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/conv.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit.member/visit.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit.member/visit_return_type.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit/visit.pass.cpp
M libcxx/test/std/utilities/variant/variant.visit/visit_return_type.pass.cpp
M libcxx/test/support/test_range.h
M libcxx/test/support/variant_test_helpers.h
M libcxx/test/tools/CMakeLists.txt
M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
M libcxx/utils/ci/Dockerfile
M libcxx/utils/ci/docker-compose.yml
M libcxx/utils/ci/run-buildbot-container
M libcxx/utils/generate_feature_test_macro_components.py
M libcxx/utils/libcxx/header_information.py
M libcxx/utils/libcxx/test/features.py
M libcxx/utils/libcxx/test/format.py
M libcxx/utils/libcxx/test/params.py
M libcxxabi/src/CMakeLists.txt
M libunwind/src/CMakeLists.txt
M lld/COFF/DLL.cpp
M lld/COFF/InputFiles.cpp
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Arch/LoongArch.cpp
M lld/ELF/Arch/PPC64.cpp
M lld/ELF/Arch/RISCV.cpp
M lld/ELF/Config.h
M lld/ELF/DWARF.cpp
M lld/ELF/Driver.cpp
M lld/ELF/ICF.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/InputFiles.h
M lld/ELF/InputSection.cpp
M lld/ELF/MarkLive.cpp
M lld/ELF/Options.td
M lld/ELF/OutputSections.cpp
M lld/ELF/OutputSections.h
M lld/ELF/ScriptParser.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/SyntheticSections.h
M lld/ELF/Writer.cpp
M lld/MachO/Driver.cpp
M lld/MachO/InputSection.h
M lld/MachO/ObjC.cpp
M lld/MachO/ObjC.h
M lld/MachO/Options.td
M lld/MachO/SyntheticSections.cpp
M lld/MachO/SyntheticSections.h
M lld/MachO/Writer.cpp
M lld/docs/ReleaseNotes.rst
M lld/docs/ld.lld.1
M lld/test/COFF/delayimports-armnt.yaml
A lld/test/COFF/exportas.test
M lld/test/ELF/amdgpu-duplicate-sym.s
M lld/test/ELF/compress-sections-err.s
A lld/test/ELF/compress-sections-special.s
A lld/test/ELF/compress-sections.s
M lld/test/ELF/i386-relax-reloc.s
M lld/test/ELF/incompatible-section-types2.s
A lld/test/ELF/linkerscript/compress-sections.s
M lld/test/ELF/linkerscript/custom-section-type.s
M lld/test/ELF/linkerscript/discard-section.s
M lld/test/ELF/linkerscript/wildcards.s
A lld/test/ELF/loongarch-reloc-leb128.s
M lld/test/ELF/lto/amdgcn-oses.ll
M lld/test/ELF/pack-dyn-relocs-arm2.s
M lld/test/ELF/pack-dyn-relocs.s
M lld/test/ELF/systemz-gotent-relax-align.s
M lld/test/ELF/systemz-gotent-relax-und-dso.s
M lld/test/ELF/systemz-gotent-relax.s
A lld/test/ELF/unknown-section.test
M lld/test/ELF/weak-undef-got-pie.s
M lld/test/ELF/x86-64-gotpc-relax-nopic.s
M lld/test/ELF/x86-64-gotpc-relax-und-dso.s
M lld/test/ELF/x86-64-gotpc-relax.s
M lld/test/ELF/x86-64-relax-got-abs.s
M lld/test/ELF/x86-64-relax-offset.s
A lld/test/MachO/objc-category-merging-complete-test.s
A lld/test/MachO/objc-category-merging-extern-class-minimal.s
M lldb/bindings/lua/CMakeLists.txt
M lldb/cmake/caches/Apple-lldb-Linux.cmake
M lldb/cmake/modules/LLDBConfig.cmake
M lldb/docs/resources/build.rst
M lldb/examples/python/crashlog.py
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/Core/Disassembler.h
M lldb/include/lldb/Core/Progress.h
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/Core/ValueObjectCast.h
M lldb/include/lldb/Core/ValueObjectChild.h
M lldb/include/lldb/Core/ValueObjectConstResult.h
M lldb/include/lldb/Core/ValueObjectDynamicValue.h
M lldb/include/lldb/Core/ValueObjectMemory.h
M lldb/include/lldb/Core/ValueObjectRegister.h
M lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
M lldb/include/lldb/Core/ValueObjectVTable.h
M lldb/include/lldb/Core/ValueObjectVariable.h
M lldb/include/lldb/DataFormatters/TypeSynthetic.h
M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
M lldb/include/lldb/DataFormatters/VectorIterator.h
A lldb/include/lldb/Host/Alarm.h
M lldb/include/lldb/Symbol/CompilerType.h
M lldb/include/lldb/Symbol/LineEntry.h
M lldb/include/lldb/Symbol/Type.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/include/lldb/Target/ABI.h
M lldb/include/lldb/Target/Language.h
M lldb/include/lldb/Target/Process.h
M lldb/include/lldb/Target/StackFrameRecognizer.h
M lldb/include/lldb/Target/Target.h
M lldb/include/lldb/Utility/AddressableBits.h
M lldb/include/lldb/Utility/ConstString.h
M lldb/include/lldb/Utility/Log.h
M lldb/include/lldb/Utility/SupportFile.h
M lldb/include/lldb/lldb-defines.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/lldbpexpect.py
M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
M lldb/packages/Python/lldbsuite/test/test_categories.py
M lldb/packages/Python/lldbsuite/test/test_result.py
M lldb/source/API/SBLineEntry.cpp
M lldb/source/API/SBProcess.cpp
M lldb/source/API/SBThread.cpp
M lldb/source/API/SBValue.cpp
M lldb/source/Breakpoint/BreakpointLocation.cpp
M lldb/source/Breakpoint/BreakpointResolver.cpp
M lldb/source/Breakpoint/BreakpointResolverFileLine.cpp
M lldb/source/Commands/CommandObjectBreakpoint.cpp
M lldb/source/Commands/CommandObjectDWIMPrint.cpp
M lldb/source/Commands/CommandObjectProcess.cpp
M lldb/source/Commands/CommandObjectSource.cpp
M lldb/source/Commands/CommandObjectTarget.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Core/Address.cpp
M lldb/source/Core/Debugger.cpp
M lldb/source/Core/Disassembler.cpp
M lldb/source/Core/DumpDataExtractor.cpp
M lldb/source/Core/FormatEntity.cpp
M lldb/source/Core/IOHandlerCursesGUI.cpp
M lldb/source/Core/Mangled.cpp
M lldb/source/Core/Progress.cpp
M lldb/source/Core/SourceManager.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/Core/ValueObjectCast.cpp
M lldb/source/Core/ValueObjectChild.cpp
M lldb/source/Core/ValueObjectConstResult.cpp
M lldb/source/Core/ValueObjectDynamicValue.cpp
M lldb/source/Core/ValueObjectMemory.cpp
M lldb/source/Core/ValueObjectRegister.cpp
M lldb/source/Core/ValueObjectSyntheticFilter.cpp
M lldb/source/Core/ValueObjectVTable.cpp
M lldb/source/Core/ValueObjectVariable.cpp
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/source/DataFormatters/TypeSynthetic.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/DataFormatters/VectorType.cpp
M lldb/source/Expression/IRExecutionUnit.cpp
M lldb/source/Host/CMakeLists.txt
A lldb/source/Host/common/Alarm.cpp
M lldb/source/Host/common/Editline.cpp
M lldb/source/Host/common/Host.cpp
M lldb/source/Plugins/ABI/AArch64/ABIAArch64.cpp
M lldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
M lldb/source/Plugins/ABI/AArch64/ABISysV_arm64.cpp
M lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp
M lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
M lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/InstrumentationRuntimeASanLibsanitizers.cpp
M lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
M lldb/source/Plugins/InstrumentationRuntime/Utility/ReportRetriever.cpp
M lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp
M lldb/source/Plugins/Language/CPlusPlus/CMakeLists.txt
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
M lldb/source/Plugins/Language/CPlusPlus/Coroutines.cpp
M lldb/source/Plugins/Language/CPlusPlus/Coroutines.h
M lldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp
M lldb/source/Plugins/Language/CPlusPlus/GenericOptional.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
M lldb/source/Plugins/Language/CPlusPlus/LibCxxAtomic.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxList.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxQueue.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxRangesRefView.cpp
A lldb/source/Plugins/Language/CPlusPlus/LibCxxSliceArray.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxSpan.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxTuple.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxValarray.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxVariant.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcppTuple.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp
M lldb/source/Plugins/Language/ObjC/Cocoa.cpp
M lldb/source/Plugins/Language/ObjC/NSArray.cpp
M lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
M lldb/source/Plugins/Language/ObjC/NSError.cpp
M lldb/source/Plugins/Language/ObjC/NSException.cpp
M lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp
M lldb/source/Plugins/Language/ObjC/NSSet.cpp
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp
M lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolLocator/DebugSymbols/SymbolLocatorDebugSymbols.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
M lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
M lldb/source/Symbol/CompileUnit.cpp
M lldb/source/Symbol/CompilerType.cpp
M lldb/source/Symbol/Function.cpp
M lldb/source/Symbol/LineEntry.cpp
M lldb/source/Symbol/LineTable.cpp
M lldb/source/Symbol/SymbolContext.cpp
M lldb/source/Symbol/Symtab.cpp
M lldb/source/Symbol/Type.cpp
M lldb/source/Symbol/Variable.cpp
M lldb/source/Target/ABI.cpp
M lldb/source/Target/Language.cpp
M lldb/source/Target/Process.cpp
M lldb/source/Target/StackFrame.cpp
M lldb/source/Target/StackFrameList.cpp
M lldb/source/Target/Target.cpp
M lldb/source/Target/TargetProperties.td
M lldb/source/Target/Thread.cpp
M lldb/source/Target/TraceDumper.cpp
M lldb/source/Utility/AddressableBits.cpp
M lldb/test/API/benchmarks/expression/TestExpressionCmd.py
M lldb/test/API/benchmarks/expression/TestRepeatedExprs.py
M lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py
M lldb/test/API/benchmarks/startup/TestStartupDelays.py
M lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py
M lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
M lldb/test/API/commands/dwim-print/TestDWIMPrint.py
M lldb/test/API/commands/expression/completion/Makefile
M lldb/test/API/commands/expression/completion/TestExprCompletion.py
M lldb/test/API/commands/expression/completion/main.cpp
A lldb/test/API/commands/expression/completion/sys/reserved.h
M lldb/test/API/commands/platform/connect/TestPlatformConnect.py
M lldb/test/API/driver/quit_speed/TestQuitWithProcess.py
M lldb/test/API/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py
M lldb/test/API/functionalities/data-formatter/builtin-formats/TestBuiltinFormats.py
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/valarray/TestDataFormatterLibcxxValarray.py
M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/valarray/main.cpp
A lldb/test/API/functionalities/fork/concurrent_vfork/Makefile
A lldb/test/API/functionalities/fork/concurrent_vfork/TestConcurrentVFork.py
A lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp
M lldb/test/API/functionalities/progress_reporting/TestTrimmedProgressReporting.py
A lldb/test/API/functionalities/valobj_errors/Makefile
A lldb/test/API/functionalities/valobj_errors/TestValueObjectErrors.py
A lldb/test/API/functionalities/valobj_errors/hidden.c
A lldb/test/API/functionalities/valobj_errors/main.c
M lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py
A lldb/test/API/lang/cpp/gmodules/pch-chain/Makefile
A lldb/test/API/lang/cpp/gmodules/pch-chain/TestPchChain.py
A lldb/test/API/lang/cpp/gmodules/pch-chain/base-pch.h
A lldb/test/API/lang/cpp/gmodules/pch-chain/main.cpp
A lldb/test/API/lang/cpp/gmodules/pch-chain/pch.h
M lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py
A lldb/test/API/macosx/tbi-honored/Makefile
A lldb/test/API/macosx/tbi-honored/TestTBIHonored.py
A lldb/test/API/macosx/tbi-honored/main.c
A lldb/test/API/python_api/process/address-masks/Makefile
A lldb/test/API/python_api/process/address-masks/TestAddressMasks.py
A lldb/test/API/python_api/process/address-masks/main.c
M lldb/test/API/python_api/run_locker/TestRunLocker.py
M lldb/test/API/python_api/value/TestValueAPI.py
M lldb/test/API/python_api/value/main.c
M lldb/test/API/terminal/TestSTTYBeforeAndAfter.py
M lldb/test/CMakeLists.txt
A lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/altered_threadState.crash
A lldb/test/Shell/ScriptInterpreter/Python/Crashlog/altered_threadState.test
M lldb/test/Shell/SymbolFile/Breakpad/symtab-sorted-by-size.test
M lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_declaration-with-children.s
M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-missing-signature.test
M lldb/test/Shell/SymbolFile/DWARF/x86/dwp-separate-debug-file.cpp
M lldb/test/Shell/Unwind/eh-frame-dwarf-unwind.test
M lldb/test/Shell/Unwind/thread-step-out-ret-addr-check.test
M lldb/test/Shell/lit.cfg.py
M lldb/tools/debugserver/source/MacOSX/MachProcess.mm
M lldb/tools/debugserver/source/RNBSocket.cpp
M lldb/tools/driver/Driver.cpp
M lldb/tools/lldb-server/lldb-gdbserver.cpp
M lldb/unittests/Core/ProgressReportTest.cpp
A lldb/unittests/Host/AlarmTest.cpp
M lldb/unittests/Host/CMakeLists.txt
M lldb/unittests/Process/ProcessEventDataTest.cpp
M lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
M llvm/CMakeLists.txt
M llvm/bindings/ocaml/llvm/llvm_ocaml.c
M llvm/cmake/modules/AddLLVM.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/cmake/modules/TableGen.cmake
M llvm/docs/AMDGPUUsage.rst
M llvm/docs/CMake.rst
M llvm/docs/CodeReview.rst
M llvm/docs/CommandGuide/llvm-ar.rst
M llvm/docs/CommandGuide/llvm-debuginfo-analyzer.rst
M llvm/docs/CommandGuide/llvm-remarkutil.rst
M llvm/docs/Coroutines.rst
M llvm/docs/DirectX/DXILArchitecture.rst
M llvm/docs/Frontend/PerformanceTips.rst
M llvm/docs/GettingInvolved.rst
M llvm/docs/GettingStarted.rst
M llvm/docs/GitHub.rst
M llvm/docs/GlobalISel/GenericOpcode.rst
M llvm/docs/LangRef.rst
M llvm/docs/ORCv2.rst
M llvm/docs/PointerAuth.md
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/docs/SourceLevelDebugging.rst
M llvm/docs/UserGuides.rst
M llvm/docs/conf.py
M llvm/examples/BrainF/BrainF.cpp
M llvm/examples/Fibonacci/fibonacci.cpp
M llvm/examples/ParallelJIT/ParallelJIT.cpp
M llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp
M llvm/include/llvm-c/Core.h
M llvm/include/llvm-c/DebugInfo.h
M llvm/include/llvm-c/Types.h
M llvm/include/llvm/ADT/APInt.h
M llvm/include/llvm/ADT/FoldingSet.h
M llvm/include/llvm/ADT/GenericConvergenceVerifier.h
M llvm/include/llvm/ADT/STLExtras.h
M llvm/include/llvm/ADT/StringExtras.h
M llvm/include/llvm/Analysis/ConstantFolding.h
M llvm/include/llvm/Analysis/DominanceFrontier.h
M llvm/include/llvm/Analysis/InstSimplifyFolder.h
M llvm/include/llvm/Analysis/InstructionSimplify.h
M llvm/include/llvm/Analysis/MemoryLocation.h
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/AsmParser/LLToken.h
M llvm/include/llvm/BinaryFormat/DXContainer.h
M llvm/include/llvm/BinaryFormat/DXContainerConstants.def
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/include/llvm/CodeGen/CommandFlags.h
M llvm/include/llvm/CodeGen/FunctionLoweringInfo.h
M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
M llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
A llvm/include/llvm/CodeGen/MachineConvergenceVerifier.h
M llvm/include/llvm/CodeGen/MachineFrameInfo.h
M llvm/include/llvm/CodeGen/MachineFunction.h
M llvm/include/llvm/CodeGen/MachineLoopInfo.h
M llvm/include/llvm/CodeGen/MachineMemOperand.h
M llvm/include/llvm/CodeGen/MachinePassManager.h
M llvm/include/llvm/CodeGen/MachineRegisterInfo.h
M llvm/include/llvm/CodeGen/RegAllocPBQP.h
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGISel.h
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/CodeGen/TargetRegisterInfo.h
M llvm/include/llvm/CodeGen/ValueTypes.h
M llvm/include/llvm/CodeGenTypes/LowLevelType.h
M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
M llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h
A llvm/include/llvm/DebugInfo/LogicalView/Readers/LVDWARFReader.h
R llvm/include/llvm/DebugInfo/LogicalView/Readers/LVELFReader.h
A llvm/include/llvm/ExecutionEngine/Orc/Debugging/VTuneSupportPlugin.h
M llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
M llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h
M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
A llvm/include/llvm/ExecutionEngine/Orc/Shared/VTuneSharedStructs.h
A llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.h
M llvm/include/llvm/Frontend/Directive/DirectiveBase.td
M llvm/include/llvm/Frontend/OpenACC/ACC.td
A llvm/include/llvm/Frontend/OpenMP/OMP.h
M llvm/include/llvm/Frontend/OpenMP/OMP.td
M llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/include/llvm/IR/Attributes.h
M llvm/include/llvm/IR/Attributes.td
M llvm/include/llvm/IR/BasicBlock.h
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/include/llvm/IR/DIBuilder.h
M llvm/include/llvm/IR/DebugProgramInstruction.h
M llvm/include/llvm/IR/Dominators.h
M llvm/include/llvm/IR/Function.h
M llvm/include/llvm/IR/GenericConvergenceVerifierImpl.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/IRBuilderFolder.h
M llvm/include/llvm/IR/InstrTypes.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/IR/Instructions.h
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/include/llvm/IR/IntrinsicsPowerPC.td
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/include/llvm/IR/NoFolder.h
M llvm/include/llvm/IR/Operator.h
M llvm/include/llvm/IR/PassManager.h
M llvm/include/llvm/IR/PatternMatch.h
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/include/llvm/MC/MCAsmInfo.h
M llvm/include/llvm/MC/MCContext.h
M llvm/include/llvm/MC/MCInstBuilder.h
M llvm/include/llvm/MC/MCObjectFileInfo.h
M llvm/include/llvm/MC/MCSymbolXCOFF.h
M llvm/include/llvm/MC/MCTargetOptions.h
M llvm/include/llvm/MC/MCTargetOptionsCommandFlags.h
M llvm/include/llvm/ObjCopy/CommonConfig.h
M llvm/include/llvm/Object/Archive.h
M llvm/include/llvm/Object/COFFImportFile.h
M llvm/include/llvm/Object/ELFObjectFile.h
M llvm/include/llvm/ObjectYAML/DXContainerYAML.h
M llvm/include/llvm/Passes/PassBuilder.h
M llvm/include/llvm/ProfileData/InstrProfWriter.h
M llvm/include/llvm/Support/Casting.h
M llvm/include/llvm/Support/Compression.h
M llvm/include/llvm/Support/Error.h
M llvm/include/llvm/Support/KnownBits.h
M llvm/include/llvm/Support/Program.h
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Support/ThreadPool.h
M llvm/include/llvm/Support/VirtualFileSystem.h
M llvm/include/llvm/Support/X86DisassemblerDecoderCommon.h
M llvm/include/llvm/TableGen/DirectiveEmitter.h
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/Target/Target.td
M llvm/include/llvm/Target/TargetMachine.h
M llvm/include/llvm/Target/TargetOptions.h
M llvm/include/llvm/Target/TargetSchedule.td
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/include/llvm/TargetParser/ARMTargetParser.def
M llvm/include/llvm/TargetParser/RISCVTargetParser.h
M llvm/include/llvm/TextAPI/Record.h
M llvm/include/llvm/TextAPI/RecordsSlice.h
A llvm/include/llvm/Transforms/Instrumentation/RemoveTrapsPass.h
M llvm/include/llvm/Transforms/Scalar/Float2Int.h
M llvm/include/llvm/Transforms/Scalar/Reassociate.h
M llvm/include/llvm/Transforms/Utils.h
M llvm/include/llvm/Transforms/Utils/Local.h
M llvm/include/llvm/Transforms/Utils/MemoryTaggingSupport.h
M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
M llvm/lib/Analysis/AssumptionCache.cpp
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/DomConditionCache.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/TargetLibraryInfo.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/AsmParser/LLLexer.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/CommandFlags.cpp
M llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
M llvm/lib/CodeGen/DFAPacketizer.cpp
M llvm/lib/CodeGen/ExpandLargeFpConvert.cpp
M llvm/lib/CodeGen/FinalizeISel.cpp
M llvm/lib/CodeGen/GCRootLowering.cpp
M llvm/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/InlineAsmLowering.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/lib/CodeGen/GlobalMerge.cpp
M llvm/lib/CodeGen/HardwareLoops.cpp
M llvm/lib/CodeGen/LLVMTargetMachine.cpp
M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
M llvm/lib/CodeGen/LiveIntervals.cpp
M llvm/lib/CodeGen/LowLevelTypeUtils.cpp
M llvm/lib/CodeGen/MIRParser/MIParser.cpp
M llvm/lib/CodeGen/MIRParser/MIRParser.cpp
M llvm/lib/CodeGen/MIRPrinter.cpp
M llvm/lib/CodeGen/MIRVRegNamerUtils.cpp
M llvm/lib/CodeGen/MachineCombiner.cpp
A llvm/lib/CodeGen/MachineConvergenceVerifier.cpp
M llvm/lib/CodeGen/MachineFrameInfo.cpp
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/MachineInstr.cpp
M llvm/lib/CodeGen/MachineLoopInfo.cpp
M llvm/lib/CodeGen/MachineOperand.cpp
M llvm/lib/CodeGen/MachineOutliner.cpp
M llvm/lib/CodeGen/MachinePassManager.cpp
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/CodeGen/MachineRegisterInfo.cpp
M llvm/lib/CodeGen/MachineScheduler.cpp
M llvm/lib/CodeGen/MachineStableHash.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/ModuloSchedule.cpp
M llvm/lib/CodeGen/ParallelCG.cpp
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
M llvm/lib/CodeGen/ReachingDefAnalysis.cpp
M llvm/lib/CodeGen/RegAllocBase.cpp
M llvm/lib/CodeGen/RegAllocFast.cpp
M llvm/lib/CodeGen/RegAllocPBQP.cpp
M llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
M llvm/lib/CodeGen/SelectOptimize.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
M llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
M llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/SjLjEHPrepare.cpp
M llvm/lib/CodeGen/TargetInstrInfo.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/lib/CodeGen/TypePromotion.cpp
M llvm/lib/CodeGen/ValueTypes.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp
M llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
M llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
M llvm/lib/DebugInfo/LogicalView/CMakeLists.txt
M llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVBinaryReader.cpp
A llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
R llvm/lib/DebugInfo/LogicalView/Readers/LVELFReader.cpp
M llvm/lib/DebugInfo/PDB/Native/PDBFile.cpp
M llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
M llvm/lib/ExecutionEngine/CMakeLists.txt
M llvm/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt
M llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
R llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventsWrapper.h
R llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h
R llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h
R llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.c
R llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h
A llvm/lib/ExecutionEngine/IntelJITProfiling/CMakeLists.txt
A llvm/lib/ExecutionEngine/IntelJITProfiling/IntelJITEventsWrapper.h
A llvm/lib/ExecutionEngine/IntelJITProfiling/ittnotify_config.h
A llvm/lib/ExecutionEngine/IntelJITProfiling/ittnotify_types.h
A llvm/lib/ExecutionEngine/IntelJITProfiling/jitprofiling.c
A llvm/lib/ExecutionEngine/IntelJITProfiling/jitprofiling.h
M llvm/lib/ExecutionEngine/Orc/Debugging/CMakeLists.txt
A llvm/lib/ExecutionEngine/Orc/Debugging/VTuneSupportPlugin.cpp
M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
M llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
M llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
M llvm/lib/ExecutionEngine/Orc/TargetProcess/CMakeLists.txt
M llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
A llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
M llvm/lib/FileCheck/FileCheck.cpp
M llvm/lib/Frontend/OpenMP/OMP.cpp
M llvm/lib/Frontend/OpenMP/OMPContext.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/FuzzMutate/OpDescriptor.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/AttributeImpl.h
M llvm/lib/IR/Attributes.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/ConvergenceVerifier.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/IR/DIBuilder.cpp
M llvm/lib/IR/DataLayout.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/IRBuilder.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/LLVMContextImpl.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/Verifier.cpp
M llvm/lib/LTO/LTO.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/MC/MCObjectFileInfo.cpp
M llvm/lib/MC/MCSectionXCOFF.cpp
M llvm/lib/MC/MCTargetOptionsCommandFlags.cpp
M llvm/lib/MC/SPIRVObjectWriter.cpp
M llvm/lib/MCA/Stages/InOrderIssueStage.cpp
M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
M llvm/lib/ObjCopy/ELF/ELFObject.h
M llvm/lib/ObjCopy/MachO/MachOWriter.cpp
M llvm/lib/Object/Archive.cpp
M llvm/lib/Object/ArchiveWriter.cpp
M llvm/lib/Object/COFFImportFile.cpp
M llvm/lib/ObjectYAML/DXContainerYAML.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/ProfileData/GCOV.cpp
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/Support/APInt.cpp
M llvm/lib/Support/AutoConvert.cpp
M llvm/lib/Support/BalancedPartitioning.cpp
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/CommandLine.cpp
M llvm/lib/Support/Compression.cpp
M llvm/lib/Support/KnownBits.cpp
M llvm/lib/Support/LockFileManager.cpp
M llvm/lib/Support/Path.cpp
M llvm/lib/Support/Program.cpp
M llvm/lib/Support/RISCVISAInfo.cpp
M llvm/lib/Support/RandomNumberGenerator.cpp
M llvm/lib/Support/Unix/Memory.inc
M llvm/lib/Support/Unix/Path.inc
M llvm/lib/Support/Unix/Process.inc
M llvm/lib/Support/Unix/Program.inc
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/lib/Support/Windows/Process.inc
M llvm/lib/Support/Windows/Program.inc
M llvm/lib/Support/raw_ostream.cpp
M llvm/lib/Support/raw_socket_stream.cpp
M llvm/lib/Target/AArch64/AArch64.td
M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
M llvm/lib/Target/AArch64/AArch64FastISel.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrFormats.td
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.h
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
M llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp
M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
M llvm/lib/Target/AArch64/AArch64RegisterInfo.h
M llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
M llvm/lib/Target/AArch64/AArch64SchedA510.td
M llvm/lib/Target/AArch64/AArch64SchedNeoverseN2.td
M llvm/lib/Target/AArch64/AArch64SchedNeoverseV1.td
M llvm/lib/Target/AArch64/AArch64SchedNeoverseV2.td
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
M llvm/lib/Target/AArch64/AArch64Subtarget.cpp
M llvm/lib/Target/AArch64/AArch64Subtarget.h
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
M llvm/lib/Target/AArch64/SMEInstrFormats.td
M llvm/lib/Target/AArch64/SVEInstrFormats.td
M llvm/lib/Target/AArch64/SVEIntrinsicOpts.cpp
M llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
M llvm/lib/Target/AMDGPU/AMDGPU.h
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
A llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/CMakeLists.txt
M llvm/lib/Target/AMDGPU/DSDIRInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/EXPInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
M llvm/lib/Target/AMDGPU/GCNILPSched.cpp
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.h
Log Message:
-----------
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.6-beta.1
[skip ci]
Compare: https://github.com/llvm/llvm-project/compare/1bcd01c5b0ab...94b39c3ce88b
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