Commit 778502b
committed
[clang][IR] Overload @llvm.thread.pointer to support non-AS0 targets
Thraed-local globals live, by default, in the default globals address
space, which may not be 0, so we need to overload @llvm.thread.pointer
to support other address spaces, and use the default globals address
space in Clang.1 parent acdb0c1 commit 778502b
File tree
21 files changed
+59
-48
lines changed- clang
- lib/CodeGen
- test/CodeGen
- llvm
- include/llvm/IR
- lib
- IR
- Target
- AArch64
- RISCV
- Transforms/Utils
- test
- Assembler
- CodeGen/AArch64
- Instrumentation/HWAddressSanitizer
- Transforms/SafeStack/AArch64
- unittests/Transforms/Vectorize
21 files changed
+59
-48
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5905 | 5905 | | |
5906 | 5906 | | |
5907 | 5907 | | |
5908 | | - | |
5909 | | - | |
| 5908 | + | |
| 5909 | + | |
| 5910 | + | |
5910 | 5911 | | |
5911 | 5912 | | |
5912 | 5913 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
746 | | - | |
| 746 | + | |
747 | 747 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
882 | 882 | | |
883 | 883 | | |
884 | 884 | | |
885 | | - | |
| 885 | + | |
886 | 886 | | |
887 | 887 | | |
888 | 888 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
648 | | - | |
649 | | - | |
| 648 | + | |
| 649 | + | |
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
| |||
1419 | 1419 | | |
1420 | 1420 | | |
1421 | 1421 | | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
1422 | 1430 | | |
1423 | 1431 | | |
1424 | 1432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28166 | 28166 | | |
28167 | 28167 | | |
28168 | 28168 | | |
28169 | | - | |
28170 | | - | |
| 28169 | + | |
| 28170 | + | |
28171 | 28171 | | |
28172 | 28172 | | |
28173 | 28173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22916 | 22916 | | |
22917 | 22917 | | |
22918 | 22918 | | |
22919 | | - | |
22920 | | - | |
| 22919 | + | |
| 22920 | + | |
22921 | 22921 | | |
22922 | 22922 | | |
22923 | 22923 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
294 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments