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

Bogdan Graur via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 14 00:04:09 PDT 2021


bgraur created this revision.
Herald added subscribers: pengfei, hiraditya.
bgraur requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

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.337349.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210414/2b8f6cd5/attachment.bin>


More information about the llvm-commits mailing list