From: Sanjoy Das Date: Mon, 29 Jun 2015 21:27:36 +0000 (+0000) Subject: [FaultMaps] Fix test case. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=35f25f9d7e571b3ad64202bba22b94e501088ad9;p=oota-llvm.git [FaultMaps] Fix test case. implicit-null-check-negative.ll had a missing 2>&1. Fix this, and remove an incorrect test case that this exposes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240998 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/implicit-null-check-negative.ll b/test/CodeGen/X86/implicit-null-check-negative.ll index e0210d9315f..02c3d6e57d1 100644 --- a/test/CodeGen/X86/implicit-null-check-negative.ll +++ b/test/CodeGen/X86/implicit-null-check-negative.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=x86_64-apple-macosx -O3 -debug-only=faultmaps -enable-implicit-null-checks < %s | FileCheck %s +; RUN: llc -mtriple=x86_64-apple-macosx -O3 -debug-only=faultmaps -enable-implicit-null-checks < %s 2>&1 | FileCheck %s ; REQUIRES: asserts ; List cases where we should *not* be emitting implicit null checks. @@ -36,18 +36,3 @@ define i32 @imp_null_check_gep_load(i32* %x) { %t = load i32, i32* %x.gep ret i32 %t } - -define i32 @imp_null_check_load_no_md(i32* %x) { -; Everything is okay except that the !never.executed metadata is -; missing. - entry: - %c = icmp eq i32* %x, null - br i1 %c, label %is_null, label %not_null - - is_null: - ret i32 42 - - not_null: - %t = load i32, i32* %x - ret i32 %t -}