Page MenuHomePhabricator

[RegAllocFast] Clean-up. Remove redundant operations. NFC.
Needs ReviewPublic

Authored by skatkov on Sep 2 2021, 11:21 PM.

Details

Diff Detail

Unit TestsFailed

TimeTest
10 msx64 windows > Clang.CodeGen/aarch64-sve-intrinsics::acle_sve_st1b.c
shell parser error on: ": 'RUN: at line 3'; c:\\ws\\w3\\llvm-project\\premerge-checks\\build\\bin\\clang.exe -cc1 -internal-isystem c:\\ws\\w3\\llvm-project\\premerge-checks\\build\\lib\\clang\\14.0.0\\include -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -o - -emit-llvm C:\\ws\\w3\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1b.c |& c:\\ws\\w3\\llvm-project\\premerge-checks\\build\\bin\\filecheck.exe C:\\ws\\w3\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1b.c"
0 msx64 windows > Clang.CodeGen/aarch64-sve-intrinsics::acle_sve_st1h.c
shell parser error on: ": 'RUN: at line 3'; c:\\ws\\w3\\llvm-project\\premerge-checks\\build\\bin\\clang.exe -cc1 -internal-isystem c:\\ws\\w3\\llvm-project\\premerge-checks\\build\\lib\\clang\\14.0.0\\include -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -o - -emit-llvm C:\\ws\\w3\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1h.c |& c:\\ws\\w3\\llvm-project\\premerge-checks\\build\\bin\\filecheck.exe C:\\ws\\w3\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1h.c"
0 msx64 windows > Clang.CodeGen/aarch64-sve-intrinsics::acle_sve_st1w.c
shell parser error on: ": 'RUN: at line 3'; c:\\ws\\w3\\llvm-project\\premerge-checks\\build\\bin\\clang.exe -cc1 -internal-isystem c:\\ws\\w3\\llvm-project\\premerge-checks\\build\\lib\\clang\\14.0.0\\include -nostdsysteminc -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -o - -emit-llvm C:\\ws\\w3\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1w.c |& c:\\ws\\w3\\llvm-project\\premerge-checks\\build\\bin\\filecheck.exe C:\\ws\\w3\\llvm-project\\premerge-checks\\clang\\test\\CodeGen\\aarch64-sve-intrinsics\\acle_sve_st1w.c"

Event Timeline

skatkov created this revision.Sep 2 2021, 11:21 PM
skatkov requested review of this revision.Sep 2 2021, 11:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 2 2021, 11:21 PM
Herald added a subscriber: wdng. · View Herald Transcript
skatkov retitled this revision from [RegAllocFast] Clean-up. Removbe redundant operations. NFC. to [RegAllocFast] Clean-up. Remove redundant operations. NFC..Sep 2 2021, 11:21 PM
skatkov added inline comments.Sep 2 2021, 11:24 PM
llvm/lib/CodeGen/RegAllocFast.cpp
1266

EarlyClobber's sub regs will be handled here, so no need to do the same while we are processing EarlyClobbers at the end.

1312

We checked the condition here.

skatkov updated this revision to Diff 370490.Sep 3 2021, 12:10 AM
reames resigned from this revision.Nov 30 2021, 9:55 AM