This patch adds and updates lit tests for build_vector.
Looks obviously fine once you have fixed the --check-prefixes problem. You could also auto-generate the checks for this file with update_llc_test_checks if you wanted to.
You should just specify "ALL" on the command line, not "ALL-LABEL". FileCheck has a generic feature where you can put suffixes like "-LABEL" or "-DAG" on any prefix.
Unfortunately, the code is too different between the different architectures with GFX10....
I think I will update it with the script.
No, I mean that on the FileCheck command line you just specify "--check-prefixes=...,SI,...". It's fine to use "SI-DAG:" checks in the file.
It was possible without the script, the diff is smaller like that, it's probably better.