summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/FastISel.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-05-16 21:06:17 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-05-16 21:06:17 +0000
commit482feb33b2bba677d47bab859d9e1e95d67016bd (patch)
tree408a1806b664a39913852fead5af017c352607e8 /include/llvm/CodeGen/FastISel.h
parenta4c920db7a3620f365144eac9aaad7ca23062caa (diff)
downloadllvm-482feb33b2bba677d47bab859d9e1e95d67016bd.tar.gz
llvm-482feb33b2bba677d47bab859d9e1e95d67016bd.tar.bz2
llvm-482feb33b2bba677d47bab859d9e1e95d67016bd.tar.xz
Make fast-isel work correctly s/uadd.with.overflow intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/FastISel.h')
-rw-r--r--include/llvm/CodeGen/FastISel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h
index e0b68a3902..962a4e2635 100644
--- a/include/llvm/CodeGen/FastISel.h
+++ b/include/llvm/CodeGen/FastISel.h
@@ -310,7 +310,7 @@ protected:
/// the CFG.
void FastEmitBranch(MachineBasicBlock *MBB, DebugLoc DL);
- unsigned UpdateValueMap(const Value* I, unsigned Reg);
+ void UpdateValueMap(const Value* I, unsigned Reg, unsigned NumRegs = 1);
unsigned createResultReg(const TargetRegisterClass *RC);