forked from OSchip/llvm-project
[CGP] Enable select in complex addr mode
Enable select instruction handling in complex addr modes. Reviewers: john.brawn, reames, aaboud Reviewed By: reames Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D40634 llvm-svn: 320551
This commit is contained in:
parent
eec462f0e8
commit
b8cb5da28d
|
@ -196,7 +196,7 @@ AddrSinkNewPhis("addr-sink-new-phis", cl::Hidden, cl::init(false),
|
|||
cl::desc("Allow creation of Phis in Address sinking."));
|
||||
|
||||
static cl::opt<bool>
|
||||
AddrSinkNewSelects("addr-sink-new-select", cl::Hidden, cl::init(false),
|
||||
AddrSinkNewSelects("addr-sink-new-select", cl::Hidden, cl::init(true),
|
||||
cl::desc("Allow creation of selects in Address sinking."));
|
||||
|
||||
static cl::opt<bool> AddrSinkCombineBaseReg(
|
||||
|
|
|
@ -234,7 +234,7 @@ for.body: ; preds = %for.body.preheader,
|
|||
}
|
||||
|
||||
; CHECK-LABEL: BinarySearch
|
||||
; CHECK: cmov
|
||||
; CHECK: set
|
||||
|
||||
define i32 @BinarySearch(i32 %Mask, %struct.Node* nocapture readonly %Curr, %struct.Node* nocapture readonly %Next) #0 {
|
||||
entry:
|
||||
|
|
Loading…
Reference in New Issue