11 Commits

Author SHA1 Message Date
Valentin Clement (バレンタイン クレメン)
a0dfe45036
Reland "[flang][cuda] Add support for derived-type initialization on device #172568" (#174107)
The build bots failure have been address in #174048
2025-12-31 11:26:17 -08:00
Valentin Clement (バレンタイン クレメン)
f43d683409
Revert "Reland "[flang][cuda] Add support for derived-type initialization on device #172568" (#174033)
This fails https://lab.llvm.org/staging/#/builders/65
This reverts commit 1ac1a547ee3b74b4d02bc94faf02ca0381196d11.
2025-12-30 15:15:44 -08:00
Valentin Clement (バレンタイン クレメン)
1ac1a547ee
Reland "[flang][cuda] Add support for derived-type initialization on device #172568" (#172913)
#172568
2025-12-30 08:49:04 -08:00
Valentin Clement (バレンタイン クレメン)
c3403db779
Revert "Reland "[flang][cuda] Add support for derived-type initialization on device #172568"" (#172889)
Reverts llvm/llvm-project#172741

Failures in Fortran testsuite. 

https://lab.llvm.org/buildbot/#/builders/199/builds/7943
2025-12-18 11:11:47 -08:00
Valentin Clement (バレンタイン クレメン)
e81bae73fe
Reland "[flang][cuda] Add support for derived-type initialization on device #172568" (#172741)
https://github.com/llvm/llvm-project/pull/172568
2025-12-18 10:11:18 -08:00
Valentin Clement (バレンタイン クレメン)
b6d06de34d
Revert "[flang][cuda] Add support for derived-type initialization on device" (#172737)
Reverts llvm/llvm-project#172568 this cause some build bots failures.
2025-12-17 12:56:41 -08:00
Valentin Clement (バレンタイン クレメン)
ca2275b25f
[flang][cuda] Add support for derived-type initialization on device (#172568)
Add support for derived-type with default initialization that are
allocated on the device.
2025-12-17 10:16:15 -08:00
Valentin Clement (バレンタイン クレメン)
1f07f7c75a
[flang][cuda] Add support for allocate with device source (#171743)
Add support for allocate statement with a source that is a device
variable.
2025-12-10 18:05:12 -08:00
Valentin Clement (バレンタイン クレメン)
7ba71012ee
[flang][cuda] Add pointer attribute to allocate/deallocate ops (#170937)
Similar for the double descriptor information added in
https://github.com/llvm/llvm-project/pull/170901, we need to carry over
the pointer information until the op can be converted. The correct
detection would fail if the op is converted late.
2025-12-05 22:43:26 +00:00
Valentin Clement (バレンタイン クレメン)
f57f338313
[flang][cuda] Add double descriptor information in allocate/deallocate operations (#170901)
After https://github.com/llvm/llvm-project/pull/169740, the allocate and
deallocate cuf operation can be converted later. Update the way to
recognize double descriptor case by adding this information directly on
the operation itself.
2025-12-05 11:08:45 -08:00
Valentin Clement (バレンタイン クレメン)
21e64d1f5a
[flang][cuda][NFC] Split allocation related operation conversion from other cuf operations (#169740)
Split AllocOp, FreeOp, AllocateOp and DeallocateOp from other
conversion. Patterns are currently added to the base CUFOpConversion
when the option is enabled.
This split is a pre-requisite to be more flexible where we do the
allocation related operations conversion in the pipeline.
2025-12-01 10:19:52 -08:00