[PATCH] D14632: [MachineSink] Don't break ImplicitNulls

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 20:55:19 PST 2015


sanjoy created this revision.
sanjoy added reviewers: aadg, reames.
sanjoy added a subscriber: llvm-commits.

This teaches MachineSink to not sink instructions that might break the
implicit null check optimization that runs later.  This should not
affect frontends that do not use implicit null checks.

http://reviews.llvm.org/D14632

Files:
  lib/CodeGen/MachineSink.cpp
  test/CodeGen/X86/machine-sink-and-implicit-null-checks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14632.40107.patch
Type: text/x-patch
Size: 4159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151113/5026fa00/attachment.bin>


More information about the llvm-commits mailing list