Commit 27e5c21
Anastasia Stulova
[PR40778][Sema] Adjust addr space of operands in builtin operators.
Adjust address space for references and pointer operands of builtin operators.
Currently this change only fixes addr space in assignment (= and |=) operator,
that is needed for the test case reported in the bug. Wider support for all
other operations will follow.
Differential Revision: https://reviews.llvm.org/D58719
llvm-svn: 3556081 parent 95817d3 commit 27e5c21
File tree
2 files changed
+60
-5
lines changed- clang
- lib/Sema
- test/CodeGenOpenCLCXX
2 files changed
+60
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7659 | 7659 | | |
7660 | 7660 | | |
7661 | 7661 | | |
| 7662 | + | |
| 7663 | + | |
| 7664 | + | |
| 7665 | + | |
| 7666 | + | |
| 7667 | + | |
7662 | 7668 | | |
7663 | 7669 | | |
7664 | 7670 | | |
| |||
7670 | 7676 | | |
7671 | 7677 | | |
7672 | 7678 | | |
7673 | | - | |
| 7679 | + | |
| 7680 | + | |
7674 | 7681 | | |
7675 | 7682 | | |
7676 | 7683 | | |
7677 | 7684 | | |
7678 | 7685 | | |
7679 | 7686 | | |
7680 | | - | |
7681 | | - | |
| 7687 | + | |
| 7688 | + | |
| 7689 | + | |
7682 | 7690 | | |
7683 | 7691 | | |
7684 | 7692 | | |
| |||
8573 | 8581 | | |
8574 | 8582 | | |
8575 | 8583 | | |
8576 | | - | |
8577 | | - | |
| 8584 | + | |
| 8585 | + | |
| 8586 | + | |
8578 | 8587 | | |
8579 | 8588 | | |
8580 | 8589 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments