[llvm] [llvm] Migrate away from PointerUnion::{is, get, dyn_cast} (NFC) (PR #115626)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 9 22:40:50 PST 2024


================
@@ -1052,9 +1052,9 @@ class AssignmentTrackingLowering {
       if (Source.isNull())
         OS << "null";
       else if (isa<DbgAssignIntrinsic *>(Source))
----------------
tschuett wrote:

shouldn't these use dyn_cast? It is isa + cast.

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


More information about the llvm-commits mailing list