Commit 71783fe
committed
[Flang][OpenMP][MLIR] Fix regression by llvm#146653 by adding address space cast to getRefPtrIfDeclareTarget
The patch introduced changes to add address spaces to a wider array of MLIR/LLVM values, however,
it was missing an address space cast that exists in our downstream implementation that's required
for declare target to work correctly.1 parent adaa409 commit 71783fe
File tree
1 file changed
+4
-2
lines changed- mlir/lib/Target/LLVMIR/Dialect/OpenMP
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3535 | 3535 | | |
3536 | 3536 | | |
3537 | 3537 | | |
| 3538 | + | |
| 3539 | + | |
| 3540 | + | |
3538 | 3541 | | |
3539 | 3542 | | |
3540 | 3543 | | |
3541 | | - | |
3542 | | - | |
| 3544 | + | |
3543 | 3545 | | |
3544 | 3546 | | |
3545 | 3547 | | |
| |||
0 commit comments