[PATCH] D142911: [RISCV] Peak through BITCAST in isUsedByReturnOnly
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 10:52:04 PST 2023
jrtc27 added a comment.
s/Peak/Peek/ in the title
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:13265-13269
SDNode *Copy = *N->use_begin();
+
+ if (Copy->getOpcode() == ISD::BITCAST) {
+ return isUsedByReturnOnly(Copy, Chain);
+ }
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142911/new/
https://reviews.llvm.org/D142911
More information about the llvm-commits
mailing list