[llvm] [RISCV] Remove stale comment from test. NFC (PR #81098)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 00:23:40 PST 2024


================
@@ -15812,7 +15812,8 @@ SDValue RISCVTargetLowering::PerformDAGCombine(SDNode *N,
           MGN->getMemOperand(), IndexType, MGN->getExtensionType());
 
     if (Index.getOpcode() == ISD::BUILD_VECTOR &&
-        MGN->getExtensionType() == ISD::NON_EXTLOAD) {
+        MGN->getExtensionType() == ISD::NON_EXTLOAD &&
+        isTypeLegal(VT)) {
----------------
lukel97 wrote:

I think this is accidentally from https://github.com/llvm/llvm-project/issues/81088#issuecomment-1933416755

https://github.com/llvm/llvm-project/pull/81098


More information about the llvm-commits mailing list