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

No functional changes.

llvm-svn: 233740
This commit is contained in:
Simon Atanasyan 2015-03-31 19:43:47 +00:00
parent 73ee010d2d
commit 772944ad3d
1 changed files with 1 additions and 0 deletions

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);