[Hexagon] Avoid an unused variable warning when assertions are off

No functional changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233740 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Simon Atanasyan 2015-03-31 19:43:47 +00:00
parent a9204bb532
commit fcadd6d973

View File

@ -959,6 +959,7 @@ void HexagonExpandCondsets::renameInRange(RegisterRef RO, RegisterRef RN,
bool HexagonExpandCondsets::predicate(MachineInstr *TfrI, bool Cond) {
// TfrI - A2_tfr[tf] Instruction (not A2_tfrsi).
unsigned Opc = TfrI->getOpcode();
(void)Opc;
assert(Opc == Hexagon::A2_tfrt || Opc == Hexagon::A2_tfrf);
DEBUG(dbgs() << "\nattempt to predicate if-" << (Cond ? "true" : "false")
<< ": " << *TfrI);