[PATCH] D113484: [fir] Add fir.select_case conversion
Valentin Clement via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 11 00:14:45 PST 2021
clementval added inline comments.
================
Comment at: flang/lib/Optimizer/CodeGen/CodeGen.cpp:378
+ mlir::Value selector = caseOp.getSelector(adaptor.getOperands());
+ auto loc = caseOp.getLoc();
+ assert(conds > 0 && "fir.selectcase must have cases");
----------------
kiranchandramohan wrote:
> No change requested: Would using this same location for branches of individual cases be correct?
Not sure what do mean here. We are using the same location right now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113484/new/
https://reviews.llvm.org/D113484
More information about the llvm-commits
mailing list