diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-07 11:14:44 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-07 11:14:44 +0000 |
commit | e13a2a3fdeca6153314bb08c1b7161205d39d168 (patch) | |
tree | 4e51dfba341de59356b7c7b375268e6d06f7f95f /lib/Target/R600 | |
parent | 32e0662db3a4b8e78623abd8f5044754fef1cc15 (diff) | |
download | external_llvm-e13a2a3fdeca6153314bb08c1b7161205d39d168.zip external_llvm-e13a2a3fdeca6153314bb08c1b7161205d39d168.tar.gz external_llvm-e13a2a3fdeca6153314bb08c1b7161205d39d168.tar.bz2 |
R600/SIISelLowering.cpp: Suppress a warning. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600')
-rw-r--r-- | lib/Target/R600/SIISelLowering.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/R600/SIISelLowering.cpp b/lib/Target/R600/SIISelLowering.cpp index cd6e0e9..4c672ca 100644 --- a/lib/Target/R600/SIISelLowering.cpp +++ b/lib/Target/R600/SIISelLowering.cpp @@ -327,9 +327,8 @@ SDValue SITargetLowering::LowerBRCOND(SDValue BRCOND, // As long as we negate the condition everything is fine SDNode *SetCC = Intr; assert(SetCC->getConstantOperandVal(1) == 1); - - CondCodeSDNode *CC = cast<CondCodeSDNode>(SetCC->getOperand(2).getNode()); - assert(CC->get() == ISD::SETNE); + assert(cast<CondCodeSDNode>(SetCC->getOperand(2).getNode())->get() == + ISD::SETNE); Intr = SetCC->getOperand(0).getNode(); } else { |