[PATCH] D114371: [Flang] Replace notifyMatchFailure with TODO hard failures
Valentin Clement via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 23 00:58:13 PST 2021
clementval added inline comments.
================
Comment at: flang/lib/Optimizer/CodeGen/CodeGen.cpp:1169
mlir::ConversionPatternRewriter &rewriter) const override {
- return rewriter.notifyMatchFailure(
- select, "fir.select_type codegen is not implemented yet");
+ TODO(select.getLoc(), "fir.select_type codegen");
+ return failure();
----------------
This one is actually not a TODO. This high level op is not likely to have a codegen to LLVM IR. It will be converted before to lower level ops.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114371/new/
https://reviews.llvm.org/D114371
More information about the llvm-commits
mailing list