mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-23 04:01:16 +00:00
[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:
parent
a9204bb532
commit
fcadd6d973
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user