File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lib/bef_converter/mlir_to_bef Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1616
1717#include " bef_location_emitter.h"
1818
19+ #include " llvm/Support/Casting.h"
1920#include " mlir/IR/Location.h"
2021#include " mlir/IR/Operation.h"
2122#include " mlir/IR/OperationSupport.h"
2425namespace tfrt {
2526
2627bool BefLocationEmitter::IsSupportedLocation (const mlir::Location& loc) {
27- if (loc. isa <mlir::UnknownLoc>()) return true ;
28- if (loc. isa <mlir::NameLoc>()) return true ;
29- if (loc. isa <mlir::FileLineColLoc>()) return true ;
28+ if (llvm:: isa<mlir::UnknownLoc>(loc )) return true ;
29+ if (llvm:: isa<mlir::NameLoc>(loc )) return true ;
30+ if (llvm:: isa<mlir::FileLineColLoc>(loc )) return true ;
3031 if (auto callsite_loc = loc.dyn_cast <mlir::CallSiteLoc>()) {
3132 return IsSupportedLocation (callsite_loc.getCallee ()) &&
3233 IsSupportedLocation (callsite_loc.getCaller ());
You can’t perform that action at this time.
0 commit comments