[CodeGenPrepare] don't convert an unpredictable select into control flow
authorSanjay Patel <spatel@rotateright.com>
Tue, 26 Apr 2016 00:47:39 +0000 (00:47 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 26 Apr 2016 00:47:39 +0000 (00:47 +0000)
commita31b0c0ece352e7ba31a65f155e9252647c2b1cd
treea337dbfe094b07c3bbea40e60d2b0bda04ca05ce
parent90d96bf41e49de6f95ce3848815e99dc40906adb
[CodeGenPrepare] don't convert an unpredictable select into control flow

Suggested in the review of D19488:
http://reviews.llvm.org/D19488

llvm-svn: 267504
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/test/Transforms/CodeGenPrepare/X86/select.ll