[RISCV] Fix mistake in comment. NFC
authorCraig Topper <craig.topper@sifive.com>
Sat, 11 Feb 2023 20:30:32 +0000 (12:30 -0800)
committerCraig Topper <craig.topper@sifive.com>
Sat, 11 Feb 2023 20:32:54 +0000 (12:32 -0800)
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp

index 82a3458..e48c1a7 100644 (file)
@@ -830,7 +830,7 @@ void RISCVDAGToDAGISel::Select(SDNode *Node) {
       return;
     }
 
-    // Only do the remaining transforms if the shift has one use.
+    // Only do the remaining transforms if the AND has one use.
     if (!N0.hasOneUse())
       break;