summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-08-25 17:37:44 +0000
committerTim Northover <tnorthover@apple.com>2016-08-25 17:37:44 +0000
commit6c43b850b777eb60e8c2146d7a4e0303937078d9 (patch)
treeaaa1fb46f258bc6e90efce72c88a0bf55899f2a9 /llvm/lib/CodeGen
parentd8a6d7ce91b0ff2d8a87bf53da33cd3dc3b20185 (diff)
downloadbcm5719-llvm-6c43b850b777eb60e8c2146d7a4e0303937078d9.tar.gz
bcm5719-llvm-6c43b850b777eb60e8c2146d7a4e0303937078d9.zip
GlobalISel: add missing type to G_UADDE instructions
llvm-svn: 279762
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp b/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
index 50896abbb0e..dfa252d0b62 100644
--- a/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
@@ -141,11 +141,10 @@ MachineInstrBuilder MachineIRBuilder::buildStore(LLT VTy, LLT PTy,
.addMemOperand(&MMO);
}
-MachineInstrBuilder MachineIRBuilder::buildUAdde(LLT Ty, unsigned Res,
- unsigned CarryOut,
- unsigned Op0, unsigned Op1,
- unsigned CarryIn) {
- return buildInstr(TargetOpcode::G_UADDE, Ty)
+MachineInstrBuilder
+MachineIRBuilder::buildUAdde(ArrayRef<LLT> Tys, unsigned Res, unsigned CarryOut,
+ unsigned Op0, unsigned Op1, unsigned CarryIn) {
+ return buildInstr(TargetOpcode::G_UADDE, Tys)
.addDef(Res)
.addDef(CarryOut)
.addUse(Op0)
OpenPOWER on IntegriCloud