[PATCH] D142911: [RISCV] Peak through BITCAST in isUsedByReturnOnly

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 11:04:49 PST 2023


jrtc27 added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:13265-13269
   SDNode *Copy = *N->use_begin();
+  
+  if (Copy->getOpcode() == ISD::BITCAST) {
+    return isUsedByReturnOnly(Copy, Chain);
+  }
----------------
jrtc27 wrote:
> 
Never mind, that goes the wrong way...


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