1# REQUIRES: amdgpu-registered-target
2## Check that functions with different IR comments in the output are not merged
3
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: cp -f %S/Inputs/amdgpu_no_merge_comments-O0.s %T/ && cp -f %S/Inputs/amdgpu_no_merge_comments-O3.s %T/
7# RUN: cp -f %S/Inputs/amdgpu_no_merge_comments.ll %t.ll && %update_llc_test_checks --llc-binary cat %t.ll
8# RUN: diff -u %S/Inputs/amdgpu_no_merge_comments.ll.expected %t.ll
9