PeepholeOptimizer: Ignore dead implicit defs
authorDan Gohman <dan433584@gmail.com>
Thu, 10 Dec 2015 00:37:51 +0000 (00:37 +0000)
committerDan Gohman <dan433584@gmail.com>
Thu, 10 Dec 2015 00:37:51 +0000 (00:37 +0000)
commit029e84caf411eeaf5a458af0a987708500ec1ab5
treee54cbb1558b110ef2a8dd19d63f4b5aa5fd02e24
parenta796bb8e0a72426c87912b85d6af8a164aa179e3
PeepholeOptimizer: Ignore dead implicit defs

Target-specific instructions may have uninteresting physreg clobbers,
for target-specific reasons. The peephole pass doesn't need to concern
itself with such defs, as long as they're implicit and marked as dead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255182 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PeepholeOptimizer.cpp
test/CodeGen/WebAssembly/conv.ll