[MachineOutliner] Change B instruction for tail calls to TCRETURNdi
authorJessica Paquette <jpaquette@apple.com>
Fri, 20 Apr 2018 18:03:21 +0000 (18:03 +0000)
committerJessica Paquette <jpaquette@apple.com>
Fri, 20 Apr 2018 18:03:21 +0000 (18:03 +0000)
commit2e5ada5c816b22e307e244cf98392233560051e5
tree92e64777b8fdca82597f85581497a62e055b1465
parent5bb2345985aaab6f0eb5dd3a6a4fc7eb054175b7
[MachineOutliner] Change B instruction for tail calls to TCRETURNdi

First off, this is more correct than having the B. Second off, this was making
a bot upset. This fixes that.

Update the test to include -verify-machineinstrs as well to prevent stuff like
this slipping by non debug/assert builds in the future.

llvm-svn: 330459
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/test/CodeGen/AArch64/machine-outliner.ll