[llvm] [MC][RISCV] Check hasEmitNops before call shouldInsertExtraNopBytesForCodeAlign (PR #77236)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 7 11:14:22 PST 2024


================
@@ -0,0 +1,29 @@
+# RUN: llvm-mc --filetype=obj --triple=riscv64 --mattr=+relax %s \
----------------
MaskRay wrote:

Add a file-level comment. You may even link to https://github.com/llvm/llvm-project/pull/76552 to help understanding.

https://github.com/llvm/llvm-project/pull/77236


More information about the llvm-commits mailing list