[Mlir-commits] [mlir] [DataFlow] Migrate away from PointerUnion::{is, get} (NFC) (PR #119950)

Kazu Hirata llvmlistbot at llvm.org
Sat Dec 14 09:23:29 PST 2024


================
@@ -155,9 +155,9 @@ void IntegerRangeAnalysis::visitNonControlFlowArguments(
                                   Type boundType, bool getUpper) {
     unsigned int width = ConstantIntRanges::getStorageBitwidth(boundType);
     if (loopBound.has_value()) {
-      if (loopBound->is<Attribute>()) {
+      if (isa<Attribute>(*loopBound)) {
----------------
kazutakahirata wrote:

Thank you for pointing this out!  Fixed.

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


More information about the Mlir-commits mailing list