]> granicus.if.org Git - llvm/commit
Merging r322319:
authorTom Stellard <tstellar@redhat.com>
Mon, 9 Apr 2018 20:45:48 +0000 (20:45 +0000)
committerTom Stellard <tstellar@redhat.com>
Mon, 9 Apr 2018 20:45:48 +0000 (20:45 +0000)
commit48e90723eaeaca411c2d9893a1cc44ef5fae109d
tree36b084c9202be2133a3946489c86a77b0393cffd
parenta7769cbdb107428ce7bab197ec65aa96aa127020
Merging r322319:

------------------------------------------------------------------------
r322319 | matze | 2018-01-11 14:30:43 -0800 (Thu, 11 Jan 2018) | 7 lines

PeepholeOptimizer: Fix for vregs without defs

The PeepholeOptimizer would fail for vregs without a definition. If this
was caused by an undef operand abort to keep the code simple (so we
don't need to add logic everywhere to replicate the undef flag).

Differential Revision: https://reviews.llvm.org/D40763
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@329619 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TargetInstrInfo.h
lib/CodeGen/PeepholeOptimizer.cpp
lib/CodeGen/TargetInstrInfo.cpp
lib/Target/ARM/ARMBaseInstrInfo.cpp
test/CodeGen/ARM/peephole-phi.mir