[PATCH] D107805: [X86] New Test Requires Asserts

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 10 02:09:24 PDT 2021


lenary created this revision.
lenary added a reviewer: pengfei.
lenary requested review of this revision.
Herald added a project: LLVM.

D105263 <https://reviews.llvm.org/D105263> introduced this new test. It fails when asserts are disabled,
due to using a debug option on opt.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107805

Files:
  llvm/test/Analysis/CostModel/X86/interleaved-load-half.ll


Index: llvm/test/Analysis/CostModel/X86/interleaved-load-half.ll
===================================================================
--- llvm/test/Analysis/CostModel/X86/interleaved-load-half.ll
+++ llvm/test/Analysis/CostModel/X86/interleaved-load-half.ll
@@ -1,4 +1,5 @@
 ; RUN: opt -S -loop-vectorize -debug-only=loop-vectorize -mattr=avx512fp16 %s 2>&1 | FileCheck %s
+; REQUIRES: asserts
 target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
 target triple = "i386-unknown-linux-gnu"
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107805.365389.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210810/89df41ab/attachment.bin>


More information about the llvm-commits mailing list