[llvm] 0acf4e5 - [NFC] Fix unused warning.

Kadir Cetinkaya via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 14 00:09:32 PDT 2021


Author: Bogdan Graur
Date: 2021-04-14T09:09:20+02:00
New Revision: 0acf4e500529447ba34b8d9152630c8535d17949

URL: https://github.com/llvm/llvm-project/commit/0acf4e500529447ba34b8d9152630c8535d17949
DIFF: https://github.com/llvm/llvm-project/commit/0acf4e500529447ba34b8d9152630c8535d17949.diff

LOG: [NFC] Fix unused warning.

Differential Revision: https://reviews.llvm.org/D100449

Added: 
    

Modified: 
    llvm/lib/Target/X86/X86TileConfig.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/X86/X86TileConfig.cpp b/llvm/lib/Target/X86/X86TileConfig.cpp
index 44b741885b1f..d5e6e33e4ace 100644
--- a/llvm/lib/Target/X86/X86TileConfig.cpp
+++ b/llvm/lib/Target/X86/X86TileConfig.cpp
@@ -151,6 +151,7 @@ bool X86TileConfig::runOnMachineFunction(MachineFunction &MF) {
       // 55     tile7.rows Tile 7 rows.
       // 56-63  reserved, must be zero
       int ImmCount = 0;
+      (void)ImmCount;
       int Offset = IsRow ? 48 + I : 16 + I * 2;
       for (auto &DefMI : MRI.def_instructions(R)) {
         MachineBasicBlock &MBB = *DefMI.getParent();


        


More information about the llvm-commits mailing list