[Mlir-commits] [mlir] [mlir] Migrate away from a soft-deprecated constructor of APInt (NFC) (PR #166128)

Jakub Kuderski llvmlistbot at llvm.org
Mon Nov 3 06:42:39 PST 2025


================
@@ -407,8 +407,8 @@ Parser::parseFloatFromIntegerLiteral(std::optional<APFloat> &result,
                      "hexadecimal float constant out of range for type");
   }
 
-  APInt truncatedValue(typeSizeInBits, intValue.getNumWords(),
-                       intValue.getRawData());
+  APInt truncatedValue(typeSizeInBits, llvm::ArrayRef(intValue.getRawData(),
----------------
kuhar wrote:

do we need the `llvm::` prefix?

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


More information about the Mlir-commits mailing list