Commit 8a41d3a
[CIR][LowerToLLVM] Lowering triple from
Currently, the final `target triple` in LLVM IR is set in
`CIRGenAction`, which is not executed by cir tools like `cir-translate`.
This PR delay its assignment to LLVM lowering, enabling sharing the
emitting of `target triple` between different invoking paths.cir.triple attribute (llvm#1125)1 parent bd14365 commit 8a41d3a
File tree
3 files changed
+28
-4
lines changed- clang
- lib/CIR
- FrontendAction
- Lowering/DirectToLLVM
- test/CIR/Tools
3 files changed
+28
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
296 | | - | |
297 | 295 | | |
298 | 296 | | |
299 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1295 | 1295 | | |
1296 | 1296 | | |
1297 | 1297 | | |
| 1298 | + | |
| 1299 | + | |
1298 | 1300 | | |
1299 | 1301 | | |
1300 | 1302 | | |
| |||
4789 | 4791 | | |
4790 | 4792 | | |
4791 | 4793 | | |
| 4794 | + | |
| 4795 | + | |
| 4796 | + | |
| 4797 | + | |
| 4798 | + | |
| 4799 | + | |
| 4800 | + | |
| 4801 | + | |
| 4802 | + | |
| 4803 | + | |
| 4804 | + | |
| 4805 | + | |
4792 | 4806 | | |
4793 | 4807 | | |
4794 | 4808 | | |
| |||
4839 | 4853 | | |
4840 | 4854 | | |
4841 | 4855 | | |
4842 | | - | |
4843 | | - | |
| 4856 | + | |
4844 | 4857 | | |
4845 | 4858 | | |
4846 | 4859 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments