From 8e99b0baca2379c71f40000be1b4ed0fed5656b8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 12 Feb 2006 01:32:58 +0000 Subject: [PATCH] Make these tests fail if opt crashes. llvm-svn: 26127 --- llvm/test/Regression/Transforms/InstCombine/shift.ll | 1 + llvm/test/Regression/Transforms/InstCombine/xor.ll | 1 + 2 files changed, 2 insertions(+) diff --git a/llvm/test/Regression/Transforms/InstCombine/shift.ll b/llvm/test/Regression/Transforms/InstCombine/shift.ll index 4db7db977ec7..9756880bcc3b 100644 --- a/llvm/test/Regression/Transforms/InstCombine/shift.ll +++ b/llvm/test/Regression/Transforms/InstCombine/shift.ll @@ -1,6 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; +; RUN: llvm-as < %s | opt -instcombine -disable-output && ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep sh implementation diff --git a/llvm/test/Regression/Transforms/InstCombine/xor.ll b/llvm/test/Regression/Transforms/InstCombine/xor.ll index 57ba596421c3..13199de8bd85 100644 --- a/llvm/test/Regression/Transforms/InstCombine/xor.ll +++ b/llvm/test/Regression/Transforms/InstCombine/xor.ll @@ -1,6 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; +; RUN: llvm-as < %s | opt -instcombine -disable-output && ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'xor ' %G1 = global uint 0