[llvm-branch-commits] [llvm] 989b5c9 - Remove test code that cause MSAN failure.

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Feb 19 21:28:52 PST 2021


Author: Hongtao Yu
Date: 2021-02-19T21:21:12-08:00
New Revision: 989b5c9571922ddfecae78a1351d0c801bfbf97b

URL: https://github.com/llvm/llvm-project/commit/989b5c9571922ddfecae78a1351d0c801bfbf97b
DIFF: https://github.com/llvm/llvm-project/commit/989b5c9571922ddfecae78a1351d0c801bfbf97b.diff

LOG: 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.

Added: 
    

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

Removed: 
    


################################################################################
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


        


More information about the llvm-branch-commits mailing list