Ignore metainstructions during the shrink wrap analysis
authorAdrian Prantl <aprantl@apple.com>
Wed, 13 Dec 2017 19:10:54 +0000 (19:10 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 13 Dec 2017 19:10:54 +0000 (19:10 +0000)
commit46af7316ea1d584e3e17604a7720300b9569d257
tree67dc08d97795539e0e9e9e39c372eccf03c1bc8c
parentce5930af5cb9e1e8e698765f9c5a9a5397b6d385
Ignore metainstructions during the shrink wrap analysis

Shrink wrapping should ignore DBG_VALUEs referring to frame indices,
since the presence of debug information must not affect code
generation.

Differential Revision: https://reviews.llvm.org/D41187

llvm-svn: 320606
llvm/lib/CodeGen/ShrinkWrap.cpp
llvm/test/CodeGen/MIR/X86/shrink_wrap_dbg_value.mir [new file with mode: 0644]