[PATCH] D77135: Provide operand indices to adjustSchedDependency
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 31 07:09:33 PDT 2020
foad added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/TargetSubtargetInfo.h:229-230
// dependency.
- virtual void adjustSchedDependency(SUnit *def, SUnit *use, SDep &dep) const {}
+ virtual void adjustSchedDependency(SUnit *Def, int DefOpIdx, SUnit *Use,
+ int UseOpIdx, SDep &Dep) const {}
----------------
Why `int`? `unsigned` would be more usual.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77135/new/
https://reviews.llvm.org/D77135
More information about the llvm-commits
mailing list