Files
clang-p2996/llvm/test/tools/UpdateTestChecks/update_mc_test_checks/amdgpu-unique.test
Brox Chen 528e975ac4 [AMDGPU][test]added unique and sort options for update_mc_test_check script (#111769)
add a unique and a sort option to the update_mc_test_check script.

These mc asm/dasm files are usually large in number of lines, and these
lines are mostly similar to each other. These options can be useful when
maintainer is merging or resolving conflicts by making the file
identifical

Also fixed a small issue in asm/dasm such that the auto generated header
line is
1. asm using ";" instead of "//" as comment marker
2. dasm using ";" instead of "#" as comment marker
2024-10-29 13:48:43 -04:00

8 lines
376 B
Plaintext

# REQUIRES: amdgpu-registered-target
## Check that unique is working
# RUN: cp -f %S/Inputs/amdgpu_asm_unique.s %t.s && %update_mc_test_checks --unique %t.s
# RUN: diff -u %S/Inputs/amdgpu_asm_unique.s.expected %t.s
# RUN: cp -f %S/Inputs/amdgpu_dasm_unique.txt %t.txt && %update_mc_test_checks --unique %t.txt
# RUN: diff -u %S/Inputs/amdgpu_dasm_unique.txt.expected %t.txt