Run non-filechecked commands in update_cc_test_checks.py
authorGiorgis Georgakoudis <georgakoudis1@llnl.gov>
Fri, 19 Feb 2021 18:45:40 +0000 (10:45 -0800)
committerGiorgis Georgakoudis <georgakoudis1@llnl.gov>
Mon, 8 Mar 2021 15:18:01 +0000 (07:18 -0800)
commit60d4c73b30a0e324c6ae314722eb036f70f4b03a
treee184cc84ac2a91bf7f354e5b238fd1474969f7a5
parenta89a3c2c7d55e672f5154408396975587f9de28c
Run non-filechecked commands in update_cc_test_checks.py

Some tests in clang require running non-filechecked commands to generate the actual filecheck input. For example, tests for openmp offloading require generating the host bc without any checking, before running the clang command to actually generate the filechecked IR of the target device. This patch enables `update_cc_test_checks.py` to run non-filechecked run lines in-place.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D97068
clang/test/utils/update_cc_test_checks/Inputs/exec-all-runlines.c [new file with mode: 0644]
clang/test/utils/update_cc_test_checks/Inputs/exec-all-runlines.c.expected [new file with mode: 0644]
clang/test/utils/update_cc_test_checks/exec-all-runlines.test [new file with mode: 0644]
llvm/utils/update_cc_test_checks.py