[PATCH] D48607: AMDGPU: Silence unused warnings in waitcnt insertion pass in release build
Konstantin Zhuravlyov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 26 14:38:20 PDT 2018
This revision was automatically updated to reflect the committed changes.
kzhuravl marked an inline comment as done.
Closed by commit rL335669: AMDGPU: Silence unused warnings in waitcnt insertion pass in release build (authored by kzhuravl, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D48607?vs=152959&id=152964#toc
Repository:
rL LLVM
https://reviews.llvm.org/D48607
Files:
llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
Index: llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+++ llvm/trunk/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
@@ -393,7 +393,11 @@
public:
static char ID;
- SIInsertWaitcnts() : MachineFunctionPass(ID) {}
+ SIInsertWaitcnts() : MachineFunctionPass(ID) {
+ (void)ForceExpCounter;
+ (void)ForceLgkmCounter;
+ (void)ForceVMCounter;
+ }
bool runOnMachineFunction(MachineFunction &MF) override;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48607.152964.patch
Type: text/x-patch
Size: 538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180626/b2739ca4/attachment.bin>
More information about the llvm-commits
mailing list