use "unpredictable" metadata in fast-isel when splitting compares
authorSanjay Patel <spatel@rotateright.com>
Wed, 2 Sep 2015 19:23:23 +0000 (19:23 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 2 Sep 2015 19:23:23 +0000 (19:23 +0000)
commit42574203e55772022f93904a16f020daeade27cc
treecbc16e5d0f106cc283323f433ce29cf408310e5c
parentfff7c6dc7319e7e735a3135b4254e874faef4077
use "unpredictable" metadata in fast-isel when splitting compares

This patch uses the metadata defined in D12341 to avoid creating an unpredictable branch.

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

llvm-svn: 246692
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/test/CodeGen/AArch64/fast-isel-branch-cond-split.ll