diff options
author | Hongtao Yu <hoy@fb.com> | 2021-02-11 14:51:47 -0800 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2021-02-19 21:21:12 -0800 |
commit | 989b5c9571922ddfecae78a1351d0c801bfbf97b (patch) | |
tree | 8cb10a79be7e2e4a2b3b04c3560fe6f1a6255927 | |
parent | 1f5e2016be9a01e4294dcdd10b3c7b03826b26a1 (diff) | |
download | llvm-989b5c9571922ddfecae78a1351d0c801bfbf97b.tar.gz |
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.
-rw-r--r-- | llvm/test/Transforms/SampleProfile/profile-context-order.ll | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/test/Transforms/SampleProfile/profile-context-order.ll b/llvm/test/Transforms/SampleProfile/profile-context-order.ll index a75dcc2179ca..c99cc15850b7 100644 --- a/llvm/test/Transforms/SampleProfile/profile-context-order.ll +++ b/llvm/test/Transforms/SampleProfile/profile-context-order.ll @@ -16,7 +16,6 @@ ;; considered, thus the order becomes (_Z5funcAi, _Z3fibi) which leads to ;; _Z3fibi inlined into _Z5funcAi. ; 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 -; 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 @factor = dso_local global i32 3, align 4, !dbg !0 @fp = dso_local global i32 (i32)* null, align 8 @@ -48,9 +47,6 @@ for.body: ; preds = %for.body, %entry ; NOINLINE: call i32 @_Z8funcLeafi ; ICALL-INLINE: define dso_local i32 @_Z5funcAi ; ICALL-INLINE: call i32 @_Z3foo -; ICALL-NOINLINE: define dso_local i32 @_Z5funcAi -; ICALL-NOINLINE-NO: call i32 @_Z3foo -; ICALL-NOINLINE-NO: call i32 @_Z3fibi define dso_local i32 @_Z5funcAi(i32 %x) local_unnamed_addr #0 !dbg !40 { entry: %add = add nsw i32 %x, 100000, !dbg !44 |