mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 00:47:07 +00: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