mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[AArch64] Fix -Wunused-but-set-variable in GCC non-debug build
[AArch64] Fix -Wunused-but-set-variable in GCC -DLLVM_ENABLE_ASSERTIONS=off non-debug build. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D98431
This commit is contained in:
parent
1295ae3ffe
commit
fb37b7e70a
@ -884,8 +884,8 @@ static bool selectCopy(MachineInstr &I, const TargetInstrInfo &TII,
|
||||
#ifndef NDEBUG
|
||||
ValidCopy = KnownValid || isValidCopy(I, DstRegBank, MRI, TRI, RBI);
|
||||
assert(ValidCopy && "Invalid copy.");
|
||||
(void)KnownValid;
|
||||
#endif
|
||||
(void)KnownValid;
|
||||
return ValidCopy;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user