Commit fa57074
authored
[clang][RISCV] support BITINT with mixed-type (llvm#156592)
Implement riscv-non-isa/riscv-elf-psabi-doc#419.
This patch makes the type extension based on the variable type for
BIGINT, rather than using sign extension for all cases.1 parent aa731e1 commit fa57074
File tree
3 files changed
+358
-16
lines changed- clang
- lib/CodeGen/Targets
- test/CodeGen
- RISCV
3 files changed
+358
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | 683 | | |
689 | | - | |
| 684 | + | |
| 685 | + | |
690 | 686 | | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
697 | 693 | | |
698 | 694 | | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
| |||
0 commit comments