So that MCP won't delete any copy instructions where a register is
set that is intended to be live-out, since MCP assumes that all the
defs are live-out conservatively.
This is a fix for D146037.
Paths
| Differential D146192
[RISCV] Add an empty block after outlined MBB AbandonedPublic Authored by • pcwang-thead on Mar 15 2023, 9:06 PM.
Details
Summary So that MCP won't delete any copy instructions where a register is This is a fix for D146037.
Diff Detail
Unit TestsFailed
Revision Contents
Diff 505697 llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/O3-pipeline.ll
llvm/test/CodeGen/RISCV/machine-outliner-and-machine-copy-propagation.ll
|