brintos

brintos / llvm-project-archived public Read only

0
0
Text · 539 B · 772555d Raw
19 lines · plain
1; RUN: not llvm-reduce --abort-on-invalid-reduction --delta-passes=ir-passes --ir-passes=does-not-parse --test FileCheck --test-arg --check-prefixes=CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o /dev/null 2>&1 | FileCheck -check-prefix=ERR %s2 3; CHECK-INTERESTINGNESS-LABEL: @f14; ERR: LLVM ERROR: unknown pass name 'does-not-parse'5 6define i32 @f1(i32 %a) {7  %b = add i32 %a, 58  %c = add i32 %b, 59  ret i32 %c10}11 12define i32 @f2(i32 %a) {13  %b = add i32 %a, 514  %c = add i32 %b, 515  ret i32 %c16}17 18declare void @f3()19