[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
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp
index 35f7fcb..4fb9c5c 100644
--- a/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/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;
}
}