LLVM/project e8bf7e8clang-tools-extra/clang-tidy/bugprone MacroParenthesesCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] fix false positives for bugprone-macro-parentheses in C++ templates (#174329)

Closes #91155
DeltaFile
+35-0clang-tools-extra/test/clang-tidy/checkers/bugprone/macro-parentheses.cpp
+21-11clang-tools-extra/clang-tidy/bugprone/MacroParenthesesCheck.cpp
+9-5clang-tools-extra/docs/ReleaseNotes.rst
+65-163 files

LLVM/project c249664llvm/test/CodeGen/AMDGPU carryout-selection.ll llvm.amdgcn.wmma.gfx1250.w32.ll

[AMDGPU] Handle `s_setreg_imm32_b32` targeting `MODE` register

On certain hardware, this instruction clobbers VGPR MSB `bits[12:19]`, so we need to restore the current mode.
DeltaFile
+713-2llvm/test/CodeGen/AMDGPU/carryout-selection.ll
+246-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wmma.gfx1250.w32.ll
+220-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wmma.imod.gfx1250.w32.ll
+212-0llvm/test/CodeGen/AMDGPU/flat-saddr-load.ll
+174-0llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wmma.imm.gfx1250.w32.ll
+166-0llvm/test/CodeGen/AMDGPU/flat-saddr-atomics.ll
+1,731-2146 files not shown
+6,212-3152 files

LLVM/project 4435d43llvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV rv64p.ll

[RISCV] Add computeKnownBits for CLSW. (#174636)

DeltaFile
+64-0llvm/test/CodeGen/RISCV/rv64p.ll
+15-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+79-02 files

LLVM/project 6e86037llvm/lib/Target/RISCV RISCVLoadStoreOptimizer.cpp, llvm/test/CodeGen/RISCV xqcilsm-lwmi-swmi.mir

[RISCV] Improve load/store pairing for Xqcilsm instructions in RISCVLoadStoreOptimizer (#174612)

If we did not pair two viable `Xqcilsm` load/store instructions in
`RISCVLoadStoreOptimizer` we iterated over the second instruction when
looking for other pairs to merge. This leads to us missing out on
opportunities where the second instruction could have been the start of
another potential pair that could have been merged.
DeltaFile
+57-0llvm/test/CodeGen/RISCV/xqcilsm-lwmi-swmi.mir
+14-4llvm/lib/Target/RISCV/RISCVLoadStoreOptimizer.cpp
+71-42 files

LLVM/project 1ec343dlibclc CMakeLists.txt

[libclc] Add support for `nvptx64-nvidia-cuda` triple (#174611)

Summary:
The OS here is the standard CUDA support target, which is the ABI used
for all of the same intrinsics the `nvidiacl` target uses. These can be
aliases asn `cuda` in the triple is the canonical form for most all GPU
compute.
DeltaFile
+5-0libclc/CMakeLists.txt
+5-01 files

LLVM/project 8136cb9lldb/docs index.rst, lldb/docs/resources lldbdap-contributing.md lldbdap.md

[lldb] Update LLDB DAP documentation. (#172580)

This adds a new page to lldb.llvm.org that includes a user guide for
lldb-dap.

The overall structure for documentation:

* https://lldb.llvm.org/resources/lldbdap.html - represents the user
facing documentation for lldb-dap, a high level overview of lldb-dap and
a place we can point users to for basic usage information.
* https://lldb.llvm.org/resources/lldbdap-contributing.html - represents
the contributing documentation for lldb-dap.
* llvm-project/lldb/tools/lldb-dap/README.md - The lldb-dap VSCode
Extension specific documentation.

This is a first pass at the documentation, I expect to expand on it
further as needed.
DeltaFile
+209-0lldb/docs/use/lldbdap.md
+195-0lldb/docs/resources/lldbdap-contributing.md
+0-195lldb/docs/resources/lldbdap.md
+3-1lldb/tools/lldb-dap/README.md
+2-1lldb/docs/index.rst
+409-1975 files

LLVM/project 0b2f3cfclang/lib/Sema SemaAMDGPU.cpp, clang/test/CodeGenOpenCL builtins-amdgcn-gfx1250-wmma-w32.cl

Revert "[AMDGPU] Rework the clamp support for WMMA instructions" (#174674)

Reverts llvm/llvm-project#174310

This change is causing 2 cross-project-test failures on
https://lab.llvm.org/buildbot/#/builders/174/builds/29695
DeltaFile
+0-57llvm/lib/IR/AutoUpgrade.cpp
+26-26llvm/test/CodeGen/AMDGPU/wmma-coececution-valu-hazards.mir
+20-20llvm/test/CodeGen/AMDGPU/wmma-hazards-gfx1250-w32.mir
+0-34clang/lib/Sema/SemaAMDGPU.cpp
+4-23llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+2-24clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250-wmma-w32.cl
+52-18412 files not shown
+90-28018 files

LLVM/project 551d553llvm/lib/Target/RISCV RISCVOptWInstrs.cpp RISCVISelLowering.cpp

[RISCV] Add SimplifyDemandedBits and hasAllNBitUsers support for CLSW. (#174542)

This matches what we do for CLZW and other W instructions.
DeltaFile
+1-0llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
+1-0llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+1-0llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
+3-03 files

LLVM/project 7e88a42clang/lib/Sema SemaAMDGPU.cpp, clang/test/CodeGenOpenCL builtins-amdgcn-gfx1250-wmma-w32.cl

Revert "[AMDGPU] Rework the clamp support for WMMA instructions (#174310)"

This reverts commit ccca3b8c6746cc27262ea36e8b5a0781d455c48a.
DeltaFile
+0-57llvm/lib/IR/AutoUpgrade.cpp
+26-26llvm/test/CodeGen/AMDGPU/wmma-coececution-valu-hazards.mir
+20-20llvm/test/CodeGen/AMDGPU/wmma-hazards-gfx1250-w32.mir
+0-34clang/lib/Sema/SemaAMDGPU.cpp
+4-23llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+2-24clang/test/CodeGenOpenCL/builtins-amdgcn-gfx1250-wmma-w32.cl
+52-18412 files not shown
+90-28018 files

LLVM/project a4cc033cross-project-tests CMakeLists.txt, cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb pointer-int-pair.test pointer-int-pair.cpp

Revert "[llvm][formatters] Add LLDB data-formatter for llvm::PointerIntPair" (#174673)

Reverts llvm/llvm-project#173261

Some bots were failing with:
```
Step 6 (build-unified-tree) failure: build (failure)
...
2.874 [7103/10/382] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o
2.875 [7102/10/383] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o
2.895 [7101/10/384] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenMapTable.cpp.o
2.896 [7100/10/385] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CompressInstEmitter.cpp.o
2.898 [7099/10/386] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CTagsEmitter.cpp.o
2.901 [7098/10/387] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelEmitter.cpp.o
2.905 [7097/10/388] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherEmitter.cpp.o
2.918 [7096/10/389] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherGen.cpp.o
2.920 [7095/10/390] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DecoderTree.cpp.o
2.932 [7094/10/391] Building CXX object projects/cross-project-tests/CMakeFiles/check-lldb-llvm-support-pointer-int-pair.dir/debuginfo-tests/llvm-prettyprinters/lldb/pointer-int-pair.cpp.o
FAILED: projects/cross-project-tests/CMakeFiles/check-lldb-llvm-support-pointer-int-pair.dir/debuginfo-tests/llvm-prettyprinters/lldb/pointer-int-pair.cpp.o 

    [16 lines not shown]
DeltaFile
+88-91llvm/utils/lldbDataFormatters.py
+0-67cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/pointer-int-pair.test
+0-30cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/pointer-int-pair.cpp
+0-7cross-project-tests/CMakeLists.txt
+88-1954 files

LLVM/project 72eae2fclang/lib/CIR/Analysis FallThroughWarning.cpp, clang/lib/CIR/FrontendAction CIRGenAction.cpp

Prepare refactoring of iterating on block and region
DeltaFile
+33-12clang/lib/CIR/Analysis/FallThroughWarning.cpp
+0-1clang/lib/CIR/FrontendAction/CIRGenAction.cpp
+33-132 files

LLVM/project 3bdda61clang/lib/CIR/CodeGen CIRGenBuiltinX86.cpp, clang/test/CIR/CodeGenBuiltins/X86 avx512f16c-builtins.c

[X86][CIR]Implement handling for F16 halfs to float conversion builtins  (#173572)

Related to: #167765 
This PR implements-
`BI__builtin_ia32_vcvtph2ps_mask`
`BI__builtin_ia32_vcvtph2ps256_mask`
`BI__builtin_ia32_vcvtph2ps512_mask`
DeltaFile
+147-0clang/test/CIR/CodeGenBuiltins/X86/avx512f16c-builtins.c
+50-1clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
+197-12 files

LLVM/project 4dc9a0emlir/include/mlir/Dialect/Affine/IR AffineOps.td, mlir/include/mlir/Interfaces/Utils InferIntRangeCommon.h

[mlir][affine] Add an integer range interface to `affine.apply` (#174277)

DeltaFile
+161-0mlir/test/Dialect/Affine/int-range-interface.mlir
+126-0mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp
+38-0mlir/lib/Dialect/Affine/IR/InferIntRangeInterfaceImpls.cpp
+7-0mlir/include/mlir/Interfaces/Utils/InferIntRangeCommon.h
+3-1mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
+2-0mlir/lib/Dialect/Affine/IR/CMakeLists.txt
+337-16 files

LLVM/project 9471f53cross-project-tests CMakeLists.txt, cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb pointer-int-pair.test pointer-int-pair.cpp

[llvm][formatters] Add LLDB data-formatter for llvm::PointerIntPair (#173261)

Depends on:
* https://github.com/llvm/llvm-project/pull/173238

(only last commit relevant for review)

This patch revives the `llvm::PointerIntPair` LLDB data-formatter. The
previous version was commented out because it relied on expression
evaluation and was hence slow/brittle. The formatter in this PR doesn't
rely on evaluating expressions.

Drive-by change:
* removes the `llvm::PointerUnion` formatter which was also commented
out. A future version of it will look very different than it does now,
so there's no point in keeping it because the diff won't be helpful in a
review.
DeltaFile
+96-93llvm/utils/lldbDataFormatters.py
+67-0cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/pointer-int-pair.test
+30-0cross-project-tests/debuginfo-tests/llvm-prettyprinters/lldb/pointer-int-pair.cpp
+7-0cross-project-tests/CMakeLists.txt
+200-934 files

LLVM/project 074b947llvm/test/tools/llvm-mca/RISCV/Andes45 rvv-arithmetic.s rvv-fp.s

Merge branch 'users/abhinavgaba/udp-fallback-3' into users/abhinavgaba/udp-fallback-4
DeltaFile
+6,837-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-arithmetic.s
+5,616-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-fp.s
+4,742-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-vlseg-vsseg.s
+4,345-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-bitwise.s
+3,521-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-permutation.s
+3,001-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-mul-div.s
+28,062-0859 files not shown
+63,818-7,573865 files

LLVM/project 47b9609llvm/test/tools/llvm-mca/RISCV/Andes45 rvv-arithmetic.s rvv-fp.s

Merge branch 'users/abhinavgaba/udp-fallback-2' into users/abhinavgaba/udp-fallback-3
DeltaFile
+6,837-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-arithmetic.s
+5,616-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-fp.s
+4,742-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-vlseg-vsseg.s
+4,345-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-bitwise.s
+3,521-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-permutation.s
+3,001-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-mul-div.s
+28,062-0859 files not shown
+63,818-7,573865 files

LLVM/project 5b1925bllvm/test/tools/llvm-mca/RISCV/Andes45 rvv-arithmetic.s rvv-fp.s

Merge branch 'users/abhinavgaba/udp-fallback-1' into users/abhinavgaba/udp-fallback-2
DeltaFile
+6,837-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-arithmetic.s
+5,616-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-fp.s
+4,742-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-vlseg-vsseg.s
+4,345-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-bitwise.s
+3,521-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-permutation.s
+3,001-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-mul-div.s
+28,062-0859 files not shown
+63,818-7,573865 files

LLVM/project 6441559llvm/test/tools/llvm-mca/RISCV/Andes45 rvv-arithmetic.s rvv-fp.s

Merge branch 'users/abhinavgaba/udp-fallback-0' into users/abhinavgaba/udp-fallback-1
DeltaFile
+6,837-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-arithmetic.s
+5,616-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-fp.s
+4,742-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-vlseg-vsseg.s
+4,345-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-bitwise.s
+3,521-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-permutation.s
+3,001-0llvm/test/tools/llvm-mca/RISCV/Andes45/rvv-mul-div.s
+28,062-0859 files not shown
+63,818-7,573865 files

LLVM/project 08215e5clang/docs ReleaseNotes.rst, clang/lib/Sema SemaDecl.cpp

[Clang] treat fixed-underlying enum constants as the enumerated type in C23 to follow the spec (#172211)

Fixes #172118

--- 

This patch resolves an issue where C23 fixed-underlying enum constants
were incorrectly treated as the underlying integer type instead of the
enumeration type.

According to C23 `6.7.2.2p15`:

> The enumeration member type of an enumerated type with a fixed
underlying type is the same as the type itself.
DeltaFile
+59-0clang/test/Sema/c23-fixed-underlying-enum.c
+20-0clang/test/Sema/c23-switch.c
+7-2clang/lib/Sema/SemaDecl.cpp
+3-3clang/test/SemaCXX/bitfield-preferred-type-sizing.cpp
+2-1clang/test/C/C23/n3029.c
+1-0clang/docs/ReleaseNotes.rst
+92-66 files

LLVM/project 423b2dallvm/test/CodeGen/AArch64 avg.ll, llvm/test/CodeGen/PowerPC vavg.ll

[AArch64][PPC][X86] Add test coverage for #128377 (#174661)

DeltaFile
+1,300-0llvm/test/CodeGen/X86/avgceils.ll
+1,073-3llvm/test/CodeGen/X86/avgceilu.ll
+168-0llvm/test/CodeGen/PowerPC/vavg.ll
+76-0llvm/test/CodeGen/AArch64/avg.ll
+2,617-34 files

LLVM/project 50281declang/test/CIR/CodeGen/X86 avx512-reduceIntrin.c avx512-reduceMinMaxIntrin.c, clang/test/CIR/CodeGenBuiltins/X86 avx512-reduceIntrin.c avx512-reduceMinMaxIntrin.c

[CIR][NFC] Move some builtin tests to the CodeGenBuitins folder (#174660)

This moves a few tests that were created in the wrong location.
DeltaFile
+71-0clang/test/CIR/CodeGenBuiltins/X86/avx512-reduceIntrin.c
+0-71clang/test/CIR/CodeGen/X86/avx512-reduceIntrin.c
+0-69clang/test/CIR/CodeGen/X86/avx512-reduceMinMaxIntrin.c
+69-0clang/test/CIR/CodeGenBuiltins/X86/avx512-reduceMinMaxIntrin.c
+0-45clang/test/CIR/CodeGen/X86/cir-sqrt-builtins.c
+45-0clang/test/CIR/CodeGenBuiltins/X86/sqrt-builtins.c
+185-1856 files

LLVM/project 30fe41bflang/lib/Optimizer/Transforms CUFOpConversion.cpp CUFGPUToLLVMConversion.cpp, flang/lib/Optimizer/Transforms/CUDA CUFOpConversion.cpp CUFGPUToLLVMConversion.cpp

[flang][cuda][NFC] Move CUDA Fortran passes into CUDA directory (#174657)

Move CUDA Fortran related passes with others in CUDA directory.
DeltaFile
+0-613flang/lib/Optimizer/Transforms/CUFOpConversion.cpp
+613-0flang/lib/Optimizer/Transforms/CUDA/CUFOpConversion.cpp
+0-340flang/lib/Optimizer/Transforms/CUFGPUToLLVMConversion.cpp
+340-0flang/lib/Optimizer/Transforms/CUDA/CUFGPUToLLVMConversion.cpp
+0-186flang/lib/Optimizer/Transforms/CUFComputeSharedMemoryOffsetsAndSize.cpp
+186-0flang/lib/Optimizer/Transforms/CUDA/CUFComputeSharedMemoryOffsetsAndSize.cpp
+1,139-1,1395 files not shown
+1,474-1,47411 files

LLVM/project 7ae746fclang/docs OpenMPSupport.rst

Update PR number in OpenMPSupport RST.
DeltaFile
+1-1clang/docs/OpenMPSupport.rst
+1-11 files

LLVM/project c556f11clang/lib/Driver/ToolChains Clang.cpp

remove comments
DeltaFile
+0-20clang/lib/Driver/ToolChains/Clang.cpp
+0-201 files

LLVM/project 9c2b1baclang/include/clang/Basic SourceLocation.h, clang/unittests/Basic SourceManagerTest.cpp

[LLVM][ADT] Add specialization of `DenseMapInfo` for `SourceRange` (#174524)

So that `SourceRange` can be used in `DenseMap` and `DenseSet`.
DeltaFile
+19-0clang/include/clang/Basic/SourceLocation.h
+16-0clang/unittests/Basic/SourceManagerTest.cpp
+35-02 files

LLVM/project 8ed9a40clang-tools-extra/clang-doc/assets class-template.mustache namespace-template.mustache, clang-tools-extra/test/clang-doc basic-project.mustache.test typedef-alias.cpp

[clang-doc] Make sidebar sections collapsible (#174531)

Collapsible lists are achieved via `<details>` and their child
`<summary>` tags. `<details>` tags allow for a section to be designated
as collapsible, while the `<summary>` tag is used as the sidebar
section's header. This approach was chosen over making the lists
stateful through various CSS properties.

This patch also refactors the `<li>` tag structure of sidebar sections.
Previously, the section header and list items were in separate `<li>`
tags without sharing a parent. Now, the header and items are under a
single `<li>` tag which makes more sense semantically.
DeltaFile
+96-80clang-tools-extra/clang-doc/assets/class-template.mustache
+88-68clang-tools-extra/test/clang-doc/basic-project.mustache.test
+72-60clang-tools-extra/clang-doc/assets/namespace-template.mustache
+20-25clang-tools-extra/test/clang-doc/typedef-alias.cpp
+19-21clang-tools-extra/test/clang-doc/json/compound-constraints.cpp
+17-19clang-tools-extra/test/clang-doc/json/class.cpp
+312-2735 files not shown
+363-32211 files

LLVM/project e667c39clang/include/clang/Frontend CompilerInstance.h, clang/include/clang/Serialization ModuleManager.h ModuleCache.h

[clang] Reference-count `ModuleCache` non-intrusively (#164889)

The `ModuleCache` class is currently reference-counted intrusively. As
explained in https://github.com/llvm/llvm-project/pull/139584, this is
problematic. This PR uses `std::shared_ptr` to reference-count
`ModuleCache` instead, which clarifies what happens to its lifetime when
constructing `CompilerInstance`, for example. This also makes the
reference in `ModuleManager` non-owning, simplifying the ownership
relationship further. The
`ASTUnit::transferASTDataFromCompilerInstance()` function now accounts
for that by taking care to keep it alive.
DeltaFile
+5-4clang/lib/Frontend/CompilerInstance.cpp
+3-3clang/lib/DependencyScanning/DependencyScannerImpl.cpp
+2-3clang/include/clang/Serialization/ModuleManager.h
+3-2clang/include/clang/Frontend/CompilerInstance.h
+2-3clang/include/clang/Serialization/ModuleCache.h
+2-2clang/lib/Serialization/ModuleCache.cpp
+17-178 files not shown
+30-2814 files

LLVM/project 05ed785llvm/include/llvm/Frontend/OpenMP ConstructDecompositionT.h

[OpenMP] Remove special handling of implicit clauses in decomposition

Applying implicit clauses should not cause any issues. The only exception
is that "simd linear(x)" could imply a "firstprivate", and that clause is
not allowed on the simd construct.
Add a check for that specific case, and apply all implicit clauses as if
they were explicit.
DeltaFile
+15-11llvm/include/llvm/Frontend/OpenMP/ConstructDecompositionT.h
+15-111 files

LLVM/project 3e840d2bolt/include/bolt/Core MCPlusBuilder.h, bolt/lib/Target/AArch64 AArch64MCPlusBuilder.cpp

[BOLT] Remove unnecessary dependency. NFC (#174645)

There's no need for a full definition of `BinaryBasicBlock` in
`MCPlusBuilder.h`. Use `InstructionListType::iterator` instead of
`BinaryBasicBlock::iterator` in `findMemcpySizeInBytes()`.
DeltaFile
+1-2bolt/include/bolt/Core/MCPlusBuilder.h
+1-1bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
+2-32 files

LLVM/project a19b464flang/include/flang/Optimizer/Transforms Passes.td, flang/lib/Optimizer/Transforms CMakeLists.txt

[flang][cuda] Add CUFFunctionRewrite pass (#174650)

This rewrite some CUDA Fortran specific like `on_device` function to
constant boolean values.
DeltaFile
+103-0flang/lib/Optimizer/Transforms/CUDA/CUFFunctionRewrite.cpp
+44-0flang/test/Fir/CUDA/cuda-function-rewrite.mlir
+5-0flang/include/flang/Optimizer/Transforms/Passes.td
+1-0flang/lib/Optimizer/Transforms/CMakeLists.txt
+153-04 files