diff options
author | Alina Sbirlea <asbirlea@google.com> | 2023-08-14 11:20:54 -0700 |
---|---|---|
committer | Alina Sbirlea <asbirlea@google.com> | 2023-08-14 11:21:01 -0700 |
commit | f7eb5222acd9f1296d2172dcbf1153082940092c (patch) | |
tree | 7b050ec4ce7b50f11834360020495adb7877c8ac | |
parent | 09a622baa2d80ccc38eb42b6b58b39519704399f (diff) | |
download | llvm-f7eb5222acd9f1296d2172dcbf1153082940092c.zip llvm-f7eb5222acd9f1296d2172dcbf1153082940092c.tar.gz llvm-f7eb5222acd9f1296d2172dcbf1153082940092c.tar.bz2 |
[ConstantHoisting] Limit checks to assertion message.
The word "Assertion" is not necessarily present. Limit the checks to the
assertion message.
-rw-r--r-- | llvm/test/Transforms/ConstantHoisting/X86/pr52689-not-all-uses-rebased.ll | 3 |
1 files changed, 1 insertions, 2 deletions
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 2941583..88ba4d3 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 @@ -10,8 +10,7 @@ ; ; 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 -; CHECK-SAME: UsesNum == (ReBasesNum + NotRebasedNum) +; CHECK: UsesNum == (ReBasesNum + NotRebasedNum) ; CHECK-SAME: Not all uses are rebased @g_77 = external global [5 x i32] |