Commit 7ba7021
authored
[AMDGPU][MC] Keep MCOperands unencoded. (#158685)
We have proper encoding facilities to encode operands and instructions;
there's no need to pollute the MC representation with encoding details.
Supposed to be an NFCI, but happens to fix some re-encoded instruction
codes in disassembler tests.
The 64-bit operands are to be addressed in following patches introducing
MC-level representation for lit() and lit64() modifiers, to then be
respected by both the assembler and disassembler.1 parent 5169bb4 commit 7ba7021
File tree
6 files changed
+50
-75
lines changed- llvm
- lib/Target/AMDGPU
- AsmParser
- MCTargetDesc
- Utils
- test/MC/Disassembler/AMDGPU
6 files changed
+50
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2436 | 2436 | | |
2437 | 2437 | | |
2438 | 2438 | | |
2439 | | - | |
2440 | | - | |
2441 | | - | |
2442 | | - | |
2443 | | - | |
2444 | | - | |
2445 | | - | |
2446 | | - | |
2447 | 2439 | | |
2448 | | - | |
2449 | | - | |
| 2440 | + | |
2450 | 2441 | | |
2451 | 2442 | | |
2452 | 2443 | | |
| |||
2494 | 2485 | | |
2495 | 2486 | | |
2496 | 2487 | | |
2497 | | - | |
2498 | | - | |
2499 | | - | |
2500 | | - | |
2501 | | - | |
2502 | | - | |
2503 | | - | |
2504 | | - | |
2505 | | - | |
2506 | 2488 | | |
2507 | 2489 | | |
2508 | | - | |
2509 | | - | |
2510 | | - | |
2511 | | - | |
2512 | | - | |
2513 | | - | |
2514 | | - | |
2515 | | - | |
2516 | | - | |
2517 | | - | |
2518 | 2490 | | |
2519 | 2491 | | |
2520 | | - | |
2521 | | - | |
2522 | | - | |
2523 | | - | |
2524 | | - | |
2525 | | - | |
2526 | | - | |
2527 | | - | |
2528 | | - | |
2529 | | - | |
2530 | | - | |
2531 | | - | |
2532 | | - | |
2533 | | - | |
2534 | | - | |
2535 | | - | |
2536 | | - | |
2537 | | - | |
2538 | | - | |
2539 | | - | |
2540 | | - | |
2541 | | - | |
2542 | | - | |
2543 | | - | |
2544 | | - | |
2545 | | - | |
2546 | | - | |
2547 | | - | |
2548 | | - | |
2549 | | - | |
2550 | | - | |
2551 | | - | |
2552 | | - | |
2553 | | - | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
2554 | 2495 | | |
2555 | | - | |
2556 | | - | |
2557 | 2496 | | |
2558 | | - | |
| 2497 | + | |
2559 | 2498 | | |
| 2499 | + | |
2560 | 2500 | | |
2561 | 2501 | | |
2562 | 2502 | | |
2563 | 2503 | | |
2564 | 2504 | | |
2565 | 2505 | | |
| 2506 | + | |
2566 | 2507 | | |
2567 | | - | |
| 2508 | + | |
2568 | 2509 | | |
2569 | 2510 | | |
2570 | 2511 | | |
| |||
4830 | 4771 | | |
4831 | 4772 | | |
4832 | 4773 | | |
4833 | | - | |
| 4774 | + | |
4834 | 4775 | | |
4835 | 4776 | | |
4836 | 4777 | | |
| |||
4839 | 4780 | | |
4840 | 4781 | | |
4841 | 4782 | | |
4842 | | - | |
| 4783 | + | |
| 4784 | + | |
| 4785 | + | |
4843 | 4786 | | |
4844 | 4787 | | |
4845 | 4788 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
468 | | - | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
469 | 470 | | |
470 | 471 | | |
471 | 472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3157 | 3157 | | |
3158 | 3158 | | |
3159 | 3159 | | |
| 3160 | + | |
| 3161 | + | |
| 3162 | + | |
| 3163 | + | |
| 3164 | + | |
| 3165 | + | |
| 3166 | + | |
| 3167 | + | |
| 3168 | + | |
| 3169 | + | |
| 3170 | + | |
| 3171 | + | |
| 3172 | + | |
| 3173 | + | |
| 3174 | + | |
| 3175 | + | |
| 3176 | + | |
| 3177 | + | |
| 3178 | + | |
| 3179 | + | |
| 3180 | + | |
| 3181 | + | |
| 3182 | + | |
| 3183 | + | |
| 3184 | + | |
| 3185 | + | |
| 3186 | + | |
| 3187 | + | |
3160 | 3188 | | |
3161 | 3189 | | |
3162 | 3190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1718 | 1718 | | |
1719 | 1719 | | |
1720 | 1720 | | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
1721 | 1724 | | |
1722 | 1725 | | |
1723 | 1726 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments