mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
67198bc6db
Summary: If there was a single target to begin with, because a single target can only occupy a single chunk, we couldn't increase granularity. and would immediately give up. Likewise, if we had multiple targets, if by the end we'd end up with a single target, we wouldn't finish reducing it, it would always end up being "interesting" Reviewers: dblaikie, nickdesaulniers, diegotf Reviewed By: dblaikie Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D84318
13 lines
356 B
LLVM
13 lines
356 B
LLVM
; RUN: llvm-reduce --test FileCheck --test-arg --check-prefixes=CHECK-ALL,CHECK-INTERESTINGNESS --test-arg %s --test-arg --input-file %s -o %t
|
|
; RUN: cat %t | FileCheck --check-prefixes=CHECK-ALL,CHECK-FINAL %s
|
|
|
|
define i32 @t(i32 %a0) {
|
|
; CHECK-ALL-LABEL: @t
|
|
; CHECK-FINAL: () {
|
|
;
|
|
; CHECK-INTERESTINGNESS: ret i32
|
|
; CHECK-FINAL: ret i32 42
|
|
|
|
ret i32 42
|
|
}
|