This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add RV64Zbs invalid tests
ClosedPublic

Authored by Pretty-box on Apr 25 2022, 7:06 PM.

Details

Summary

The reason why this test file is added is because rv32zbs-invalid.s file already exists, but rv64zbs-invalid.s file is missing.

Diff Detail

Event Timeline

Pretty-box created this revision.Apr 25 2022, 7:06 PM
Pretty-box requested review of this revision.Apr 25 2022, 7:06 PM
craig.topper added inline comments.Apr 25 2022, 7:22 PM
llvm/test/MC/RISCV/rv64zbs-invalid.s
1

Can you test with riscv32 as well? The immediate ranges are different.

Pretty-box added inline comments.Apr 25 2022, 7:28 PM
llvm/test/MC/RISCV/rv64zbs-invalid.s
1

rv32zbs-invalid.s file already exists, but rv64zbs-invalid.s file is missing

craig.topper accepted this revision.Apr 26 2022, 8:26 AM

LGTM

llvm/test/MC/RISCV/rv64zbs-invalid.s
1

Thanks. That would have been good information to put in the patch description.

This revision is now accepted and ready to land.Apr 26 2022, 8:26 AM
asb accepted this revision.Apr 26 2022, 8:29 AM
Pretty-box edited the summary of this revision. (Show Details)Apr 26 2022, 6:33 PM
This revision was landed with ongoing or failed builds.Apr 26 2022, 6:42 PM
This revision was automatically updated to reflect the committed changes.