[MachineOutliner] Make KILLs invisible
authorJessica Paquette <jpaquette@apple.com>
Fri, 16 Mar 2018 22:53:34 +0000 (22:53 +0000)
committerJessica Paquette <jpaquette@apple.com>
Fri, 16 Mar 2018 22:53:34 +0000 (22:53 +0000)
commitb3e7dc9144eee605a6456e6aef94a8e0a77c6cdb
tree400c87cd2943db7f7577e8d6745f1bc59463fcad
parent961235d3352963cbe9efac946ec2f6ae9c14276c
[MachineOutliner] Make KILLs invisible

At the point the outliner runs, KILLs don't impact anything, but they're still
considered unique instructions. This commit makes them invisible like
DebugValues so that they can still be outlined without impacting outlining
decisions.

llvm-svn: 327760
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/test/CodeGen/AArch64/machine-outliner.mir