From 9f9491ca2ed05c0f65a7c612183020f4d0b7adeb Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Tue, 25 Oct 2011 19:59:50 +0000 Subject: [PATCH] Simplify tests by not piping them through llvm-dis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142948 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Bitcode/sse42_crc32.ll | 7 ++++--- test/Bitcode/ssse3_palignr.ll | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/test/Bitcode/sse42_crc32.ll b/test/Bitcode/sse42_crc32.ll index 3f27d85589c..ddb108d1462 100644 --- a/test/Bitcode/sse42_crc32.ll +++ b/test/Bitcode/sse42_crc32.ll @@ -1,9 +1,10 @@ -; Check to make sure old CRC32 intrinsics are auto-upgraded -; correctly. +; Check to make sure old CRC32 intrinsics are auto-upgraded correctly. +; Auto-upgrade happens when parsing a .bc or a .ll file. Thus, leave the test +; case as a .ll file so we can see what's going on. ; ; Rdar: 9472944 ; -; RUN: opt < %s | llvm-dis | FileCheck %s +; RUN: opt < %s -S | FileCheck %s ; crc32.8 should upgrade to crc32.32.8 ; CHECK: i32 @llvm.x86.sse42.crc32.32.8( diff --git a/test/Bitcode/ssse3_palignr.ll b/test/Bitcode/ssse3_palignr.ll index eb844497d9d..90b4394a8b4 100644 --- a/test/Bitcode/ssse3_palignr.ll +++ b/test/Bitcode/ssse3_palignr.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s | llvm-dis | FileCheck %s +; RUN: opt < %s -S | FileCheck %s ; CHECK-NOT: {@llvm\\.palign} define <4 x i32> @align1(<4 x i32> %a, <4 x i32> %b) nounwind readnone ssp {