diff options
author | Quentin Colombet <qcolombet@apple.com> | 2016-05-03 18:09:06 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2016-05-03 18:09:06 +0000 |
commit | 26dab3a48521e7db2b0db173999f47a1806e9922 (patch) | |
tree | 04e532875dff217a931cabc0c91c743b08b79ef4 /llvm/test/CodeGen/X86/implicit-null-check.ll | |
parent | f3a2b0e8f77041ff49441486e6cc296ff685af61 (diff) | |
download | bcm5719-llvm-26dab3a48521e7db2b0db173999f47a1806e9922.tar.gz bcm5719-llvm-26dab3a48521e7db2b0db173999f47a1806e9922.zip |
[ImplicitNullChecks] Account for implicit-defs as well when updating the liveness.
The replaced load may have implicit-defs and those defs may be used
in the block of the original load. Make sure to update the liveness
accordingly.
This is a generalization of r267817.
llvm-svn: 268412
Diffstat (limited to 'llvm/test/CodeGen/X86/implicit-null-check.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/implicit-null-check.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/implicit-null-check.ll b/llvm/test/CodeGen/X86/implicit-null-check.ll index b4c9b5834c8..9a8a3a4369d 100644 --- a/llvm/test/CodeGen/X86/implicit-null-check.ll +++ b/llvm/test/CodeGen/X86/implicit-null-check.ll @@ -1,4 +1,4 @@ -; RUN: llc -O3 -mtriple=x86_64-apple-macosx -enable-implicit-null-checks < %s | FileCheck %s +; RUN: llc -verify-machineinstrs -O3 -mtriple=x86_64-apple-macosx -enable-implicit-null-checks < %s | FileCheck %s ; RUN: llc < %s -mtriple=x86_64-apple-macosx -enable-implicit-null-checks \ ; RUN: | llvm-mc -triple x86_64-apple-macosx -filetype=obj -o - \ |