LLVM/project 5435995libcxx/test/std/strings/basic.string/string.modifiers/string_insert iter_iter_iter.pass.cpp

[libcxx][string] Test: fix copy&paste typo for safe_allocator (#195820)

In
test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp

Was missing the test for safe_allocator (test for min_allocator was
called twice) safe_allocator would be consistent with the rest of that
PR.
DeltaFile
+1-1libcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp
+1-11 files

LLVM/project d2fd5a7llvm/test/CodeGen/NVPTX machine-cse-predicate-inversion.ll machine-cse-predicate-no-inversion.ll

Move inversion/no inversion tests to one file. Fixup issue in machine-cse-predicate-inversion-multiple-users.ll
DeltaFile
+3,997-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion.ll
+1,525-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-no-inversion.ll
+0-695llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-bfloat16.ll
+0-695llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float16.ll
+0-679llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float64.ll
+0-663llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float32.ll
+5,522-2,73211 files not shown
+5,526-5,58317 files

LLVM/project bb9b7cdllvm/test/CodeGen/NVPTX machine-cse-predicate-inversion-bfloat16.ll machine-cse-predicate-inversion-float16.ll

[NVPTX] Add commutativity to SETP instructions to enable MachineCSE of inverted predicates

Inverted predicates can be used freely in PTX. If we can invert a
predicate and CSE the generating instruction we can save calculating
the inverse.

Teach the NVPTX commuteInstructionImpl that SETP instructions can be
inverted to allow CSEing with previous SETP that match the inverted
form. This also inverts the branch users of the predicate to maintain
correctness.

Currently only allow the SETP inversion if all users are branches.
Future work can extend this to sel and not instructions.

Made-with: Cursor
DeltaFile
+695-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-bfloat16.ll
+695-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float16.ll
+679-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float64.ll
+663-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float32.ll
+437-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-int64.ll
+437-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-int16.ll
+3,606-013 files not shown
+5,908-419 files

LLVM/project 6e85668llvm/lib/Target/NVPTX NVPTXInstrInfo.td NVPTXInstrInfo.cpp, llvm/lib/Target/NVPTX/MCTargetDesc NVPTXInstPrinter.cpp

Revert "move cmp modes into td and update users"

This reverts commit 5950d9fcd6b2053e71929972b89cc983ce2cccaa, restoring
the hand-written PTXCmpMode enum in NVPTX.h and the switch-based
implementations of invertIntegerCmpMode, invertScalarFloatCmpMode,
NVPTXInstPrinter::printCmpMode and NVPTXDAGToDAGISel::getPTXCmpMode.

The TableGen GenericTable migration consolidated the comparison-mode
data but at the cost of an extra .inc file, an ODR-driven split between
NVPTXCodeGen and NVPTXDesc, and indirection through a generated lookup
where the local switches were already self-contained. Reverting until a
broader cleanup of NVPTX::PTXCmpMode is taken on as part of a larger
refactor.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+102-18llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
+4-60llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+56-2llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
+19-15llvm/lib/Target/NVPTX/NVPTX.h
+17-17llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+0-1llvm/lib/Target/NVPTX/CMakeLists.txt
+198-1136 files

LLVM/project 338f2c3llvm/lib/Target/NVPTX NVPTXInstrInfo.td NVPTXInstrInfo.cpp, llvm/lib/Target/NVPTX/MCTargetDesc NVPTXInstPrinter.cpp

move cmp modes into td and update users
DeltaFile
+18-102llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
+60-4llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+2-56llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
+15-19llvm/lib/Target/NVPTX/NVPTX.h
+17-17llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+1-0llvm/lib/Target/NVPTX/CMakeLists.txt
+113-1986 files

LLVM/project 34c1821llvm/lib/Target/NVPTX NVPTXInstrInfo.cpp NVPTXInstrInfo.td, llvm/test/CodeGen/NVPTX machine-cse-predicate-inversion-rollback.mir machine-cse-predicate-inversion-multiple-users.ll

update rollback logic and add test exercising it
DeltaFile
+66-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-rollback.mir
+17-19llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
+9-7llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-multiple-users.ll
+1-1llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+93-274 files

LLVM/project 351ae4cllvm/lib/Target/NVPTX NVPTXInstrInfo.td

Update NVPTXInstrInfo.td
DeltaFile
+2-1llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+2-11 files

LLVM/project 38e0639llvm/docs AMDGPUUsage.rst, llvm/include/llvm/Support AMDGPUAddrSpace.h

[NFC][AMDGPU] Reserve address space 16 (#195946)

This is used in downstream.
DeltaFile
+2-0llvm/include/llvm/Support/AMDGPUAddrSpace.h
+1-0llvm/docs/AMDGPUUsage.rst
+3-02 files

LLVM/project 4c1d0eellvm/lib/Target/NVPTX NVPTXInstrInfo.td NVPTXInstrInfo.cpp, llvm/lib/Target/NVPTX/MCTargetDesc NVPTXInstPrinter.cpp

Revert "move cmp modes into td and update users"

This reverts commit 5950d9fcd6b2053e71929972b89cc983ce2cccaa, restoring
the hand-written PTXCmpMode enum in NVPTX.h and the switch-based
implementations of invertIntegerCmpMode, invertScalarFloatCmpMode,
NVPTXInstPrinter::printCmpMode and NVPTXDAGToDAGISel::getPTXCmpMode.

The TableGen GenericTable migration consolidated the comparison-mode
data but at the cost of an extra .inc file, an ODR-driven split between
NVPTXCodeGen and NVPTXDesc, and indirection through a generated lookup
where the local switches were already self-contained. Reverting until a
broader cleanup of NVPTX::PTXCmpMode is taken on as part of a larger
refactor.

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+102-18llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
+4-60llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+56-2llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
+19-15llvm/lib/Target/NVPTX/NVPTX.h
+17-17llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+0-1llvm/lib/Target/NVPTX/CMakeLists.txt
+198-1136 files

LLVM/project de26666llvm/test/CodeGen/NVPTX machine-cse-predicate-inversion.ll machine-cse-predicate-no-inversion.ll

Move inversion/no inversion tests to one file. Fixup issue in machine-cse-predicate-inversion-multiple-users.ll
DeltaFile
+3,997-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion.ll
+1,525-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-no-inversion.ll
+0-695llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-bfloat16.ll
+0-695llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float16.ll
+0-679llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float64.ll
+0-663llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float32.ll
+5,522-2,73211 files not shown
+5,526-5,58317 files

LLVM/project 08d1202llvm/lib/Target/NVPTX NVPTXInstrInfo.td

Update NVPTXInstrInfo.td
DeltaFile
+2-1llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+2-11 files

LLVM/project 896c96allvm/lib/Target/NVPTX NVPTXInstrInfo.td NVPTXInstrInfo.cpp, llvm/lib/Target/NVPTX/MCTargetDesc NVPTXInstPrinter.cpp

move cmp modes into td and update users
DeltaFile
+18-102llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
+60-4llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+2-56llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
+15-19llvm/lib/Target/NVPTX/NVPTX.h
+17-17llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+1-0llvm/lib/Target/NVPTX/CMakeLists.txt
+113-1986 files

LLVM/project ab563e9llvm/lib/Target/NVPTX NVPTXInstrInfo.cpp NVPTXInstrInfo.td, llvm/test/CodeGen/NVPTX machine-cse-predicate-inversion-rollback.mir machine-cse-predicate-inversion-multiple-users.ll

update rollback logic and add test exercising it
DeltaFile
+66-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-rollback.mir
+17-19llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp
+9-7llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-multiple-users.ll
+1-1llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
+93-274 files

LLVM/project a849bfcllvm/test/CodeGen/NVPTX machine-cse-predicate-inversion-float16.ll machine-cse-predicate-inversion-bfloat16.ll

[NVPTX] Add commutativity to SETP instructions to enable MachineCSE of inverted predicates

Inverted predicates can be used freely in PTX. If we can invert a
predicate and CSE the generating instruction we can save calculating
the inverse.

Teach the NVPTX commuteInstructionImpl that SETP instructions can be
inverted to allow CSEing with previous SETP that match the inverted
form. This also inverts the branch users of the predicate to maintain
correctness.

Currently only allow the SETP inversion if all users are branches.
Future work can extend this to sel and not instructions.

Made-with: Cursor
DeltaFile
+695-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float16.ll
+695-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-bfloat16.ll
+679-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float64.ll
+663-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-float32.ll
+437-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-int16.ll
+437-0llvm/test/CodeGen/NVPTX/machine-cse-predicate-inversion-int64.ll
+3,606-013 files not shown
+5,908-419 files

LLVM/project a529b4cllvm/lib/Target/RISCV RISCVCallingConv.cpp

[RISCV] Fix inconsistent usage of ValVT and LocVT in CC_RISCV_Impl. NFCI (#195368)

I think all of our checks should be against LocVT. If LocVT is different
than ValVT, that means the location has already been changed and we
should be acting on that changed type. For the most part, I don't think
that happens for RISC-V.
DeltaFile
+18-17llvm/lib/Target/RISCV/RISCVCallingConv.cpp
+18-171 files

LLVM/project 1cbe709clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis UnsafeBufferReachableAnalysisTest.cpp

Remove partition enumeration code
DeltaFile
+8-106clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+8-1061 files

LLVM/project 2fe6e15clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis UnsafeBufferReachableAnalysisTest.cpp

Use a simple partition for distributing edges into contributors
DeltaFile
+50-16clang/unittests/ScalableStaticAnalysisFramework/WholeProgramAnalysis/UnsafeBufferReachableAnalysisTest.cpp
+50-161 files

LLVM/project 8b10c26clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow PointerFlowAnalysis.cpp, clang/test/Analysis/Scalable/PointerFlow/Inputs wpa-result.json

Merge branch 'main' into users/shiltian/reserve-as-16
DeltaFile
+93-95flang/lib/Optimizer/Transforms/CUDA/CUFAddConstructor.cpp
+140-0clang/unittests/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowWPATest.cpp
+131-0clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageWPATest.cpp
+128-0clang/test/Analysis/Scalable/PointerFlow/Inputs/wpa-result.json
+115-0clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.cpp
+110-0llvm/test/Transforms/LoopVectorize/VPlan/AArch64/call-decisions.ll
+717-9579 files not shown
+2,278-30385 files

LLVM/project 2af88e8clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevelFormat.h, clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsageAnalysis.h

[NFC][SSAF][EntityPointerLevel] Move EntityID-to-EPL map serialization to the EPL module (#193092)

Factor out the serialization of `std::map<EntityId,
EntityPointerLevelSet>` to `EntityPointerLevelFormat.h`.

---------

Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
Co-authored-by: Jan Korous <jkorous at apple.com>
DeltaFile
+50-0clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.cpp
+6-40clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
+14-0clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.h
+4-1clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.h
+2-3clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.cpp
+1-1clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
+77-451 files not shown
+78-457 files

LLVM/project c00f40elld/test/MachO arm64-thunks-multi-text-stubs.s

remove extra test
DeltaFile
+0-50lld/test/MachO/arm64-thunks-multi-text-stubs.s
+0-501 files

LLVM/project 20d1074lld/docs ReleaseNotes.rst, lld/test/MachO arm64-thunks-multi-text-stubs.s

add release notes
DeltaFile
+50-0lld/test/MachO/arm64-thunks-multi-text-stubs.s
+2-0lld/docs/ReleaseNotes.rst
+52-02 files

LLVM/project bc2253aclang/include/clang/Driver ToolChain.h, clang/lib/Driver Driver.cpp ToolChain.cpp

clang: Add BoundArch argument to ComputeEffectiveClangTriple (#195955)

This will eventually be used to adjust the amdgpu triple
to use subarches.
DeltaFile
+5-4clang/include/clang/Driver/ToolChain.h
+4-4clang/lib/Driver/ToolChains/MSVC.cpp
+4-3clang/lib/Driver/Driver.cpp
+3-1clang/lib/Driver/ToolChain.cpp
+2-1clang/lib/Driver/ToolChains/Darwin.cpp
+2-1clang/lib/Driver/ToolChains/Linux.cpp
+20-145 files not shown
+26-1611 files

LLVM/project ca56fd6clang/lib/CIR/CodeGen CIRGenModule.cpp

[CIR] Use SymbolUserMap in applyReplacements to fix quadratic behavior (#195883)

applyReplacements() previously called replaceAllSymbolUses() for each
replacement, which walks the entire module every time — O(R × M) for R
replacements and M operations. For C++ programs with heavy template
instantiation (e.g., Eigen), this quadratic behavior dominated compile
time.

Replace the per-replacement module walk with a single SymbolUserMap
built once (O(M)), then use replaceAllUsesWith() which scopes each
replacement to only the actual user operations. The debug-only
verifyPointerTypeArgs helper is also updated to reuse the map.

Measured on Eigen's basicstuff.cpp (356 lines, heavy template
instantiation): compile time dropped from 20m29s to 1m2s (20x speedup).
CIR-to-classic ratio improved from 117x to 7.2x.

Made with [Cursor](https://cursor.com)

Co-authored-by: Cursor <cursoragent at cursor.com>
DeltaFile
+21-18clang/lib/CIR/CodeGen/CIRGenModule.cpp
+21-181 files

LLVM/project 0fd6e65clang/lib/CIR/CodeGen CIRGenCall.cpp CIRGenBuiltin.cpp, clang/test/CIR/CodeGen pass-object-size.c

[CIR] Add pass_object_size hidden parameter support (#191482)

Emit the hidden `i64` parameter that
`__attribute__((pass_object_size(N)))` requires. At call sites the size
is constant-folded when possible (e.g. `&a` → 4) and falls back to
`cir.objsize` / `@llvm.objectsize` otherwise (e.g. VLAs).

On the callee side, `buildFunctionArgList` now creates an
`ImplicitParamDecl` for each annotated parameter so that
`emitBuiltinObjectSize` can load the passed size instead of re-computing
it.

This also fixes the `llvm_unreachable("NYI")` in
`RequiredArgs::getFromProtoWithExtraSlots` and the `errorNYI` in
`appendParameterTypes` / `arrangeFreeFunctionLikeCall` that fired
whenever `hasExtParameterInfos()` was true.

New test: `clang/test/CIR/CodeGen/pass-object-size.c` (CIR / LLVM /
OGCG).

    [5 lines not shown]
DeltaFile
+65-0clang/test/CIR/CodeGen/pass-object-size.c
+29-9clang/lib/CIR/CodeGen/CIRGenCall.cpp
+36-1clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+13-2clang/lib/CIR/CodeGen/CIRGenFunctionInfo.h
+8-2clang/lib/CIR/CodeGen/CIRGenFunction.cpp
+5-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+156-141 files not shown
+156-157 files

LLVM/project aa29973llvm/test/CodeGen/X86 vector-reduce-smin.ll vector-reduce-smax.ll, llvm/test/tools/llvm-mca/AArch64/Cortex C1Premium-sve-instructions.s C1Premium-writeback.s

Merge branch 'users/ziqingluo/PR-174874942-2' into users/ziqingluo/PR-174874942-3
DeltaFile
+6,873-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-sve-instructions.s
+2,940-1,458llvm/test/CodeGen/X86/vector-reduce-smin.ll
+2,936-1,457llvm/test/CodeGen/X86/vector-reduce-smax.ll
+2,695-1,364llvm/test/CodeGen/X86/vector-reduce-umax.ll
+2,646-1,359llvm/test/CodeGen/X86/vector-reduce-umin.ll
+3,979-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-writeback.s
+22,069-5,6382,911 files not shown
+123,664-44,1432,917 files

LLVM/project ffe836bmlir/lib/Dialect/XeGPU/Transforms XeGPUArrayLengthOptimization.cpp, mlir/test/Dialect/XeGPU array-len-op-unit.mlir

[MLIR][XeGPU] Support pointer/dynamic-memref sources in array-length optimization (#195872)

Extend `OptimizeCreateNdDescOp` to handle the two remaining
`create_nd_tdesc` source forms — `i64` pointer and dynamic-shape memref
— by forwarding the existing shape/strides operands through the general
builder. The memory region is unchanged by the rewrite; only the
`tensor_desc` view is narrowed along the FCD and tagged with
`array_length`.

Co-authored-by: Claude Opus 4.7 <noreply at anthropic.com>
DeltaFile
+50-0mlir/test/Dialect/XeGPU/array-len-op-unit.mlir
+14-11mlir/lib/Dialect/XeGPU/Transforms/XeGPUArrayLengthOptimization.cpp
+64-112 files

LLVM/project f54bfecllvm/test/CodeGen/X86 vector-reduce-smin.ll vector-reduce-smax.ll, llvm/test/tools/llvm-mca/AArch64/Cortex C1Premium-sve-instructions.s C1Premium-writeback.s

Merge remote-tracking branch 'origin' into users/ziqingluo/PR-174874942-2

 Conflicts:
        clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.h
        clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.h
        clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.cpp
        clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowAnalysis.cpp
        clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowExtractor.cpp
        clang/lib/ScalableStaticAnalysisFramework/Analyses/PointerFlow/PointerFlowFormat.cpp
        clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
        clang/test/Analysis/Scalable/PointerFlow/tu-summary-serialization.test
DeltaFile
+6,873-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-sve-instructions.s
+2,940-1,458llvm/test/CodeGen/X86/vector-reduce-smin.ll
+2,936-1,457llvm/test/CodeGen/X86/vector-reduce-smax.ll
+2,695-1,364llvm/test/CodeGen/X86/vector-reduce-umax.ll
+2,646-1,359llvm/test/CodeGen/X86/vector-reduce-umin.ll
+3,979-0llvm/test/tools/llvm-mca/AArch64/Cortex/C1Premium-writeback.s
+22,069-5,6382,911 files not shown
+123,664-44,1432,917 files

LLVM/project 8d9ee49clang/include/clang/Basic OffloadArch.h, clang/lib/CodeGen CGOpenMPRuntimeGPU.cpp

clang: Avoid dummy LAST entry in OffloadArch (#195952)

Use this as an alias of the final entry, rather than its
own enum value. This will allow writing covered switches
that don't need to handle this case. This matches how
other places with an end enum entry handle this.
DeltaFile
+2-2clang/include/clang/Basic/OffloadArch.h
+0-2clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
+2-42 files

LLVM/project 72fc0c3flang/test/Transforms/OpenACC acc-implicit-data.fir, mlir/include/mlir/Dialect/OpenACC OpenACCUtils.h

[mlir][acc] Improve implicit deviceptr detection for alias (#195934)

The ACCImplicitData automatically is able to use deviceptr clause when
variable is detected as being device data. However, it was missing check
for own `acc declare deviceptr` attribute.
DeltaFile
+47-0mlir/unittests/Dialect/OpenACC/OpenACCUtilsTest.cpp
+24-14mlir/lib/Dialect/OpenACC/Utils/OpenACCUtils.cpp
+31-0flang/test/Transforms/OpenACC/acc-implicit-data.fir
+28-0mlir/test/Dialect/OpenACC/acc-implicit-data.mlir
+15-8mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitData.cpp
+3-1mlir/include/mlir/Dialect/OpenACC/OpenACCUtils.h
+148-236 files

LLVM/project 85cd500clang/include/clang/Driver ToolChain.h, clang/lib/Driver Driver.cpp ToolChain.cpp

clang: Add BoundArch argument to ComputeEffectiveClangTriple

This will eventually be used to adjust the amdgpu triple
to use subarches.
DeltaFile
+5-4clang/include/clang/Driver/ToolChain.h
+4-4clang/lib/Driver/ToolChains/MSVC.cpp
+4-3clang/lib/Driver/Driver.cpp
+3-1clang/lib/Driver/ToolChain.cpp
+2-1clang/lib/Driver/ToolChains/Darwin.cpp
+2-1clang/lib/Driver/ToolChains/Fuchsia.cpp
+20-145 files not shown
+26-1611 files