[PATCH] D11286: [ImplicitNullChecks] Work with implicit defs.
Sanjoy Das
sanjoy at playingwithpointers.com
Thu Jul 16 18:07:39 PDT 2015
sanjoy created this revision.
sanjoy added reviewers: reames, JosephTremoulet.
sanjoy added a subscriber: llvm-commits.
This change generalizes the implicit null checks pass to work with
instructions that don't have any explicit register defs. This lets us
use X86's `cmp` against memory as faulting load instructions.
http://reviews.llvm.org/D11286
Files:
lib/CodeGen/ImplicitNullChecks.cpp
lib/Target/X86/X86MCInstLower.cpp
test/CodeGen/X86/implicit-null-check.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11286.29968.patch
Type: text/x-patch
Size: 4324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150717/43d932f1/attachment.bin>
More information about the llvm-commits
mailing list