Commit 8d29aa2
committed
Only strip invariant.load from special pointers
Other backends (in this case NVPTX) require that `invariant.load`
metadata is maintained to generate non-coherent loads.
Currently, we unconditionally strip that metadata from all loads,
since our other uses of it may have become invalid.
x-ref: llvm/llvm-project#112834 JuliaGPU/CUDA.jl#25311 parent 20162ea commit 8d29aa2
File tree
2 files changed
+20
-2
lines changed- src
- test/llvmpasses
2 files changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1979 | 1979 | | |
1980 | 1980 | | |
1981 | 1981 | | |
1982 | | - | |
1983 | | - | |
| 1982 | + | |
| 1983 | + | |
| 1984 | + | |
| 1985 | + | |
1984 | 1986 | | |
1985 | 1987 | | |
1986 | 1988 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
93 | 109 | | |
94 | 110 | | |
95 | 111 | | |
| |||
0 commit comments