[PATCH] D87108: [ImplicitNullCheck] Handle instructions that do not modify null behaviour of null checked reg
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 3 12:08:01 PDT 2020
anna created this revision.
anna added reviewers: dantrushin, reames, skatkov.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
anna requested review of this revision.
This is the first in a series of patches to make implicit null checks
more general. This patch identifies instructions that do not change
nullness of a register and considers that as a valid instruction to
hoist along with the faulting load. See added testcases.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87108
Files:
llvm/include/llvm/CodeGen/TargetInstrInfo.h
llvm/lib/CodeGen/ImplicitNullChecks.cpp
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/lib/Target/X86/X86InstrInfo.h
llvm/test/CodeGen/X86/implicit-null-check.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87108.289783.patch
Type: text/x-patch
Size: 16762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200903/2db9338a/attachment.bin>
More information about the llvm-commits
mailing list