This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] [NFC] Delete duplicate judgments in InsertVSETVLI
AbandonedPublic

Authored by Chenbing.Zheng on Jan 7 2022, 12:40 AM.

Details

Summary

Delete duplicate judgments and move a scene into hasCompatibleVTYPE.

Diff Detail

Event Timeline

Chenbing.Zheng created this revision.Jan 7 2022, 12:40 AM
Chenbing.Zheng requested review of this revision.Jan 7 2022, 12:40 AM
Chenbing.Zheng retitled this revision from [RISCV] Delete duplicate judgments in InsertVSETVLI to [RISCV] [NFC] Delete duplicate judgments in InsertVSETVLI.Jan 7 2022, 12:52 AM

There are 3 callers of hasCompatibleVTYPE. This code previously existed in one of them. Moving it affects the other 2 callers. Is this patch really NFC?

Chenbing.Zheng abandoned this revision.Jan 8 2022, 3:56 AM

There are 3 callers of hasCompatibleVTYPE. This code previously existed in one of them. Moving it affects the other 2 callers. Is this patch really NFC?

It is my mistake, I will think more about it.