Skip to content

Commit 50117ac

Browse files
committed
Update function to reflect that it's not actually hot
1 parent 6dd7428 commit 50117ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/Transforms/PhaseOrdering/unswitch-cold-func.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88

99
;; IR was generated from the following loop nest, profiled when called
1010
;; with M=0 and N=0.
11-
;; void hotFunction(bool cond, int M, int N, int * A, int *B, int *C) {
11+
;; void function(bool cond, int M, int N, int * A, int *B, int *C) {
1212
;; for (unsigned j = 0; j < M; j++)
1313
;; for (unsigned i=0; i < N; i++) {
1414
;; A[i] = B[i] + C[i];
1515
;; if (cond) do_something();
1616
;; }
1717
;; }
1818

19-
define void @_Z11hotFunctionbiiPiS_S_(i1 %cond, i32 %M, i32 %N, ptr %A, ptr %B, ptr %C) !prof !36 {
20-
; CHECK-LABEL: define void @_Z11hotFunctionbiiPiS_S_
19+
define void @_Z11functionbiiPiS_S_(i1 %cond, i32 %M, i32 %N, ptr %A, ptr %B, ptr %C) !prof !36 {
20+
; CHECK-LABEL: define void @_Z11functionbiiPiS_S_
2121
; CHECK-SAME: (i1 [[COND:%.*]], i32 [[M:%.*]], i32 [[N:%.*]], ptr [[A:%.*]], ptr [[B:%.*]], ptr [[C:%.*]]) {{.*}}{
2222
; CHECK-NEXT: entry:
2323
; CHECK-NEXT: [[CMP19_NOT:%.*]] = icmp eq i32 [[M]], 0

0 commit comments

Comments
 (0)