This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] emit .option directive when generate assembly file
AbandonedPublic

Authored by StephenFan on Mar 1 2022, 1:03 AM.

Details

Summary

This patch add .option norvc, .option nopic and .option norelax directive when generate assembly file

Diff Detail

Event Timeline

StephenFan created this revision.Mar 1 2022, 1:03 AM
StephenFan requested review of this revision.Mar 1 2022, 1:03 AM
StephenFan updated this revision to Diff 412001.Mar 1 2022, 1:10 AM

add test file

jrtc27 added a comment.Mar 1 2022, 4:13 AM

We already rejected this in the past. They’re unnecessary if you don’t bogusly drop flags when assembling.

StephenFan abandoned this revision.Mar 1 2022, 7:07 AM