Page MenuHomePhabricator

[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
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.

Diff Detail

Unit TestsFailed

TimeTest
4,090 msx64 debian > Clang.Driver::clang-offload-bundler.c
Script: -- : 'RUN: at line 7'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/clang -O0 -target x86_64-unknown-linux-gnu /var/lib/buildkite-agent/builds/llvm-project/clang/test/Driver/clang-offload-bundler.c -E -o /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/test/Driver/Output/clang-offload-bundler.c.tmp.i