This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Silence an unused variable warning in release builds [NFC]
ClosedPublic

Authored by mgrang on Nov 9 2017, 4:34 PM.

Details

Summary

Also minor cleanups:

  1. Avoided multiple calls to Fixup.getKind()
  2. Avoided multiple calls to getFixupKindInfo()
  3. Removed a redundant return.

Diff Detail

Repository
rL LLVM

Event Timeline

mgrang created this revision.Nov 9 2017, 4:34 PM
mgrang updated this revision to Diff 122364.Nov 9 2017, 4:37 PM

Removed another redundant return in RISCVRegisterInfo.cpp.

asb accepted this revision.Nov 9 2017, 11:45 PM

Looks good to me, thanks! Please go ahead and commit.

This revision is now accepted and ready to land.Nov 9 2017, 11:45 PM
This revision was automatically updated to reflect the committed changes.