Page MenuHomePhabricator

[PowerPC] Enable track-subreg-liveness by default
Needs ReviewPublic

Authored by qiucf on Aug 29 2021, 7:31 PM.

Details

Reviewers
nemanjai
shchenz
lkail
stefanp
jsji
Group Reviewers
Restricted Project
Summary

Enabling this option helps some MMA related cases to reduce unnecessary copies.

For ppc64-acc-regalloc-bugfix.ll, enabling this option causes failure. D108691 tries to fix it.

For pr45709.ll, the function has attribute optnone, the extra dead lfs` was not moved to the bottom block. Dead machine instruction eliminator removes it when optnone disabled.

Diff Detail

Unit TestsFailed

TimeTest
40 msx64 debian > LLVM.CodeGen/PowerPC::ldst-16-byte.mir
Script: -- : 'RUN: at line 2'; /var/lib/buildkite-agent/builds/llvm-project/build/bin/llc -simplify-mir -verify-machineinstrs -mtriple=powerpc64-ibm-aix-xcoff -stop-after=postrapseudos /var/lib/buildkite-agent/builds/llvm-project/llvm/test/CodeGen/PowerPC/ldst-16-byte.mir -o - | /var/lib/buildkite-agent/builds/llvm-project/build/bin/FileCheck /var/lib/buildkite-agent/builds/llvm-project/llvm/test/CodeGen/PowerPC/ldst-16-byte.mir
60 msx64 windows > LLVM.CodeGen/PowerPC::ldst-16-byte.mir
Script: -- : 'RUN: at line 2'; c:\ws\w2\llvm-project\premerge-checks\build\bin\llc.exe -simplify-mir -verify-machineinstrs -mtriple=powerpc64-ibm-aix-xcoff -stop-after=postrapseudos C:\ws\w2\llvm-project\premerge-checks\llvm\test\CodeGen\PowerPC\ldst-16-byte.mir -o - | c:\ws\w2\llvm-project\premerge-checks\build\bin\filecheck.exe C:\ws\w2\llvm-project\premerge-checks\llvm\test\CodeGen\PowerPC\ldst-16-byte.mir

Event Timeline

qiucf created this revision.Aug 29 2021, 7:31 PM
qiucf requested review of this revision.Aug 29 2021, 7:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 29 2021, 7:31 PM
jsji resigned from this revision.Jun 2 2022, 7:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2022, 7:48 AM