TailDuplicator: Remove no-op analyzeBranch call
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 7 Jun 2019 13:33:34 +0000 (13:33 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 7 Jun 2019 13:33:34 +0000 (13:33 +0000)
commit94a609e343f6160f58e9fda53e62a39b56dda7c0
tree7dc55625647ff9a65e9a7d44a022e71b971b9339
parentb2e96169b0a46abb8dc95f3255557b93d92ec36e
TailDuplicator: Remove no-op analyzeBranch call

This could fail, which looked concerning. However nothing was actually
using the results of this. I assume this was intended to use the
anti-feature of analyzeBranch of removing instructions, but wasn't
actually calling it with AllowModify = true.

Fixes bug 42162.

llvm-svn: 362800
llvm/lib/CodeGen/TailDuplicator.cpp