Commit d2ad78c
committed
[ARM and TableGen] Change the ARM predicate operands to be optional
This changed the way the assembly matcher works. Previously there was a pile of hacks which dictated whether the CC and CCOut operands should be present which defacto chose which instruction version was used.
This meant much of the machinery present for the assembly matching was effectively being bi-passed and worked around.
This patch makes the CC and CCOut operands optional which allows the asm matcher operate as it was designed and means we can avoid doing some of the hacks done previously.
Change-Id: I6e308487b0e722adfc1f28ef4fa904b50144696a1 parent bc43e2d commit d2ad78c
File tree
23 files changed
+860
-624
lines changed- llvm
- include/llvm/Target
- lib/Target/ARM
- AsmParser
- test/MC/ARM
- utils/TableGen
23 files changed
+860
-624
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
948 | 948 | | |
949 | 949 | | |
950 | 950 | | |
951 | | - | |
| 951 | + | |
| 952 | + | |
952 | 953 | | |
953 | 954 | | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
954 | 963 | | |
955 | 964 | | |
956 | 965 | | |
| |||
1724 | 1733 | | |
1725 | 1734 | | |
1726 | 1735 | | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
1727 | 1741 | | |
1728 | 1742 | | |
1729 | 1743 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1746 | 1746 | | |
1747 | 1747 | | |
1748 | 1748 | | |
| 1749 | + | |
1749 | 1750 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
159 | 165 | | |
160 | 166 | | |
161 | 167 | | |
| |||
174 | 180 | | |
175 | 181 | | |
176 | 182 | | |
177 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
178 | 189 | | |
179 | 190 | | |
180 | 191 | | |
| |||
468 | 479 | | |
469 | 480 | | |
470 | 481 | | |
471 | | - | |
| 482 | + | |
472 | 483 | | |
473 | 484 | | |
474 | 485 | | |
| |||
0 commit comments