Skip to content

Commit c0199b7

Browse files
committed
Fix build
1 parent 84bcc3a commit c0199b7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

llvm/test/tools/llvm-reduce/reduce-values-to-return-nonvoid-noncallee-use.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; Make sure we don't break on non-callee uses of funtions with a
22
; non-void return type.
33

4-
; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=values-to-return --test FileCheck --test-arg --check-prefix=INTERESTING --test-arg %s --test-arg --input-file %s -o %t
4+
; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=instructions-to-return --test FileCheck --test-arg --check-prefix=INTERESTING --test-arg %s --test-arg --input-file %s -o %t
55
; RUN: FileCheck --check-prefix=RESULT %s < %t
66

77
; INTERESTING-LABEL: @interesting(

llvm/test/tools/llvm-reduce/reduce-values-to-return.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; Test that llvm-reduce can move intermediate values by inserting
22
; early returns
33
;
4-
; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=values-to-return --test FileCheck --test-arg --check-prefixes=CHECK,INTERESTING --test-arg %s --test-arg --input-file %s -o %t
4+
; RUN: llvm-reduce --abort-on-invalid-reduction --delta-passes=instructions-to-return --test FileCheck --test-arg --check-prefixes=CHECK,INTERESTING --test-arg %s --test-arg --input-file %s -o %t
55
; RUN: FileCheck --check-prefixes=CHECK,RESULT %s < %t
66

77
@gv = global i32 0, align 4

llvm/tools/llvm-reduce/DeltaPasses.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ DELTA_PASS_IR("attributes", reduceAttributesDeltaPass, "Reducing Attributes")
4949
DELTA_PASS_IR("target-features-attr", reduceTargetFeaturesAttrDeltaPass, "Reducing target-features")
5050
DELTA_PASS_IR("module-data", reduceModuleDataDeltaPass, "Reducing Module Data")
5151
DELTA_PASS_IR("opcodes", reduceOpcodesDeltaPass, "Reducing Opcodes")
52-
DELTA_PASS_IR("values-to-return", reduceValuesToReturnDeltaPass, "Converting values to function return value")
52+
DELTA_PASS_IR("instructions-to-return", reduceInstructionsToReturnDeltaPass, "Early return of instructions")
5353
DELTA_PASS_IR("volatile", reduceVolatileInstructionsDeltaPass, "Reducing Volatile Instructions")
5454
DELTA_PASS_IR("atomic-ordering", reduceAtomicOrderingDeltaPass, "Reducing Atomic Ordering")
5555
DELTA_PASS_IR("syncscopes", reduceAtomicSyncScopesDeltaPass, "Reducing Atomic Sync Scopes")

llvm/tools/llvm-reduce/deltas/ReduceValuesToReturn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "Delta.h"
1313

1414
namespace llvm {
15-
void reduceValuesToReturnDeltaPass(Oracle &O, ReducerWorkItem &WorkItem);
15+
void reduceInstructionsToReturnDeltaPass(Oracle &O, ReducerWorkItem &WorkItem);
1616
} // namespace llvm
1717

1818
#endif

0 commit comments

Comments
 (0)