[PATCH] D91331: [NFC] Add hook for target to customize different legalization action according to the input type
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 12 04:28:22 PST 2020
RKSimon added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/TargetLowering.h:1058
+ /// target. If not, the operation is illegal.
+ virtual bool isSupportedOperation(unsigned Op, EVT SrcVT, EVT DestVT) const {
+ return true;
----------------
Maybe limit the scope to something like isSupportedCastOperation?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91331/new/
https://reviews.llvm.org/D91331
More information about the llvm-commits
mailing list