[PATCH] D90293: [JumpThreading] Test thread-prob-1.ll requires asserts

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 03:12:05 PDT 2020


critson created this revision.
critson added reviewers: kazu, MaskRay, wmi.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
critson requested review of this revision.

Fix failure of thread-prob-1.ll in Release builds.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90293

Files:
  llvm/test/Transforms/JumpThreading/thread-prob-1.ll


Index: llvm/test/Transforms/JumpThreading/thread-prob-1.ll
===================================================================
--- llvm/test/Transforms/JumpThreading/thread-prob-1.ll
+++ llvm/test/Transforms/JumpThreading/thread-prob-1.ll
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: opt -debug-only=branch-prob -jump-threading -S %s 2>&1 | FileCheck %s
 
 ; Make sure that we set the branch probability for the newly created


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90293.301214.patch
Type: text/x-patch
Size: 426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201028/948e5087/attachment.bin>


More information about the llvm-commits mailing list