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)
commit87518392a457a10631fb3c4559a6a340b008250c
treedaf1e20bd623fa6a4b017d9f7869a86b6362499a
parent9f33e3748e76d9510c53fe2f74af07392b9c75b1
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246692 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPrepare.cpp
test/CodeGen/AArch64/fast-isel-branch-cond-split.ll