]> granicus.if.org Git - llvm/commit
Add test case for r311511
authorMatthias Braun <matze@braunis.de>
Wed, 23 Aug 2017 03:17:59 +0000 (03:17 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 23 Aug 2017 03:17:59 +0000 (03:17 +0000)
commitd44f02488c6ed07308dfb1d0ae8907c12edad82f
tree810754499f344edf9b230465d22968caccfbc0f0
parentd10d99ec2ae2bdbcc8d560b23d18268901311a8f
Add test case for r311511

This also changes the TailDuplicator to be configured explicitely
pre/post regalloc rather than relying on the isSSA() flag. This was
necessary to have `llc -run-pass` work reliably.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311520 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TailDuplicator.h
lib/CodeGen/MachineBlockPlacement.cpp
lib/CodeGen/TailDuplication.cpp
lib/CodeGen/TailDuplicator.cpp
test/CodeGen/ARM/tail-dup-bundle.mir [new file with mode: 0644]