diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-04-15 05:33:43 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-04-15 05:33:43 +0000 |
commit | 8a81df1b7fe2e8c3386c24ef6a4e9cf48cb5f2f1 (patch) | |
tree | b0256d5ad8f5aafc14db12436ba068d4dbab5a36 /lib/Target | |
parent | 8c67cf44c55a05b58f714bc353452c432baebb98 (diff) | |
download | external_llvm-8a81df1b7fe2e8c3386c24ef6a4e9cf48cb5f2f1.zip external_llvm-8a81df1b7fe2e8c3386c24ef6a4e9cf48cb5f2f1.tar.gz external_llvm-8a81df1b7fe2e8c3386c24ef6a4e9cf48cb5f2f1.tar.bz2 |
HexagonCopyToCombine.cpp: Silence two warnings, -Wunused-variable, with -Asserts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/Hexagon/HexagonCopyToCombine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Hexagon/HexagonCopyToCombine.cpp b/lib/Target/Hexagon/HexagonCopyToCombine.cpp index 516b54e..e93d278 100644 --- a/lib/Target/Hexagon/HexagonCopyToCombine.cpp +++ b/lib/Target/Hexagon/HexagonCopyToCombine.cpp @@ -213,6 +213,7 @@ bool HexagonCopyToCombine::isSafeToMoveTogether(MachineInstr *I1, if (KillingInstr) { bool Added = KillingInstr->addRegisterKilled(KilledOperand, TRI, true); assert(Added && "Must successfully update kill flag"); + (void)Added; removeKillInfo(I2, KilledOperand); } DoInsertAtI1 = true; @@ -268,6 +269,7 @@ bool HexagonCopyToCombine::isSafeToMoveTogether(MachineInstr *I1, // the new COMBINE instruction. bool Added = I1->addRegisterKilled(KilledOperand, TRI); assert(Added && "Must successfully update kill flag"); + (void)Added; } DoInsertAtI1 = false; } |