commit | 67d02c9e078bd68cad7bc12fbc86ceed345aae15 | [log] [tgz] |
---|---|---|
author | Edward O'Callaghan <eocallaghan@auroraux.org> | Mon Oct 26 22:52:03 2009 +0000 |
committer | Edward O'Callaghan <eocallaghan@auroraux.org> | Mon Oct 26 22:52:03 2009 +0000 |
tree | 4420eeac3542dd9a10bc532c5d32110a97b1b8a0 | |
parent | ccd00e369b68760c043986705ca45bb06e233f1e [diff] [blame] |
Convert a few tests to FileCheck for PR5307. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85171 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Transforms/ConstProp/float-to-ptr-cast.ll b/test/Transforms/ConstProp/float-to-ptr-cast.ll index d8eb3e8..937f606 100644 --- a/test/Transforms/ConstProp/float-to-ptr-cast.ll +++ b/test/Transforms/ConstProp/float-to-ptr-cast.ll
@@ -1,12 +1,15 @@ -; RUN: opt < %s -constprop -S | \ -; RUN: grep -F {ret i32* null} | count 2 +; RUN: opt < %s -constprop -S | FileCheck %s define i32* @test1() { %X = inttoptr i64 0 to i32* ; <i32*> [#uses=1] ret i32* %X } +; CHECK: ret i32* null + define i32* @test2() { ret i32* null } +; CHECK: ret i32* null +