[all-commits] [llvm/llvm-project] ecd514: [Utils] Replace llc with cat for tests
Sebastian Neubauer via All-commits
all-commits at lists.llvm.org
Wed Sep 22 01:10:58 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ecd5145c27e819f95036cc0be8f22ce174f19238
https://github.com/llvm/llvm-project/commit/ecd5145c27e819f95036cc0be8f22ce174f19238
Author: Sebastian Neubauer <Sebastian.Neubauer at amd.com>
Date: 2021-09-22 (Wed, 22 Sep 2021)
Changed paths:
A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_no_merge_comments-O0.s
A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_no_merge_comments-O3.s
M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_no_merge_comments.ll
M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_no_merge_comments.ll.expected
M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/amdgpu-no-merge-comments.test
M llvm/utils/UpdateTestChecks/common.py
Log Message:
-----------
[Utils] Replace llc with cat for tests
Make the update_llc_test_checks script test independant of llc behavior
by using cat with static files to simulate llc output.
This allows changing llc without breaking the script test case.
The update script is executed in a temporary directory, so the
llc-generated assembly files are copied there. %T is deprecated, but it
allows copying a file with a predictable filename.
Differential Revision: https://reviews.llvm.org/D110143
More information about the All-commits
mailing list