[llvm] r176659 - [fast-isel] Seriously, add support for the expect intrinsic.
Chad Rosier
mcrosier at apple.com
Thu Mar 7 13:38:33 PST 2013
Author: mcrosier
Date: Thu Mar 7 15:38:33 2013
New Revision: 176659
URL: http://llvm.org/viewvc/llvm-project?rev=176659&view=rev
Log:
[fast-isel] Seriously, add support for the expect intrinsic.
rdar://13370942
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp?rev=176659&r1=176658&r2=176659&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp Thu Mar 7 15:38:33 2013
@@ -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;
}
}
More information about the llvm-commits
mailing list