Files
clang-p2996/llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/prefix-never-matches.ll.expected
Mircea Trofin 255e7e1c21 [UpdateTestChecks] Fix update_*_test_checks.py to add "unused" prefixes
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
2022-11-28 13:24:32 -08:00

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: {{.*}}