Skip to content

Commit 989b5c9

Browse files
htyutstellar
authored andcommitted
Remove test code that cause MSAN failure.
Summary: The negative test (with the feature being added disabled) caused MSAN failure and that's the added feature is supposed to fix. Therefore the negative test code is being removed.
1 parent 1f5e201 commit 989b5c9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/test/Transforms/SampleProfile/profile-context-order.ll

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
;; considered, thus the order becomes (_Z5funcAi, _Z3fibi) which leads to
1717
;; _Z3fibi inlined into _Z5funcAi.
1818
; RUN: opt < %s -passes=sample-profile -use-profile-indirect-call-edges=1 -sample-profile-file=%S/Inputs/profile-context-order.prof -S | FileCheck %s -check-prefix=ICALL-INLINE
19-
; RUN: opt < %s -passes=sample-profile -use-profile-indirect-call-edges=0 -sample-profile-file=%S/Inputs/profile-context-order.prof -S | FileCheck %s -check-prefix=ICALL-NOINLINE
2019

2120
@factor = dso_local global i32 3, align 4, !dbg !0
2221
@fp = dso_local global i32 (i32)* null, align 8
@@ -48,9 +47,6 @@ for.body: ; preds = %for.body, %entry
4847
; NOINLINE: call i32 @_Z8funcLeafi
4948
; ICALL-INLINE: define dso_local i32 @_Z5funcAi
5049
; ICALL-INLINE: call i32 @_Z3foo
51-
; ICALL-NOINLINE: define dso_local i32 @_Z5funcAi
52-
; ICALL-NOINLINE-NO: call i32 @_Z3foo
53-
; ICALL-NOINLINE-NO: call i32 @_Z3fibi
5450
define dso_local i32 @_Z5funcAi(i32 %x) local_unnamed_addr #0 !dbg !40 {
5551
entry:
5652
%add = add nsw i32 %x, 100000, !dbg !44

0 commit comments

Comments
 (0)