Wolfgang Pieb 68a8ae0696
Make some tablegen tests more flexible. (#97651)
Some organizations have added operators downstream, and the 3 tests in
this PR tend to fail with off-by-n errors (with n being the number of
added operators) periodically.
To alleviate this. the proposed change is taking advantage of the fact
that the 2nd and 3rd element in a switch table represent the lower and
upper bounds of the operator id, and that the offset of the first byte
of the encoded operations is a function of these 2 bounds.
Additionally, we the default label offset is encoded in a FileCheck
variable.
2024-07-08 09:31:44 -07:00
..
2023-10-19 09:26:36 +02:00
2024-04-01 18:32:55 +08:00
2022-10-26 09:16:32 -07:00