The support introduced in D124306 was only added to update_llc_test_checks.py, but the motivating usecases (see https://lists.llvm.org/pipermail/llvm-dev/2021-February/148326.html) cover update_test_checks.py, update_cc_test_checks.py, and update_analyze_test_checks.py, too. Issue #59220. Differential Revision: https://reviews.llvm.org/D138836
11 lines
358 B
Plaintext
11 lines
358 B
Plaintext
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
|
; RUN: opt -O0 -S < %s | FileCheck %s -check-prefix=A
|
|
; RUN: opt -O3 -S < %s | FileCheck %s -check-prefix=A
|
|
|
|
define i32 @foo(i32 %i) {
|
|
%r = add i32 1, 1
|
|
ret i32 %r
|
|
}
|
|
;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
|
|
; A: {{.*}}
|