From: Chad Rosier Date: Thu, 7 Mar 2013 21:38:33 +0000 (+0000) Subject: [fast-isel] Seriously, add support for the expect intrinsic. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4fde76db466a749200af555b0f400af873111767;p=oota-llvm.git [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 35f7fcbd390..4fb9c5c8a03 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -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; } }