mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[NFC] Prefer (void) to LLVM_ATTRIBUTE_UNUSED for unused var in GlobalISElemitter.cpp.
Reviewers: dsanders, craig.topper Reviewed By: dsanders Subscribers: rovka, kristof.beyls, llvm-commits Differential Revision: https://reviews.llvm.org/D48534 llvm-svn: 335581
This commit is contained in:
parent
df8cb658c8
commit
35344b129a
@ -4110,8 +4110,8 @@ void GlobalISelEmitter::emitMIPredicateFns(raw_ostream &OS) {
|
||||
return emitCxxPredicateFns(
|
||||
OS, "GISelPredicateCode", "MI", "const MachineInstr &", "MI",
|
||||
" const MachineFunction &MF = *MI.getParent()->getParent();\n"
|
||||
" const LLVM_ATTRIBUTE_UNUSED MachineRegisterInfo &MRI = "
|
||||
"MF.getRegInfo();",
|
||||
" const MachineRegisterInfo &MRI = MF.getRegInfo();\n"
|
||||
" (void)MRI;",
|
||||
[](const Record *R) { return true; });
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user