This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add some tests showing vsetvli cleanup opportunities
ClosedPublic

Authored by frasercrmck on Apr 1 2021, 3:44 AM.

Diff Detail

Event Timeline

frasercrmck created this revision.Apr 1 2021, 3:44 AM
frasercrmck requested review of this revision.Apr 1 2021, 3:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2021, 3:44 AM

This came up in testing. I'm not planning on fixing this immediately, so I thought I'd put them up in case they inspire anyone. I can take a look in the next few weeks.

This came up in testing. I'm not planning on fixing this immediately, so I thought I'd put them up in case they inspire anyone. I can take a look in the next few weeks.

Okay, that said, it doesn't look like a big job so I'm sure I can find the time.

  • add another case where a redundant vsetvli hasn't got a dead output
This revision is now accepted and ready to land.Apr 1 2021, 2:12 PM