[fast-isel] Seriously, add support for the expect intrinsic.
rdar://13370942
llvm-svn: 176659
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index 35f7fcb..4fb9c5c 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -699,9 +699,9 @@
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;
}
}