This patch adds and updates lit tests for build_vector.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
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.
llvm/test/CodeGen/AMDGPU/build_vector.ll | ||
---|---|---|
1–5 | 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. |
llvm/test/CodeGen/AMDGPU/build_vector.ll | ||
---|---|---|
4 | Similarly this should be SI, not SI-DAG :) |
llvm/test/CodeGen/AMDGPU/build_vector.ll | ||
---|---|---|
4 | Unfortunately, the code is too different between the different architectures with GFX10.... I think I will update it with the script. |
llvm/test/CodeGen/AMDGPU/build_vector.ll | ||
---|---|---|
4 | 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.
Similarly this should be SI, not SI-DAG :)