Skip to content

Commit 500b536

Browse files
committed
use -O0
1 parent 0c17e45 commit 500b536

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

llvm/test/CodeGen/X86/basic-block-sections-code-prefetch.ll

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
; RUN: echo 't 1,0' >> %t
88
; RUN: echo 't 1,1' >> %t
99
; RUN: echo 't 2,1' >> %t
10-
; RUN: echo 't 4,0' >> %t
10+
; RUN: echo 't 3,0' >> %t
1111
; RUN: echo 'f _Z3barv' >> %t
1212
; RUN: echo 't 0,0' >> %t
1313
; RUN: echo 't 21,1' >> %t
1414
;;
15-
; RUN: llc < %s -mtriple=x86_64-pc-linux -asm-verbose=false -function-sections -basic-block-sections=%t | FileCheck %s
15+
; RUN: llc < %s -mtriple=x86_64-pc-linux -asm-verbose=false -function-sections -basic-block-sections=%t -O0 | FileCheck %s
1616

1717
define i32 @_Z3foob(i1 zeroext %0) nounwind {
1818
%2 = alloca i32, align 4
@@ -50,9 +50,8 @@ define i32 @_Z3foob(i1 zeroext %0) nounwind {
5050
%14 = load i32, ptr %2, align 4
5151
ret i32 %14
5252
; CHECK: .LBB0_3:
53-
; CHECK-NEXT: .globl __llvm_prefetch_target__Z3foob_4_0
54-
; CHECK-NEXT: __llvm_prefetch_target__Z3foob_4_0:
55-
53+
; CHECK-NEXT: .globl __llvm_prefetch_target__Z3foob_3_0
54+
; CHECK-NEXT: __llvm_prefetch_target__Z3foob_3_0:
5655
}
5756

5857
define weak i32 @_Z3barv() nounwind {

0 commit comments

Comments
 (0)