[llvm] e217f88 - [ConstantHoisting][test] Adjust lit test to hopefully work on windows

Bjorn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 14 03:07:58 PDT 2023


Author: Bjorn Pettersson
Date: 2023-08-14T12:07:34+02:00
New Revision: e217f8803435f5ae4cae66db97a84a140fab8c8e

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

LOG: [ConstantHoisting][test] Adjust lit test to hopefully work on windows

Something with matching of quotes seems to work poorly according to
various buildbots.

Added: 
    

Modified: 
    llvm/test/Transforms/ConstantHoisting/X86/pr52689-not-all-uses-rebased.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/ConstantHoisting/X86/pr52689-not-all-uses-rebased.ll b/llvm/test/Transforms/ConstantHoisting/X86/pr52689-not-all-uses-rebased.ll
index 00d77f9963e983..7e1d1e0ab96ef3 100644
--- a/llvm/test/Transforms/ConstantHoisting/X86/pr52689-not-all-uses-rebased.ll
+++ b/llvm/test/Transforms/ConstantHoisting/X86/pr52689-not-all-uses-rebased.ll
@@ -6,7 +6,10 @@
 ;
 ; opt: ../lib/Transforms/Scalar/ConstantHoisting.cpp:919: bool llvm::ConstantHoistingPass::emitBaseConstants(llvm::GlobalVariable *): Assertion `UsesNum == (ReBasesNum + NotRebasedNum) && "Not all uses are rebased"' failed.
 
-; CHECK: Assertion `UsesNum == (ReBasesNum + NotRebasedNum) && "Not all uses are rebased"' failed.
+; CHECK: Assertion
+; CHECK-SAME: UsesNum == (ReBasesNum + NotRebasedNum)
+; CHECK-SAME: Not all uses are rebased
+; CHECK-SAME: failed.
 
 
 @g_77 = external global [5 x i32]


        


More information about the llvm-commits mailing list