diff options
author | Valentin Clement (バレンタイン クレメン) <clementval@gmail.com> | 2024-11-19 14:11:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-19 14:11:20 -0800 |
commit | 4d7df40c084d9c551761027f873a59ac83cb398d (patch) | |
tree | c8d57514386a1a038f6fa3ce86bceadc04c2a096 /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 076513646cfd922b42ea0e87e2f07397a3ff41a4 (diff) | |
download | llvm-4d7df40c084d9c551761027f873a59ac83cb398d.zip llvm-4d7df40c084d9c551761027f873a59ac83cb398d.tar.gz llvm-4d7df40c084d9c551761027f873a59ac83cb398d.tar.bz2 |
[flang][cuda] Materialize constant src in memory (#116851)
When the src of the data transfer is a constant, it needs to be
materialized in memory to be able to perform a data transfer.
```
subroutine sub1()
real, device :: a(10)
integer :: I
do i = 5, 10
a(i) = -4.0
end do
end
```
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions