Commit b748248
[HIP][SPIRV] Create an intermediate file for the llvm-link output
Before this patch we had:
clang -cc1 source.c -o bitcode.bc
llvm-link -o a.out bitcode.bc
llvm-spirv -o a.out a.out
Now we have:
clang -cc1 source.c -o bitcode.bc
llvm-link -o a-linked.bc bitcode.bc
llvm-spirv -o a.out a-linked.bc
Co-authored-by: Manuel Carrasco <[email protected]>1 parent 070d11c commit b748248
File tree
3 files changed
+9
-6
lines changed- clang
- lib/Driver/ToolChains
- test/Driver
3 files changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
172 | 175 | | |
173 | | - | |
| 176 | + | |
174 | 177 | | |
175 | 178 | | |
176 | 179 | | |
| |||
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
183 | | - | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
0 commit comments