10 lines · plain
1# REQUIRES: amdgpu-registered-target2## Check that functions with different IR comments in the output are not merged3 4# Replace llc with cat, so we can simulate hypothetical output without actually running llc.5# Copy the simulated output to the temporary directory.6# RUN: mkdir -p %t.dir7# RUN: cp -f %S/Inputs/amdgpu_no_merge_comments-O0.s %t.dir/ && cp -f %S/Inputs/amdgpu_no_merge_comments-O3.s %t.dir/8# RUN: cp -f %S/Inputs/amdgpu_no_merge_comments.ll %t.dir/file.ll && %update_llc_test_checks --llc-binary cat %t.dir/file.ll9# RUN: diff -u %S/Inputs/amdgpu_no_merge_comments.ll.expected %t.dir/file.ll10