Use target dependent isAsCheapAsAMove in TargetInstrInfo
instead of the default implementation in MachineInstr.
Details
Details
- Reviewers
lkail anton-afanasyev
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I haven't found any cases, but I think it's obvious we should use the target dependent one.
The default implementation of TargetInstrInfo.isAsCheapAsAMove is just a call to MachineInstr.isAsCheapAsAMove, but targets for different archs may override it.