]> granicus.if.org Git - llvm/commit
Merging r332680:
authorTom Stellard <tstellar@redhat.com>
Tue, 29 May 2018 22:38:57 +0000 (22:38 +0000)
committerTom Stellard <tstellar@redhat.com>
Tue, 29 May 2018 22:38:57 +0000 (22:38 +0000)
commita2177aa81f7067c21d823b6e4c5f337f8c2b0c87
tree35831f01b64f893d910546376faca2c6c4cbd5a2
parentcd6d38da3a1caad26675577e40f0e5630016ef83
Merging r332680:

------------------------------------------------------------------------
r332680 | kfischer | 2018-05-17 17:40:52 -0700 (Thu, 17 May 2018) | 13 lines

[X86DomainReassignment] Don't delete IMPLICIT_DEF nodes

Summary:
We cannot simply delete IMPLICIT_DEF nodes. They may be used
later (e.g. by a PHI) and deleting them will cause later passes (e.g.
LiveVariables) to crash. However, it seems fine to ignore them for
purposes of the domain reassignment (as we do with PHI).

Fixes PR37430
Fixes JuliaLang/julia#27080

Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D46797
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@333469 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86DomainReassignment.cpp
test/CodeGen/X86/domain-reassignment-implicit-def.ll [new file with mode: 0644]