PR #11570: [ROCm] FileCheck fixes
PR #11570: [ROCm] FileCheck fixes

Imported from GitHub PR https://github.com/openxla/xla/pull/11570

This PR patches several FileCheck pattern tests so that they pass on ROCm.
Copybara import of the project:

--
0edeabdf23fb01e21c5984b4a8f902a720b5820e by Eugene Kuznetsov <eugene.kuznetsov@amd.com>:

ROCm FileCheck pattern fixes

Merging this change closes #11570

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/11570 from ROCm:rocm_filecheck_fixes_240415 0edeabdf23fb01e21c5984b4a8f902a720b5820e
