summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/implicit-null-check-negative.ll
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-06-29 21:27:36 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-06-29 21:27:36 +0000
commit1a66ff70ed90f74f1780366d35cda32db61feba7 (patch)
treed89ada177a8a1a2a17906209de9f5a865dc37047 /llvm/test/CodeGen/X86/implicit-null-check-negative.ll
parentbff864a59660c42db3a757f7911bf98e276d818f (diff)
downloadbcm5719-llvm-1a66ff70ed90f74f1780366d35cda32db61feba7.tar.gz
bcm5719-llvm-1a66ff70ed90f74f1780366d35cda32db61feba7.zip
[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. llvm-svn: 240998
Diffstat (limited to 'llvm/test/CodeGen/X86/implicit-null-check-negative.ll')
-rw-r--r--llvm/test/CodeGen/X86/implicit-null-check-negative.ll17
1 files changed, 1 insertions, 16 deletions
diff --git a/llvm/test/CodeGen/X86/implicit-null-check-negative.ll b/llvm/test/CodeGen/X86/implicit-null-check-negative.ll
index e0210d9315f..02c3d6e57d1 100644
--- a/llvm/test/CodeGen/X86/implicit-null-check-negative.ll
+++ b/llvm/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
-}
OpenPOWER on IntegriCloud