This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add more tests in zdinx-boundary-check.ll

Authored by sunshaoce on May 25 2023, 9:57 PM.

Diff Detail

Event Timeline

sunshaoce created this revision.May 25 2023, 9:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2023, 9:57 PM
sunshaoce requested review of this revision.May 25 2023, 9:57 PM
craig.topper requested changes to this revision.May 25 2023, 10:03 PM

This isn't a test for constant pool. Constant pools are generated by when you reference floating point literal in an instruction like fadd %a, 1.0. They are named with symbols containing LCP in assembly.

This revision now requires changes to proceed.May 25 2023, 10:03 PM

Add tests for constant pool

These aren't using floating-point constant pools on RV32. Also use nounwind to drop the CFI noise.

Address comments

This revision is now accepted and ready to land.May 29 2023, 8:11 PM
This revision was automatically updated to reflect the committed changes.