[mlir] Update Location to use new casting infra
This allows for using the llvm namespace cast methods instead of the ones on the Location class. The Location class method are kept for now, but we'll want to remove these eventually (with a really long lead time). Related change: https://reviews.llvm.org/D135870 Differential Revision: https://reviews.llvm.org/D136520
Loading
Please sign in to comment