[PATCH] D100449: [NFC] Fix unused warning.

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


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0acf4e500529: [NFC] Fix unused warning. (authored by bgraur, committed by kadircet).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100449/new/

https://reviews.llvm.org/D100449

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


Index: llvm/lib/Target/X86/X86TileConfig.cpp
===================================================================
--- llvm/lib/Target/X86/X86TileConfig.cpp
+++ llvm/lib/Target/X86/X86TileConfig.cpp
@@ -151,6 +151,7 @@
       // 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();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100449.337352.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210414/8629c3a7/attachment.bin>


More information about the llvm-commits mailing list