[PATCH] D155785: [AMDGPU] [NFC] Fixed a typo in SIShrinkInstructions.cpp

Pranav Taneja via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 23:43:46 PDT 2023


tanejapranav created this revision.
tanejapranav added a reviewer: pravinjagtap.
Herald added subscribers: foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
tanejapranav requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155785

Files:
  llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp


Index: llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
+++ llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
@@ -476,7 +476,7 @@
   }
 }
 
-/// Attempt to shink AND/OR/XOR operations requiring non-inlineable literals.
+/// Attempt to shrink AND/OR/XOR operations requiring non-inlineable literals.
 /// For AND or OR, try using S_BITSET{0,1} to clear or set bits.
 /// If the inverse of the immediate is legal, use ANDN2, ORN2 or
 /// XNOR (as a ^ b == ~(a ^ ~b)).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155785.542320.patch
Type: text/x-patch
Size: 583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230720/b696b956/attachment.bin>


More information about the llvm-commits mailing list