File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
llvm/test/Transforms/MergeFunc Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
- ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals all --include-generated-funcs --version 5
2
1
; RUN: opt -S -passes=mergefunc < %s | FileCheck %s -implicit-check-not=funA -implicit-check-not=funC
3
2
4
3
; Replacments should be totally ordered on the function name.
@@ -45,6 +44,6 @@ define linkonce i32 @funA(i32 %x, i32 %y) {
45
44
;
46
45
; CHECK-LABEL: define linkonce i32 @funB(
47
46
; CHECK-SAME: i32 [[TMP0:%.*]], i32 [[TMP1:%.*]]) {
48
- ; CHECK-NEXT: [[TMP3:%.*]] = tail call i32 @[[GLOB0:[0-9]+]] (i32 [[TMP0]], i32 [[TMP1]])
47
+ ; CHECK-NEXT: [[TMP3:%.*]] = tail call i32 @0 (i32 [[TMP0]], i32 [[TMP1]])
49
48
; CHECK-NEXT: ret i32 [[TMP3]]
50
49
;
Original file line number Diff line number Diff line change 1
- ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals all --include-generated-funcs --version 5
2
1
; RUN: opt -S -passes=mergefunc < %s | FileCheck %s -implicit-check-not=funA -implicit-check-not=funC
3
2
4
3
; Replacments should be totally ordered on the function name.
@@ -45,6 +44,6 @@ define linkonce_odr i32 @funA(i32 %x, i32 %y) {
45
44
;
46
45
; CHECK-LABEL: define linkonce_odr i32 @funB(
47
46
; CHECK-SAME: i32 [[TMP0:%.*]], i32 [[TMP1:%.*]]) {
48
- ; CHECK-NEXT: [[TMP3:%.*]] = tail call i32 @[[GLOB0:[0-9]+]] (i32 [[TMP0]], i32 [[TMP1]])
47
+ ; CHECK-NEXT: [[TMP3:%.*]] = tail call i32 @0 (i32 [[TMP0]], i32 [[TMP1]])
49
48
; CHECK-NEXT: ret i32 [[TMP3]]
50
49
;
You can’t perform that action at this time.
0 commit comments