Commit b3c2b94
[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 (#1125)1 parent 5ed9127 commit b3c2b94
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 | |
|---|---|---|---|
| |||
1290 | 1290 | | |
1291 | 1291 | | |
1292 | 1292 | | |
| 1293 | + | |
| 1294 | + | |
1293 | 1295 | | |
1294 | 1296 | | |
1295 | 1297 | | |
| |||
4785 | 4787 | | |
4786 | 4788 | | |
4787 | 4789 | | |
| 4790 | + | |
| 4791 | + | |
| 4792 | + | |
| 4793 | + | |
| 4794 | + | |
| 4795 | + | |
| 4796 | + | |
| 4797 | + | |
| 4798 | + | |
| 4799 | + | |
| 4800 | + | |
| 4801 | + | |
4788 | 4802 | | |
4789 | 4803 | | |
4790 | 4804 | | |
| |||
4835 | 4849 | | |
4836 | 4850 | | |
4837 | 4851 | | |
4838 | | - | |
4839 | | - | |
| 4852 | + | |
4840 | 4853 | | |
4841 | 4854 | | |
4842 | 4855 | | |
| |||
| 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