From 4fde76db466a749200af555b0f400af873111767 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Thu, 7 Mar 2013 21:38:33 +0000 Subject: [PATCH] [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 --- lib/CodeGen/SelectionDAG/FastISel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } } -- 2.34.1