[ifcnv] Don't duplicate blocks that contain convergent instructions.
authorJustin Lebar <jlebar@google.com>
Fri, 15 Apr 2016 01:38:41 +0000 (01:38 +0000)
committerJustin Lebar <jlebar@google.com>
Fri, 15 Apr 2016 01:38:41 +0000 (01:38 +0000)
commit7dba2e0d0ca2bb0fec1e8c9a3f718e580a9501cb
tree3f15a3141471119cbf24ea8b8cc8c2db8ffb95e3
parentf04e678e36f9cc1755f6e797f7b8a322d8cd4acc
[ifcnv] Don't duplicate blocks that contain convergent instructions.

It's unsafe to duplicate blocks that contain convergent instructions
during ifcnv.  See the patch for details.

Reviewers: hfinkel

Differential Revision: http://reviews.llvm.org/D17518

llvm-svn: 266404
llvm/lib/CodeGen/IfConversion.cpp