Skip to content

Commit 032c15a

Browse files
authored
[NFC] Refactor code to fold instruction in fold tests. (KhronosGroup#5558)
We repeat basically the same code multiple times in the different types of folding tests. This commit adds a function that builds the module, finds the instruction to fold, and folds it. Doing the routine checks at the same time. We also have a couple generic functions for checking that an instruction is a constant with the expected value.
1 parent 9938f5b commit 032c15a

File tree

1 file changed

+247
-407
lines changed

1 file changed

+247
-407
lines changed

0 commit comments

Comments
 (0)