If an MI will not generate a target instruction, we should not compute its latency. Then we can compute more precise instruction sequence cost, and get better result.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D129615
[MachineCombiner] Don't compute the latency of transient instructions ClosedPublic Authored by Carrot on Jul 12 2022, 6:40 PM.
Details Summary If an MI will not generate a target instruction, we should not compute its latency. Then we can compute more precise instruction sequence cost, and get better result.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 13 2022, 12:38 AM This revision was landed with ongoing or failed builds.Jul 14 2022, 10:09 AM Closed by commit rG2f11b3a6d7b8: [MachineCombiner] Don't compute the latency of transient instructions (authored by Carrot). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 444705 llvm/lib/CodeGen/MachineCombiner.cpp
llvm/test/CodeGen/AArch64/aarch64-combine-fmul-fsub.mir
llvm/test/CodeGen/AArch64/machine-combiner-transient.ll
llvm/test/CodeGen/AArch64/neon-mla-mls.ll
llvm/test/CodeGen/X86/machine-combiner-int-vec.ll
llvm/test/CodeGen/X86/machine-combiner-int.ll
|