[fast-isel] Add support for the expect intrinsic.
rdar://13370942
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176649 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp
index a11f434..35f7fcb 100644
--- a/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -698,6 +698,11 @@
UpdateValueMap(Call, ResultReg);
return true;
}
+ case Intrinsic::expect: {
+// unsigned ResultReg = getRegForValue(Call->getArgOperand(0));
+// UpdateValueMap(Call, ResultReg);
+// return true;
+ }
}
// Usually, it does not make sense to initialize a value,