From 5b39f7cfef55ad6e1414f0eeb2622f5b2f1161b8 Mon Sep 17 00:00:00 2001 From: Krzysztof Parzyszek Date: Mon, 12 Mar 2018 15:11:16 +0000 Subject: [PATCH] [Hexagon] Add REQUIRES: asserts to testcases that use -debug-only llvm-svn: 327279 --- llvm/test/CodeGen/Hexagon/swp-epilog-phi6.ll | 1 + llvm/test/CodeGen/Hexagon/swp-phi-chains.ll | 1 + llvm/test/CodeGen/Hexagon/swp-resmii.ll | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/test/CodeGen/Hexagon/swp-epilog-phi6.ll b/llvm/test/CodeGen/Hexagon/swp-epilog-phi6.ll index 59629140044e..b71eb879fa5a 100644 --- a/llvm/test/CodeGen/Hexagon/swp-epilog-phi6.ll +++ b/llvm/test/CodeGen/Hexagon/swp-epilog-phi6.ll @@ -1,4 +1,5 @@ ; RUN: llc -march=hexagon -O2 -debug-only=pipeliner < %s -o - 2>&1 > /dev/null | FileCheck %s +; REQUIRES: asserts ; Test that the phi in the first epilog block is getter the correct ; value from the kernel block. In this bug, the phi was using the value diff --git a/llvm/test/CodeGen/Hexagon/swp-phi-chains.ll b/llvm/test/CodeGen/Hexagon/swp-phi-chains.ll index 748d66eeaa7f..e3a6c9db616e 100644 --- a/llvm/test/CodeGen/Hexagon/swp-phi-chains.ll +++ b/llvm/test/CodeGen/Hexagon/swp-phi-chains.ll @@ -1,4 +1,5 @@ ; RUN: llc -march=hexagon -debug-only=pipeliner < %s -o - 2>&1 | FileCheck %s +; REQUIRES: asserts ; Test that there is a chain edge between two dependent Phis. ; The pipeliner tries to remove chains between unrelated Phis, but diff --git a/llvm/test/CodeGen/Hexagon/swp-resmii.ll b/llvm/test/CodeGen/Hexagon/swp-resmii.ll index 2e31ff02bfc0..9cf3b1e34ab0 100644 --- a/llvm/test/CodeGen/Hexagon/swp-resmii.ll +++ b/llvm/test/CodeGen/Hexagon/swp-resmii.ll @@ -1,5 +1,5 @@ ; RUN: llc -disable-lsr -march=hexagon -enable-pipeliner \ -; RUN: -debug-only=pipeliner < %s -o - 2>&1 > /dev/null | FileCheck %s +; RUN: -debug-only=pipeliner < %s 2>&1 > /dev/null | FileCheck %s ; REQUIRES: asserts ; ; Test that checks if the ResMII is 1.