Commit 939f818
committed
[RISCV] Split __builtin_riscv_brev8 into _32 and _64 builtin.
Allow _32 builtin on RV64 since it only brev8+sext.w.
Part of an effort to remove 'long' to mean XLen from the builtin
interface.
Matches the proposal here riscv-non-isa/riscv-c-api-doc#44
Reviewed By: asb
Differential Revision: https://reviews.llvm.org/D1546831 parent 345a03b commit 939f818
File tree
4 files changed
+24
-8
lines changed- clang
- include/clang/Basic
- lib/CodeGen
- test/CodeGen/RISCV/rvb-intrinsics
4 files changed
+24
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20206 | 20206 | | |
20207 | 20207 | | |
20208 | 20208 | | |
20209 | | - | |
| 20209 | + | |
| 20210 | + | |
20210 | 20211 | | |
20211 | 20212 | | |
20212 | 20213 | | |
| |||
20257 | 20258 | | |
20258 | 20259 | | |
20259 | 20260 | | |
20260 | | - | |
| 20261 | + | |
| 20262 | + | |
20261 | 20263 | | |
20262 | 20264 | | |
20263 | 20265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
6 | 19 | | |
7 | 20 | | |
8 | 21 | | |
9 | 22 | | |
10 | 23 | | |
11 | 24 | | |
12 | 25 | | |
13 | | - | |
| 26 | + | |
14 | 27 | | |
15 | | - | |
| 28 | + | |
16 | 29 | | |
0 commit comments