[llvm] 6acc50a - Fix typo in computeKnownBits_AVGFLOORU_AVGFLOORS_AVGCEILU_AVGCEILS.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 03:57:41 PDT 2024


Author: Simon Pilgrim
Date: 2024-04-15T11:57:24+01:00
New Revision: 6acc50ae5b5971af563a0f40b5f0279870171541

URL: https://github.com/llvm/llvm-project/commit/6acc50ae5b5971af563a0f40b5f0279870171541
DIFF: https://github.com/llvm/llvm-project/commit/6acc50ae5b5971af563a0f40b5f0279870171541.diff

LOG: Fix typo in computeKnownBits_AVGFLOORU_AVGFLOORS_AVGCEILU_AVGCEILS.

ISD::AVGFLOORU -> ISD::AVGFLOORS

Added: 
    

Modified: 
    llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp b/llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp
index 27bcad7c24c4db..e498a2f60bad35 100644
--- a/llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp
+++ b/llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp
@@ -826,7 +826,7 @@ TEST_F(AArch64SelectionDAGTest,
   EXPECT_EQ(KnownAVGFLOORU.One, Ones);
 
   SDValue AVGFLOORS =
-      DAG->getNode(ISD::AVGFLOORU, Loc, Int16Vec8VT, ZextOp0, ZextOp1);
+      DAG->getNode(ISD::AVGFLOORS, Loc, Int16Vec8VT, ZextOp0, ZextOp1);
   KnownBits KnownAVGFLOORS = DAG->computeKnownBits(AVGFLOORS);
   EXPECT_EQ(KnownAVGFLOORS.Zero, Zeroes);
   EXPECT_EQ(KnownAVGFLOORS.One, Ones);


        


More information about the llvm-commits mailing list