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

rdar://13370942

llvm-svn: 176659
This commit is contained in:
Chad Rosier 2013-03-07 21:38:33 +00:00
parent 2d44bd7bc4
commit 32844ae1ef

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;
}
}