[fast-isel] Seriously, add support for the expect intrinsic.

rdar://13370942

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chad Rosier 2013-03-07 21:38:33 +00:00
parent 87d212095f
commit 4fde76db46

View File

@ -699,9 +699,9 @@ bool FastISel::SelectCall(const User *I) {
return true;
}
case Intrinsic::expect: {
// unsigned ResultReg = getRegForValue(Call->getArgOperand(0));
// UpdateValueMap(Call, ResultReg);
// return true;
unsigned ResultReg = getRegForValue(Call->getArgOperand(0));
UpdateValueMap(Call, ResultReg);
return true;
}
}