This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Use canonical move instruction in RISCVAsmPrinter::EmitHwasanMemaccessSymbols.
ClosedPublic

Authored by craig.topper on Jan 18 2023, 10:40 AM.

Details

Summary

We were using an OR with X0 which is the canonical move for AArch64.
The canonical move for RISC-V is ADDI reg1, reg2, 0.

Diff Detail

Event Timeline

craig.topper created this revision.Jan 18 2023, 10:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 18 2023, 10:40 AM
craig.topper requested review of this revision.Jan 18 2023, 10:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 18 2023, 10:40 AM
reames accepted this revision.Jan 18 2023, 10:42 AM

LGTM

This revision is now accepted and ready to land.Jan 18 2023, 10:42 AM
This revision was landed with ongoing or failed builds.Jan 18 2023, 11:44 AM
This revision was automatically updated to reflect the committed changes.