diff options
author | Pete Cooper <peter_cooper@apple.com> | 2015-07-15 01:31:26 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2015-07-15 01:31:26 +0000 |
commit | 6923461a163d8c094bef4ea9ce2b8b9a82ec2140 (patch) | |
tree | 2db6a335ec8423a973e563aba44ff3591450f329 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | |
parent | a8127d8c928dfab4509c7208566afef293eec7b4 (diff) | |
download | bcm5719-llvm-6923461a163d8c094bef4ea9ce2b8b9a82ec2140.tar.gz bcm5719-llvm-6923461a163d8c094bef4ea9ce2b8b9a82ec2140.zip |
Use enum instead of unsigned. NFC.
The unsigned opcode argument here was the result of BinaryOperator->getOpcode().
That returns a BinaryOps enum which is more accurate than passing around an
unsigned.
llvm-svn: 242265
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h index 700675453fe..1b8cd5bb585 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h @@ -692,7 +692,8 @@ public: void FindMergedConditions(const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, MachineBasicBlock *CurBB, - MachineBasicBlock *SwitchBB, unsigned Opc, + MachineBasicBlock *SwitchBB, + Instruction::BinaryOps Opc, uint32_t TW, uint32_t FW); void EmitBranchForMergedCondition(const Value *Cond, MachineBasicBlock *TBB, MachineBasicBlock *FBB, |