[PATCH] [CodeGen] Add a pass to fold null checks into nearby memory operations.
Sanjoy Das
sanjoy at playingwithpointers.com
Tue Jun 2 14:40:28 PDT 2015
Hi atrick, reames, rnk, pgavlin,
This change adds an "ImplicitNullChecks" target dependent pass. This
pass folds null checks into memory operation using the FAULTING_LOAD
pseudo-op introduced in previous patches.
Depends on D10197
Depends on D10199
Depends on D10200
http://reviews.llvm.org/D10201
Files:
include/llvm/CodeGen/Passes.h
include/llvm/InitializePasses.h
lib/CodeGen/CMakeLists.txt
lib/CodeGen/CodeGen.cpp
lib/CodeGen/ImplicitNullChecks.cpp
lib/CodeGen/Passes.cpp
test/CodeGen/X86/implicit-null-check-negative.ll
test/CodeGen/X86/implicit-null-check.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10201.27010.patch
Type: text/x-patch
Size: 16309 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150602/e5f786f5/attachment.bin>
More information about the llvm-commits
mailing list