From ea091264144add21bbd29791a914ed30e44ff1c1 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Wed, 30 Jun 2004 21:47:40 +0000 Subject: [PATCH] visitSetCondInst() takes a parameter of type `SetCondInst' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14508 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Sparc/InstSelectSimple.cpp | 4 ++-- lib/Target/Sparc/SparcV8ISelSimple.cpp | 4 ++-- lib/Target/SparcV8/InstSelectSimple.cpp | 4 ++-- lib/Target/SparcV8/SparcV8ISelSimple.cpp | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/Target/Sparc/InstSelectSimple.cpp b/lib/Target/Sparc/InstSelectSimple.cpp index 91fb2cb09db..3ad9aa70bb3 100644 --- a/lib/Target/Sparc/InstSelectSimple.cpp +++ b/lib/Target/Sparc/InstSelectSimple.cpp @@ -75,7 +75,7 @@ namespace { void visitBinaryOperator(Instruction &I); void visitShiftInst (ShiftInst &SI) { visitBinaryOperator (SI); } - void visitSetCondInst(Instruction &I); + void visitSetCondInst(SetCondInst &I); void visitCallInst(CallInst &I); void visitReturnInst(ReturnInst &I); void visitBranchInst(BranchInst &I); @@ -924,7 +924,7 @@ void V8ISel::visitBinaryOperator (Instruction &I) { } } -void V8ISel::visitSetCondInst(Instruction &I) { +void V8ISel::visitSetCondInst(SetCondInst &I) { unsigned Op0Reg = getReg (I.getOperand (0)); unsigned Op1Reg = getReg (I.getOperand (1)); unsigned DestReg = getReg (I); diff --git a/lib/Target/Sparc/SparcV8ISelSimple.cpp b/lib/Target/Sparc/SparcV8ISelSimple.cpp index 91fb2cb09db..3ad9aa70bb3 100644 --- a/lib/Target/Sparc/SparcV8ISelSimple.cpp +++ b/lib/Target/Sparc/SparcV8ISelSimple.cpp @@ -75,7 +75,7 @@ namespace { void visitBinaryOperator(Instruction &I); void visitShiftInst (ShiftInst &SI) { visitBinaryOperator (SI); } - void visitSetCondInst(Instruction &I); + void visitSetCondInst(SetCondInst &I); void visitCallInst(CallInst &I); void visitReturnInst(ReturnInst &I); void visitBranchInst(BranchInst &I); @@ -924,7 +924,7 @@ void V8ISel::visitBinaryOperator (Instruction &I) { } } -void V8ISel::visitSetCondInst(Instruction &I) { +void V8ISel::visitSetCondInst(SetCondInst &I) { unsigned Op0Reg = getReg (I.getOperand (0)); unsigned Op1Reg = getReg (I.getOperand (1)); unsigned DestReg = getReg (I); diff --git a/lib/Target/SparcV8/InstSelectSimple.cpp b/lib/Target/SparcV8/InstSelectSimple.cpp index 91fb2cb09db..3ad9aa70bb3 100644 --- a/lib/Target/SparcV8/InstSelectSimple.cpp +++ b/lib/Target/SparcV8/InstSelectSimple.cpp @@ -75,7 +75,7 @@ namespace { void visitBinaryOperator(Instruction &I); void visitShiftInst (ShiftInst &SI) { visitBinaryOperator (SI); } - void visitSetCondInst(Instruction &I); + void visitSetCondInst(SetCondInst &I); void visitCallInst(CallInst &I); void visitReturnInst(ReturnInst &I); void visitBranchInst(BranchInst &I); @@ -924,7 +924,7 @@ void V8ISel::visitBinaryOperator (Instruction &I) { } } -void V8ISel::visitSetCondInst(Instruction &I) { +void V8ISel::visitSetCondInst(SetCondInst &I) { unsigned Op0Reg = getReg (I.getOperand (0)); unsigned Op1Reg = getReg (I.getOperand (1)); unsigned DestReg = getReg (I); diff --git a/lib/Target/SparcV8/SparcV8ISelSimple.cpp b/lib/Target/SparcV8/SparcV8ISelSimple.cpp index 91fb2cb09db..3ad9aa70bb3 100644 --- a/lib/Target/SparcV8/SparcV8ISelSimple.cpp +++ b/lib/Target/SparcV8/SparcV8ISelSimple.cpp @@ -75,7 +75,7 @@ namespace { void visitBinaryOperator(Instruction &I); void visitShiftInst (ShiftInst &SI) { visitBinaryOperator (SI); } - void visitSetCondInst(Instruction &I); + void visitSetCondInst(SetCondInst &I); void visitCallInst(CallInst &I); void visitReturnInst(ReturnInst &I); void visitBranchInst(BranchInst &I); @@ -924,7 +924,7 @@ void V8ISel::visitBinaryOperator (Instruction &I) { } } -void V8ISel::visitSetCondInst(Instruction &I) { +void V8ISel::visitSetCondInst(SetCondInst &I) { unsigned Op0Reg = getReg (I.getOperand (0)); unsigned Op1Reg = getReg (I.getOperand (1)); unsigned DestReg = getReg (I);